From 7706e35bbd6c3ac74262dc80811077e2920e8ab7 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 26 Nov 2024 10:26:05 +0100 Subject: [PATCH] feat(core): Add OrderInterceptor API (#3233) Closes #2123 --- .../docs/guides/core-concepts/orders/index.md | 12 + .../admin-ui-api/bulk-actions/bulk-action.md | 82 +- .../detail-component-with-resolver.md | 18 +- .../typed-base-list-component.md | 14 +- .../react-components/form-field.md | 14 +- .../asset-server-options.md | 24 +- .../s3asset-storage-strategy.md | 3 +- .../elasticsearch-options.md | 228 +- .../elasticsearch-plugin/index.md | 2 +- .../harden-plugin/harden-plugin-options.md | 46 +- .../payments-plugin/mollie-plugin.md | 232 +- .../payments-plugin/stripe-plugin.md | 365 +- .../stellate-plugin/purge-rule.md | 18 +- .../docs/reference/graphql-api/admin/enums.md | 1 + .../graphql-api/admin/input-types.md | 14 +- .../reference/graphql-api/admin/mutations.md | 24 + .../graphql-api/admin/object-types.md | 33 +- docs/docs/reference/graphql-api/shop/enums.md | 1 + .../graphql-api/shop/object-types.md | 33 +- .../typescript-api/assets/asset-options.md | 2 +- .../typescript-api/auth/auth-options.md | 2 +- .../typescript-api/auth/cookie-options.md | 2 +- .../auth/superadmin-credentials.md | 2 +- .../typescript-api/common/currency-code.md | 2 +- .../common/entity-relation-paths.md | 2 +- .../typescript-api/common/job-state.md | 2 +- .../typescript-api/common/language-code.md | 2 +- .../typescript-api/common/permission.md | 2 +- .../default-form-config-hash.md | 18 +- .../configuration/api-options.md | 2 +- .../configuration/entity-duplicator.md | 26 +- .../configuration/entity-options.md | 2 +- .../configuration/runtime-vendure-config.md | 2 +- .../configuration/system-options.md | 2 +- .../configuration/vendure-config.md | 2 +- .../typescript-api/custom-fields/index.md | 3 +- .../typescript-api/data-access/calculated.md | 3 +- .../data-access/transactional-connection.md | 96 +- .../default-search-plugin/index.md | 2 +- .../typescript-api/entities/promotion.md | 60 +- .../typescript-api/events/event-types.md | 88 +- .../fulfillment/fulfillment-process.md | 28 +- .../default-asset-import-strategy.md | 10 +- .../import-export/import-export-options.md | 2 +- .../import-export/import-parser.md | 66 +- .../job-queue/job-queue-options.md | 2 +- .../typescript-api/job-queue/types.md | 3 +- .../orders/guest-checkout-strategy.md | 50 +- .../orders/order-interceptor.md | 254 + .../order-item-price-calculation-strategy.md | 3 +- .../typescript-api/orders/order-options.md | 10 +- .../typescript-api/payment/payment-options.md | 2 +- .../products-stock/catalog-options.md | 2 +- .../promotions/promotion-options.md | 2 +- .../request/request-context-service.md | 26 +- .../service-helpers/slug-validator.md | 22 +- .../services/customer-service.md | 50 +- .../services/fulfillment-service.md | 22 +- .../typescript-api/services/order-service.md | 2 +- .../services/payment-method-service.md | 10 +- .../typescript-api/services/user-service.md | 42 +- .../shipping/shipping-options.md | 2 +- .../typescript-api/tax/tax-options.md | 2 +- .../testing/simple-graph-qlclient.md | 45 +- .../lib/core/src/common/generated-types.ts | 85 +- .../core/src/common/introspection-result.ts | 609 +- ...generated-e2e-asset-server-plugin-types.ts | 8762 ++-- packages/common/src/generated-shop-types.ts | 5201 +- packages/common/src/generated-types.ts | 37 +- .../core/e2e/custom-field-struct.e2e-spec.ts | 127 +- .../e2e/graphql/generated-e2e-admin-types.ts | 42621 ++-------------- .../e2e/graphql/generated-e2e-shop-types.ts | 70 +- packages/core/e2e/graphql/shop-definitions.ts | 9 + .../core/e2e/order-interceptor.e2e-spec.ts | 290 + .../api/common/validate-custom-field-value.ts | 2 +- .../src/api/config/graphql-custom-fields.ts | 33 +- .../common/common-error-results.graphql | 9 + .../api/schema/common/common-types.graphql | 3 +- .../error/generated-graphql-admin-errors.ts | 15 +- .../error/generated-graphql-shop-errors.ts | 15 +- packages/core/src/config/config.module.ts | 2 + packages/core/src/config/default-config.ts | 1 + packages/core/src/config/index.ts | 1 + .../src/config/order/order-interceptor.ts | 250 + packages/core/src/config/vendure-config.ts | 12 +- packages/core/src/i18n/messages/en.json | 1 + .../helpers/order-modifier/order-modifier.ts | 18 +- .../src/service/services/order.service.ts | 42 +- .../src/service/services/payment.service.ts | 9 +- .../order-quantity-limits.plugin.ts | 111 + .../example-plugins/product-bundles/README.md | 13 + .../product-bundles/api/api-extensions.ts | 73 + .../api/product-bundle-admin.resolver.ts | 108 + .../api/product-bundle-shop.resolver.ts | 32 + .../config/bundle-order-interceptor.ts | 17 + .../product-bundles/constants.ts | 4 + .../entities/product-bundle-item.entity.ts | 29 + .../entities/product-bundle.entity.ts | 20 + .../product-bundles/product-bundles.plugin.ts | 48 + .../services/product-bundle-item.service.ts | 56 + .../services/product-bundle.service.ts | 160 + .../example-plugins/product-bundles/types.ts | 35 + .../product-bundle-list.component.html | 75 + .../product-bundle-list.component.ts | 93 + .../product-bundles/ui/providers.ts | 13 + .../product-bundles/ui/routes.ts | 10 + ...enerated-e2e-elasticsearch-plugin-types.ts | 9256 ++-- .../e2e/graphql/generated-admin-types.ts | 9361 ++-- .../e2e/graphql/generated-shop-types.ts | 36 +- .../e2e/graphql/shop-queries.ts | 3 + .../mollie/graphql/generated-shop-types.ts | 5303 +- schema-admin.json | 2 +- schema-shop.json | 2 +- 113 files changed, 27610 insertions(+), 57619 deletions(-) create mode 100644 docs/docs/reference/typescript-api/orders/order-interceptor.md create mode 100644 packages/core/e2e/order-interceptor.e2e-spec.ts create mode 100644 packages/core/src/config/order/order-interceptor.ts create mode 100644 packages/dev-server/example-plugins/minimum-order-quantity/order-quantity-limits.plugin.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/README.md create mode 100644 packages/dev-server/example-plugins/product-bundles/api/api-extensions.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/api/product-bundle-admin.resolver.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/api/product-bundle-shop.resolver.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/config/bundle-order-interceptor.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/constants.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/entities/product-bundle-item.entity.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/entities/product-bundle.entity.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/product-bundles.plugin.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/services/product-bundle-item.service.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/services/product-bundle.service.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/types.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/ui/components/product-bundle-list/product-bundle-list.component.html create mode 100644 packages/dev-server/example-plugins/product-bundles/ui/components/product-bundle-list/product-bundle-list.component.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/ui/providers.ts create mode 100644 packages/dev-server/example-plugins/product-bundles/ui/routes.ts diff --git a/docs/docs/guides/core-concepts/orders/index.md b/docs/docs/guides/core-concepts/orders/index.md index 68d9222a18..aadaebdcae 100644 --- a/docs/docs/guides/core-concepts/orders/index.md +++ b/docs/docs/guides/core-concepts/orders/index.md @@ -352,3 +352,15 @@ If you have defined custom order states, the Admin UI will allow you to manually order from one state to another: ![./custom-order-ui.webp](./custom-order-ui.webp) + +## Order Interceptors + +Vendure v3.1 introduces the concept of [Order Interceptors](/reference/typescript-api/orders/order-interceptor/). +These are a way to intercept operations that add, modify or remove order lines. Examples use-cases include: + +* Preventing certain products from being added to the order based on some criteria, e.g. if the product is already in another active order. +* Enforcing a minimum or maximum quantity of a given product in the order +* Using a CAPTCHA to prevent automated order creation + +Check the [Order Interceptor](/reference/typescript-api/orders/order-interceptor/) docs for more information as well as a complete +example of how to implement an interceptor. diff --git a/docs/docs/reference/admin-ui-api/bulk-actions/bulk-action.md b/docs/docs/reference/admin-ui-api/bulk-actions/bulk-action.md index 9a2cc803bb..a4ac56aa98 100644 --- a/docs/docs/reference/admin-ui-api/bulk-actions/bulk-action.md +++ b/docs/docs/reference/admin-ui-api/bulk-actions/bulk-action.md @@ -13,16 +13,16 @@ import MemberDescription from '@site/src/components/MemberDescription'; -Configures a bulk action which can be performed on all selected items in a list view. - +Configures a bulk action which can be performed on all selected items in a list view. + For a full example, see the registerBulkAction docs. ```ts title="Signature" interface BulkAction { location: BulkActionLocationId; label: string; - getTranslationVars?: ( - context: BulkActionFunctionContext, + getTranslationVars?: ( + context: BulkActionFunctionContext, ) => Record | Promise>; icon?: string; iconClass?: string; @@ -46,26 +46,26 @@ interface BulkAction { ### getTranslationVars -BulkActionFunctionContext<ItemType, ComponentType>, ) => Record<string, string | number> | Promise<Record<string, string | number>>`} /> +BulkActionFunctionContext<ItemType, ComponentType>, ) => Record<string, string | number> | Promise<Record<string, string | number>>`} /> -An optional function that should resolve to a map of translation variables which can be +An optional function that should resolve to a map of translation variables which can be used when translating the `label` string. ### icon -A valid [Clarity Icons](https://core.clarity.design/foundation/icons/shapes/) icon shape, e.g. +A valid [Clarity Icons](https://core.clarity.design/foundation/icons/shapes/) icon shape, e.g. "cog", "user", "info-standard". ### iconClass -A class to be added to the icon element. Examples: - -- is-success -- is-danger -- is-warning -- is-info +A class to be added to the icon element. Examples: + +- is-success +- is-danger +- is-warning +- is-info - is-highlight ### onClick @@ -76,10 +76,10 @@ Defines the logic that executes when the bulk action button is clicked. BulkActionFunctionContext<ItemType, ComponentType>) => boolean | Promise<boolean>`} /> -A function that determines whether this bulk action item should be displayed in the menu. -If not defined, the item will always be displayed. - -This function will be invoked each time the selection is changed, so try to avoid expensive code +A function that determines whether this bulk action item should be displayed in the menu. +If not defined, the item will always be displayed. + +This function will be invoked each time the selection is changed, so try to avoid expensive code running here. *Example* @@ -130,25 +130,25 @@ registerBulkAction({ A valid location of a list view that supports the bulk actions API. ```ts title="Signature" -type BulkActionLocationId = | 'product-list' - | 'facet-list' - | 'collection-list' - | 'customer-list' - | 'customer-group-list' - | 'customer-group-members-list' - | 'customer-group-members-picker-list' - | 'promotion-list' - | 'seller-list' - | 'channel-list' - | 'administrator-list' - | 'role-list' - | 'shipping-method-list' - | 'stock-location-list' - | 'payment-method-list' - | 'tax-category-list' - | 'tax-rate-list' - | 'zone-list' - | 'zone-members-list' +type BulkActionLocationId = | 'product-list' + | 'facet-list' + | 'collection-list' + | 'customer-list' + | 'customer-group-list' + | 'customer-group-members-list' + | 'customer-group-members-picker-list' + | 'promotion-list' + | 'seller-list' + | 'channel-list' + | 'administrator-list' + | 'role-list' + | 'shipping-method-list' + | 'stock-location-list' + | 'payment-method-list' + | 'tax-category-list' + | 'tax-rate-list' + | 'zone-list' + | 'zone-members-list' | string ``` @@ -157,7 +157,7 @@ type BulkActionLocationId = | 'product-list' -This is the argument which gets passed to the `getTranslationVars` and `isVisible` functions +This is the argument which gets passed to the `getTranslationVars` and `isVisible` functions of the BulkAction definition. ```ts title="Signature" @@ -180,15 +180,15 @@ An array of the selected items from the list. -The component instance that is hosting the list view. For instance, -`ProductListComponent`. This can be used to call methods on the instance, -e.g. calling `hostComponent.refresh()` to force a list refresh after +The component instance that is hosting the list view. For instance, +`ProductListComponent`. This can be used to call methods on the instance, +e.g. calling `hostComponent.refresh()` to force a list refresh after deleting the selected items. ### injector Injector`} /> -The Angular [Injector](https://angular.io/api/core/Injector) which can be used +The Angular [Injector](https://angular.io/api/core/Injector) which can be used to get service instances which might be needed in the click handler. ### route diff --git a/docs/docs/reference/admin-ui-api/list-detail-views/detail-component-with-resolver.md b/docs/docs/reference/admin-ui-api/list-detail-views/detail-component-with-resolver.md index 9b2272023c..f50fb4fb57 100644 --- a/docs/docs/reference/admin-ui-api/list-detail-views/detail-component-with-resolver.md +++ b/docs/docs/reference/admin-ui-api/list-detail-views/detail-component-with-resolver.md @@ -13,8 +13,8 @@ import MemberDescription from '@site/src/components/MemberDescription'; -A helper function for creating tabs that point to a TypedBaseDetailComponent. This takes -care of the route resolver parts so that the detail component automatically has access to the +A helper function for creating tabs that point to a TypedBaseDetailComponent. This takes +care of the route resolver parts so that the detail component automatically has access to the correct resolved detail data. *Example* @@ -40,17 +40,17 @@ export class ProductSpecsUiExtensionModule {} ``` ```ts title="Signature" -function detailComponentWithResolver, Field extends keyof ResultOf, R extends Field>(config: { - component: Type>; - query: T; - entityKey: R; - getBreadcrumbs?: (entity: ResultOf[R]) => BreadcrumbValue; - variables?: T extends TypedDocumentNode ? Omit : never; +function detailComponentWithResolver, Field extends keyof ResultOf, R extends Field>(config: { + component: Type>; + query: T; + entityKey: R; + getBreadcrumbs?: (entity: ResultOf[R]) => BreadcrumbValue; + variables?: T extends TypedDocumentNode ? Omit : never; }): void ``` Parameters ### config -TypedBaseDetailComponent<T, Field>>; query: T; entityKey: R; getBreadcrumbs?: (entity: ResultOf<T>[R]) => BreadcrumbValue; variables?: T extends TypedDocumentNode<any, infer V> ? Omit<V, 'id'> : never; }`} /> +TypedBaseDetailComponent<T, Field>>; query: T; entityKey: R; getBreadcrumbs?: (entity: ResultOf<T>[R]) => BreadcrumbValue; variables?: T extends TypedDocumentNode<any, infer V> ? Omit<V, 'id'> : never; }`} /> diff --git a/docs/docs/reference/admin-ui-api/list-detail-views/typed-base-list-component.md b/docs/docs/reference/admin-ui-api/list-detail-views/typed-base-list-component.md index ea578de672..895bb5ccac 100644 --- a/docs/docs/reference/admin-ui-api/list-detail-views/typed-base-list-component.md +++ b/docs/docs/reference/admin-ui-api/list-detail-views/typed-base-list-component.md @@ -13,7 +13,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; -A version of the BaseListComponent which is designed to be used with a +A version of the BaseListComponent which is designed to be used with a [TypedDocumentNode](https://the-guild.dev/graphql/codegen/plugins/typescript/typed-document-node). ```ts title="Signature" @@ -27,11 +27,11 @@ class TypedBaseListComponent, Field exten protected dataTableConfigService = inject(DataTableConfigService); protected dataTableListId: string | undefined; constructor() - configure(config: { - document: T; - getItems: (data: ResultOf) => { items: Array, Field>>; totalItems: number }; - setVariables?: (skip: number, take: number) => VariablesOf; - refreshListOnChanges?: Array>; + configure(config: { + document: T; + getItems: (data: ResultOf) => { items: Array, Field>>; totalItems: number }; + setVariables?: (skip: number, take: number) => VariablesOf; + refreshListOnChanges?: Array>; }) => ; ngOnInit() => ; createFilterCollection() => DataTableFilterCollection['filter']>>; @@ -96,7 +96,7 @@ class TypedBaseListComponent, Field exten ### configure - `} /> + `} /> ### ngOnInit diff --git a/docs/docs/reference/admin-ui-api/react-components/form-field.md b/docs/docs/reference/admin-ui-api/react-components/form-field.md index 064d6396c4..49cb467fd1 100644 --- a/docs/docs/reference/admin-ui-api/react-components/form-field.md +++ b/docs/docs/reference/admin-ui-api/react-components/form-field.md @@ -30,17 +30,17 @@ export function MyReactComponent() { ``` ```ts title="Signature" -function FormField(props: PropsWithChildren<{ - for?: string; - label?: string; - tooltip?: string; - invalid?: boolean; - errorMessage?: string; +function FormField(props: PropsWithChildren<{ + for?: string; + label?: string; + tooltip?: string; + invalid?: boolean; + errorMessage?: string; }>): void ``` Parameters ### props - + diff --git a/docs/docs/reference/core-plugins/asset-server-plugin/asset-server-options.md b/docs/docs/reference/core-plugins/asset-server-plugin/asset-server-options.md index a97e801ef3..b86ff793b3 100644 --- a/docs/docs/reference/core-plugins/asset-server-plugin/asset-server-options.md +++ b/docs/docs/reference/core-plugins/asset-server-plugin/asset-server-options.md @@ -25,8 +25,8 @@ interface AssetServerOptions { presets?: ImageTransformPreset[]; namingStrategy?: AssetNamingStrategy; previewStrategy?: AssetPreviewStrategy; - storageStrategyFactory?: ( - options: AssetServerOptions, + storageStrategyFactory?: ( + options: AssetServerOptions, ) => AssetStorageStrategy | Promise; cacheHeader?: CacheConfig | string; } @@ -48,12 +48,12 @@ The local directory to which assets will be uploaded when using the RequestContext, identifier: string) => string)`} /> -The complete URL prefix of the asset files. For example, "https://demo.vendure.io/assets/". A -function can also be provided to handle more complex cases, such as serving multiple domains -from a single server. In this case, the function should return a string url prefix. - -If not provided, the plugin will attempt to guess based off the incoming -request and the configured route. However, in all but the simplest cases, +The complete URL prefix of the asset files. For example, "https://demo.vendure.io/assets/". A +function can also be provided to handle more complex cases, such as serving multiple domains +from a single server. In this case, the function should return a string url prefix. + +If not provided, the plugin will attempt to guess based off the incoming +request and the configured route. However, in all but the simplest cases, this guess may not yield correct results. ### previewMaxWidth @@ -79,19 +79,19 @@ Defines how asset files and preview images are named before being saved. AssetPreviewStrategy`} since="1.7.0" /> -Defines how previews are generated for a given Asset binary. By default, this uses +Defines how previews are generated for a given Asset binary. By default, this uses the SharpAssetPreviewStrategy ### storageStrategyFactory -AssetServerOptions, ) => AssetStorageStrategy | Promise<AssetStorageStrategy>`} default={`() => LocalAssetStorageStrategy`} /> +AssetServerOptions, ) => AssetStorageStrategy | Promise<AssetStorageStrategy>`} default={`() => LocalAssetStorageStrategy`} /> -A function which can be used to configure an AssetStorageStrategy. This is useful e.g. if you wish to store your assets +A function which can be used to configure an AssetStorageStrategy. This is useful e.g. if you wish to store your assets using a cloud storage provider. By default, the LocalAssetStorageStrategy is used. ### cacheHeader CacheConfig | string`} default={`'public, max-age=15552000'`} since="1.9.3" /> -Configures the `Cache-Control` directive for response to control caching in browsers and shared caches (e.g. Proxies, CDNs). +Configures the `Cache-Control` directive for response to control caching in browsers and shared caches (e.g. Proxies, CDNs). Defaults to publicly cached for 6 months. diff --git a/docs/docs/reference/core-plugins/asset-server-plugin/s3asset-storage-strategy.md b/docs/docs/reference/core-plugins/asset-server-plugin/s3asset-storage-strategy.md index 86f966386c..9fa2c2dc37 100644 --- a/docs/docs/reference/core-plugins/asset-server-plugin/s3asset-storage-strategy.md +++ b/docs/docs/reference/core-plugins/asset-server-plugin/s3asset-storage-strategy.md @@ -151,7 +151,8 @@ Using type `any` in order to avoid the need to include `aws-sdk` dependency in g -Returns a configured instance of the S3AssetStorageStrategy which can then be passed to the AssetServerOptions`storageStrategyFactory` property. +Returns a configured instance of the S3AssetStorageStrategy which can then be passed to the AssetServerOptions +`storageStrategyFactory` property. Before using this strategy, make sure you have the `@aws-sdk/client-s3` and `@aws-sdk/lib-storage` package installed: diff --git a/docs/docs/reference/core-plugins/elasticsearch-plugin/elasticsearch-options.md b/docs/docs/reference/core-plugins/elasticsearch-plugin/elasticsearch-options.md index dd8d117caf..0529ff6fd9 100644 --- a/docs/docs/reference/core-plugins/elasticsearch-plugin/elasticsearch-options.md +++ b/docs/docs/reference/core-plugins/elasticsearch-plugin/elasticsearch-options.md @@ -24,23 +24,23 @@ interface ElasticsearchOptions { clientOptions?: ClientOptions; indexPrefix?: string; indexSettings?: object; - indexMappingProperties?: { - [indexName: string]: object; + indexMappingProperties?: { + [indexName: string]: object; }; reindexProductsChunkSize?: number; reindexBulkOperationSizeLimit?: number; searchConfig?: SearchConfig; - customProductMappings?: { - [fieldName: string]: CustomMapping<[Product, ProductVariant[], LanguageCode, Injector, RequestContext]>; + customProductMappings?: { + [fieldName: string]: CustomMapping<[Product, ProductVariant[], LanguageCode, Injector, RequestContext]>; }; - customProductVariantMappings?: { - [fieldName: string]: CustomMapping<[ProductVariant, LanguageCode, Injector, RequestContext]>; + customProductVariantMappings?: { + [fieldName: string]: CustomMapping<[ProductVariant, LanguageCode, Injector, RequestContext]>; }; bufferUpdates?: boolean; hydrateProductRelations?: Array>; hydrateProductVariantRelations?: Array>; - extendSearchInputType?: { - [name: string]: PrimitiveTypeVariations; + extendSearchInputType?: { + [name: string]: PrimitiveTypeVariations; }; extendSearchSortType?: string[]; } @@ -72,9 +72,9 @@ Interval in milliseconds between attempts to connect to the ElasticSearch server -Options to pass directly to the -[Elasticsearch Node.js client](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html). For example, to -set authentication or other more advanced options. +Options to pass directly to the +[Elasticsearch Node.js client](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html). For example, to +set authentication or other more advanced options. Note that if the `node` or `nodes` option is specified, it will override the values provided in the `host` and `port` options. ### indexPrefix @@ -85,7 +85,7 @@ Prefix for the indices created by the plugin. -[These options](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/index-modules.html#index-modules-settings) +[These options](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/index-modules.html#index-modules-settings) are directly passed to index settings. To apply some settings indices will be recreated. *Example* @@ -116,10 +116,10 @@ A more complete example can be found in the discussion thread [How to make elastic plugin to search by substring with stemming](https://github.com/vendure-ecommerce/vendure/discussions/1066). ### indexMappingProperties - + -This option allow to redefine or define new properties in mapping. More about elastic -[mapping](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html) +This option allow to redefine or define new properties in mapping. More about elastic +[mapping](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html) After changing this option indices will be recreated. *Example* @@ -167,8 +167,8 @@ Products limit chunk size for each loop iteration when indexing products. -Index operations are performed in bulk, with each bulk operation containing a number of individual -index operations. This option sets the maximum number of operations in the memory buffer before a +Index operations are performed in bulk, with each bulk operation containing a number of individual +index operations. This option sets the maximum number of operations in the memory buffer before a bulk operation is executed. ### searchConfig @@ -177,21 +177,21 @@ bulk operation is executed. Configuration of the internal Elasticsearch query. ### customProductMappings -Product, ProductVariant[], LanguageCode, Injector, RequestContext]>; }`} /> - -Custom mappings may be defined which will add the defined data to the -Elasticsearch index and expose that data via the SearchResult GraphQL type, -adding a new `customMappings`, `customProductMappings` & `customProductVariantMappings` fields. - -The `graphQlType` property may be one of `String`, `Int`, `Float`, `Boolean`, `ID` or list -versions thereof (`[String!]` etc) and can be appended with a `!` to indicate non-nullable fields. - -The `public` (default = `true`) property is used to reveal or hide the property in the GraphQL API schema. -If this property is set to `false` it's not accessible in the `customMappings` field but it's still getting -parsed to the elasticsearch index. - -This config option defines custom mappings which are accessible when the "groupByProduct" -input options is set to `true`. In addition, custom variant mappings can be accessed by using +Product, ProductVariant[], LanguageCode, Injector, RequestContext]>; }`} /> + +Custom mappings may be defined which will add the defined data to the +Elasticsearch index and expose that data via the SearchResult GraphQL type, +adding a new `customMappings`, `customProductMappings` & `customProductVariantMappings` fields. + +The `graphQlType` property may be one of `String`, `Int`, `Float`, `Boolean`, `ID` or list +versions thereof (`[String!]` etc) and can be appended with a `!` to indicate non-nullable fields. + +The `public` (default = `true`) property is used to reveal or hide the property in the GraphQL API schema. +If this property is set to `false` it's not accessible in the `customMappings` field but it's still getting +parsed to the elasticsearch index. + +This config option defines custom mappings which are accessible when the "groupByProduct" +input options is set to `true`. In addition, custom variant mappings can be accessed by using the `customProductVariantMappings` field, which is always available. *Example* @@ -240,10 +240,10 @@ query SearchProducts($input: SearchInput!) { ``` ### customProductVariantMappings -ProductVariant, LanguageCode, Injector, RequestContext]>; }`} /> +ProductVariant, LanguageCode, Injector, RequestContext]>; }`} /> -This config option defines custom mappings which are accessible when the "groupByProduct" -input options is set to `false`. In addition, custom product mappings can be accessed by using +This config option defines custom mappings which are accessible when the "groupByProduct" +input options is set to `false`. In addition, custom product mappings can be accessed by using the `customProductMappings` field, which is always available. *Example* @@ -271,20 +271,20 @@ query SearchProducts($input: SearchInput!) { -If set to `true`, updates to Products, ProductVariants and Collections will not immediately -trigger an update to the search index. Instead, all these changes will be buffered and will -only be run via a call to the `runPendingSearchIndexUpdates` mutation in the Admin API. - -This is very useful for installations with a large number of ProductVariants and/or -Collections, as the buffering allows better control over when these expensive jobs are run, -and also performs optimizations to minimize the amount of work that needs to be performed by +If set to `true`, updates to Products, ProductVariants and Collections will not immediately +trigger an update to the search index. Instead, all these changes will be buffered and will +only be run via a call to the `runPendingSearchIndexUpdates` mutation in the Admin API. + +This is very useful for installations with a large number of ProductVariants and/or +Collections, as the buffering allows better control over when these expensive jobs are run, +and also performs optimizations to minimize the amount of work that needs to be performed by the worker. ### hydrateProductRelations EntityRelationPaths<Product>>`} default={`[]`} since="1.3.0" /> -Additional product relations that will be fetched from DB while reindexing. This can be used -in combination with `customProductMappings` to ensure that the required relations are joined +Additional product relations that will be fetched from DB while reindexing. This can be used +in combination with `customProductMappings` to ensure that the required relations are joined before the `product` object is passed to the `valueFn`. *Example* @@ -306,14 +306,14 @@ before the `product` object is passed to the `valueFn`. EntityRelationPaths<ProductVariant>>`} default={`[]`} since="1.3.0" /> -Additional variant relations that will be fetched from DB while reindexing. See +Additional variant relations that will be fetched from DB while reindexing. See `hydrateProductRelations` for more explanation and a usage example. ### extendSearchInputType - + -Allows the `SearchInput` type to be extended with new input fields. This allows arbitrary -data to be passed in, which can then be used e.g. in the `mapQuery()` function or +Allows the `SearchInput` type to be extended with new input fields. This allows arbitrary +data to be passed in, which can then be used e.g. in the `mapQuery()` function or custom `scriptFields` functions. *Example* @@ -347,7 +347,7 @@ query { -Adds a list of sort parameters. This is mostly important to make the +Adds a list of sort parameters. This is mostly important to make the correct sort order values available inside `input` parameter of the `mapSort` option. *Example* @@ -384,12 +384,12 @@ interface SearchConfig { multiMatchType?: 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix'; boostFields?: BoostFieldsConfig; priceRangeBucketInterval?: number; - mapQuery?: ( - query: any, - input: ElasticSearchInput, - searchConfig: DeepRequired, - channelId: ID, - enabledOnly: boolean, + mapQuery?: ( + query: any, + input: ElasticSearchInput, + searchConfig: DeepRequired, + channelId: ID, + enabledOnly: boolean, ) => any; scriptFields?: { [fieldName: string]: CustomScriptMapping<[ElasticSearchInput]> }; mapSort?: (sort: ElasticSearchSortInput, input: ElasticSearchInput) => ElasticSearchSortInput; @@ -402,29 +402,29 @@ interface SearchConfig { -The maximum number of FacetValues to return from the search query. Internally, this +The maximum number of FacetValues to return from the search query. Internally, this value sets the "size" property of an Elasticsearch aggregation. ### collectionMaxSize -The maximum number of Collections to return from the search query. Internally, this +The maximum number of Collections to return from the search query. Internally, this value sets the "size" property of an Elasticsearch aggregation. ### totalItemsMaxSize -The maximum number of totalItems to return from the search query. Internally, this -value sets the "track_total_hits" property of an Elasticsearch query. -If this parameter is set to "True", accurate count of totalItems will be returned. -If this parameter is set to "False", totalItems will be returned as 0. +The maximum number of totalItems to return from the search query. Internally, this +value sets the "track_total_hits" property of an Elasticsearch query. +If this parameter is set to "True", accurate count of totalItems will be returned. +If this parameter is set to "False", totalItems will be returned as 0. If this parameter is set to integer, accurate count of totalItems will be returned not bigger than integer. ### multiMatchType -Defines the -[multi match type](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#multi-match-types) +Defines the +[multi match type](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#multi-match-types) used when matching against a search term. ### boostFields @@ -435,43 +435,43 @@ Set custom boost values for particular fields when matching against a search ter -The interval used to group search results into buckets according to price range. For example, setting this to -`2000` will group into buckets every $20.00: - -```json -{ - "data": { - "search": { - "totalItems": 32, - "priceRange": { - "buckets": [ - { - "to": 2000, - "count": 21 - }, - { - "to": 4000, - "count": 7 - }, - { - "to": 6000, - "count": 3 - }, - { - "to": 12000, - "count": 1 - } - ] - } - } - } -} +The interval used to group search results into buckets according to price range. For example, setting this to +`2000` will group into buckets every $20.00: + +```json +{ + "data": { + "search": { + "totalItems": 32, + "priceRange": { + "buckets": [ + { + "to": 2000, + "count": 21 + }, + { + "to": 4000, + "count": 7 + }, + { + "to": 6000, + "count": 3 + }, + { + "to": 12000, + "count": 1 + } + ] + } + } + } +} ``` ### mapQuery -SearchConfig>, channelId: ID, enabledOnly: boolean, ) => any`} /> +SearchConfig>, channelId: ID, enabledOnly: boolean, ) => any`} /> -This config option allows the the modification of the whole (already built) search query. This allows +This config option allows the the modification of the whole (already built) search query. This allows for e.g. wildcard / fuzzy searches on the index. *Example* @@ -510,17 +510,17 @@ mapQuery: (query, input, searchConfig, channelId, enabledOnly){ -Sets `script_fields` inside the elasticsearch body which allows returning a script evaluation for each hit. - -The script field definition consists of three properties: - -* `graphQlType`: This is the type that will be returned when this script field is queried -via the GraphQL API. It may be one of `String`, `Int`, `Float`, `Boolean`, `ID` or list -versions thereof (`[String!]` etc) and can be appended with a `!` to indicate non-nullable fields. -* `context`: determines whether this script field is available when grouping by product. Can be -`product`, `variant` or `both`. -* `scriptFn`: This is the function to run on each hit. Should return an object with a `script` property, -as covered in the +Sets `script_fields` inside the elasticsearch body which allows returning a script evaluation for each hit. + +The script field definition consists of three properties: + +* `graphQlType`: This is the type that will be returned when this script field is queried +via the GraphQL API. It may be one of `String`, `Int`, `Float`, `Boolean`, `ID` or list +versions thereof (`[String!]` etc) and can be appended with a `!` to indicate non-nullable fields. +* `context`: determines whether this script field is available when grouping by product. Can be +`product`, `variant` or `both`. +* `scriptFn`: This is the function to run on each hit. Should return an object with a `script` property, +as covered in the [Elasticsearch script fields docs](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/search-fields.html#script-fields) *Example* @@ -571,10 +571,10 @@ searchConfig: { -Allows extending the `sort` input of the elasticsearch body as covered in -[Elasticsearch sort docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html) - -The `sort` input parameter contains the ElasticSearchSortInput generated for the default sort parameters "name" and "price". +Allows extending the `sort` input of the elasticsearch body as covered in +[Elasticsearch sort docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/sort-search-results.html) + +The `sort` input parameter contains the ElasticSearchSortInput generated for the default sort parameters "name" and "price". If neither of those are applied it will be empty. *Example* @@ -655,9 +655,9 @@ searchConfig: { -Configuration for [boosting](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#field-boost) -the scores of given fields when performing a search against a term. - +Configuration for [boosting](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#field-boost) +the scores of given fields when performing a search against a term. + Boosting a field acts as a score multiplier for matches against that field. ```ts title="Signature" diff --git a/docs/docs/reference/core-plugins/elasticsearch-plugin/index.md b/docs/docs/reference/core-plugins/elasticsearch-plugin/index.md index b908f2d0a1..a088454ce6 100644 --- a/docs/docs/reference/core-plugins/elasticsearch-plugin/index.md +++ b/docs/docs/reference/core-plugins/elasticsearch-plugin/index.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## ElasticsearchPlugin - + This plugin allows your product search to be powered by [Elasticsearch](https://github.com/elastic/elasticsearch) - a powerful Open Source search engine. This is a drop-in replacement for the DefaultSearchPlugin which exposes many powerful configuration options enabling your storefront diff --git a/docs/docs/reference/core-plugins/harden-plugin/harden-plugin-options.md b/docs/docs/reference/core-plugins/harden-plugin/harden-plugin-options.md index c33f0a1d1a..d181d86e53 100644 --- a/docs/docs/reference/core-plugins/harden-plugin/harden-plugin-options.md +++ b/docs/docs/reference/core-plugins/harden-plugin/harden-plugin-options.md @@ -20,8 +20,8 @@ interface HardenPluginOptions { maxQueryComplexity?: number; queryComplexityEstimators?: ComplexityEstimator[]; logComplexityScore?: boolean; - customComplexityFactors?: { - [path: string]: number; + customComplexityFactors?: { + [path: string]: number; }; hideFieldSuggestions?: boolean; apiMode?: 'dev' | 'prod'; @@ -34,33 +34,33 @@ interface HardenPluginOptions { -Defines the maximum permitted complexity score of a query. The complexity score is based -on the number of fields being selected as well as other factors like whether there are nested -lists. - +Defines the maximum permitted complexity score of a query. The complexity score is based +on the number of fields being selected as well as other factors like whether there are nested +lists. + A query which exceeds the maximum score will result in an error. ### queryComplexityEstimators -An array of custom estimator functions for calculating the complexity of a query. By default, -the plugin will use the defaultVendureComplexityEstimator which is specifically +An array of custom estimator functions for calculating the complexity of a query. By default, +the plugin will use the defaultVendureComplexityEstimator which is specifically tuned to accurately estimate Vendure queries. ### logComplexityScore -When set to `true`, the complexity score of each query will be logged at the Verbose -log level, and a breakdown of the calculation for each field will be logged at the Debug level. - +When set to `true`, the complexity score of each query will be logged at the Verbose +log level, and a breakdown of the calculation for each field will be logged at the Debug level. + This is very useful for tuning your complexity scores. ### customComplexityFactors - + -This object allows you to tune the complexity weight of specific fields. For example, -if you have a custom `stockLocations` field defined on the `ProductVariant` type, and -you know that it is a particularly expensive operation to execute, you can increase +This object allows you to tune the complexity weight of specific fields. For example, +if you have a custom `stockLocations` field defined on the `ProductVariant` type, and +you know that it is a particularly expensive operation to execute, you can increase its complexity like this: *Example* @@ -77,19 +77,19 @@ HardenPlugin.init({ -Graphql-js will make suggestions about the names of fields if an invalid field name is provided. -This would allow an attacker to find out the available fields by brute force even if introspection -is disabled. - -Setting this option to `true` will prevent these suggestion error messages from being returned, +Graphql-js will make suggestions about the names of fields if an invalid field name is provided. +This would allow an attacker to find out the available fields by brute force even if introspection +is disabled. + +Setting this option to `true` will prevent these suggestion error messages from being returned, instead replacing the message with a generic "Invalid request" message. ### apiMode -When set to `'prod'`, the plugin will disable dev-mode features of the GraphQL APIs: - -- introspection +When set to `'prod'`, the plugin will disable dev-mode features of the GraphQL APIs: + +- introspection - GraphQL playground diff --git a/docs/docs/reference/core-plugins/payments-plugin/mollie-plugin.md b/docs/docs/reference/core-plugins/payments-plugin/mollie-plugin.md index 1b4e220dc3..869a71eeaa 100644 --- a/docs/docs/reference/core-plugins/payments-plugin/mollie-plugin.md +++ b/docs/docs/reference/core-plugins/payments-plugin/mollie-plugin.md @@ -13,110 +13,110 @@ import MemberDescription from '@site/src/components/MemberDescription'; -Plugin to enable payments through the [Mollie platform](https://docs.mollie.com/). -This plugin uses the Order API from Mollie, not the Payments API. - -## Requirements - -1. You will need to create a Mollie account and get your apiKey in the dashboard. -2. Install the Payments plugin and the Mollie client: - - `yarn add @vendure/payments-plugin @mollie/api-client` - - or - - `npm install @vendure/payments-plugin @mollie/api-client` - -## Setup - -1. Add the plugin to your VendureConfig `plugins` array: - ```ts - import { MolliePlugin } from '@vendure/payments-plugin/package/mollie'; - - // ... - - plugins: [ - MolliePlugin.init({ vendureHost: 'https://yourhost.io/' }), - ] - ``` -2. Run a database migration to add the `mollieOrderId` custom field to the order entity. -3. Create a new PaymentMethod in the Admin UI, and select "Mollie payments" as the handler. -4. Set your Mollie apiKey in the `API Key` field. -5. Set the `Fallback redirectUrl` to the url that the customer should be redirected to after completing the payment. -You can override this url by passing the `redirectUrl` as an argument to the `createMolliePaymentIntent` mutation. - -## Storefront usage - -In your storefront you add a payment to an order using the `createMolliePaymentIntent` mutation. In this example, our Mollie -PaymentMethod was given the code "mollie-payment-method". The `redirectUrl``is the url that is used to redirect the end-user -back to your storefront after completing the payment. - -```GraphQL -mutation CreateMolliePaymentIntent { - createMolliePaymentIntent(input: { - redirectUrl: "https://storefront/order/1234XYZ" - paymentMethodCode: "mollie-payment-method" - molliePaymentMethodCode: "ideal" - }) { - ... on MolliePaymentIntent { - url - } - ... on MolliePaymentIntentError { - errorCode - message - } - } -} -``` - -The response will contain -a redirectUrl, which can be used to redirect your customer to the Mollie -platform. - -'molliePaymentMethodCode' is an optional parameter that can be passed to skip Mollie's hosted payment method selection screen -You can get available Mollie payment methods with the following query: - -```GraphQL -{ - molliePaymentMethods(input: { paymentMethodCode: "mollie-payment-method" }) { - id - code - description - minimumAmount { - value - currency - } - maximumAmount { - value - currency - } - image { - size1x - size2x - svg - } - } -} -``` -You can pass `creditcard` for example, to the `createMolliePaymentIntent` mutation to skip the method selection. - -After completing payment on the Mollie platform, -the user is redirected to the given redirect url, e.g. `https://storefront/order/CH234X5` - -## Pay later methods -Mollie supports pay-later methods like 'Klarna Pay Later'. For pay-later methods, the status of an order is -'PaymentAuthorized' after the Mollie hosted checkout. You need to manually settle the payment via the admin ui to capture the payment! -Make sure you capture a payment within 28 days, because this is the Klarna expiry time - -If you don't want this behaviour (Authorized first), you can set 'autoCapture=true' on the payment method. This option will immediately -capture the payment after a customer authorizes the payment. - -## ArrangingAdditionalPayment state - -In some rare cases, a customer can add items to the active order, while a Mollie payment is still open, -for example by opening your storefront in another browser tab. -This could result in an order being in `ArrangingAdditionalPayment` status after the customer finished payment. -You should check if there is still an active order with status `ArrangingAdditionalPayment` on your order confirmation page, +Plugin to enable payments through the [Mollie platform](https://docs.mollie.com/). +This plugin uses the Order API from Mollie, not the Payments API. + +## Requirements + +1. You will need to create a Mollie account and get your apiKey in the dashboard. +2. Install the Payments plugin and the Mollie client: + + `yarn add @vendure/payments-plugin @mollie/api-client` + + or + + `npm install @vendure/payments-plugin @mollie/api-client` + +## Setup + +1. Add the plugin to your VendureConfig `plugins` array: + ```ts + import { MolliePlugin } from '@vendure/payments-plugin/package/mollie'; + + // ... + + plugins: [ + MolliePlugin.init({ vendureHost: 'https://yourhost.io/' }), + ] + ``` +2. Run a database migration to add the `mollieOrderId` custom field to the order entity. +3. Create a new PaymentMethod in the Admin UI, and select "Mollie payments" as the handler. +4. Set your Mollie apiKey in the `API Key` field. +5. Set the `Fallback redirectUrl` to the url that the customer should be redirected to after completing the payment. +You can override this url by passing the `redirectUrl` as an argument to the `createMolliePaymentIntent` mutation. + +## Storefront usage + +In your storefront you add a payment to an order using the `createMolliePaymentIntent` mutation. In this example, our Mollie +PaymentMethod was given the code "mollie-payment-method". The `redirectUrl``is the url that is used to redirect the end-user +back to your storefront after completing the payment. + +```GraphQL +mutation CreateMolliePaymentIntent { + createMolliePaymentIntent(input: { + redirectUrl: "https://storefront/order/1234XYZ" + paymentMethodCode: "mollie-payment-method" + molliePaymentMethodCode: "ideal" + }) { + ... on MolliePaymentIntent { + url + } + ... on MolliePaymentIntentError { + errorCode + message + } + } +} +``` + +The response will contain +a redirectUrl, which can be used to redirect your customer to the Mollie +platform. + +'molliePaymentMethodCode' is an optional parameter that can be passed to skip Mollie's hosted payment method selection screen +You can get available Mollie payment methods with the following query: + +```GraphQL +{ + molliePaymentMethods(input: { paymentMethodCode: "mollie-payment-method" }) { + id + code + description + minimumAmount { + value + currency + } + maximumAmount { + value + currency + } + image { + size1x + size2x + svg + } + } +} +``` +You can pass `creditcard` for example, to the `createMolliePaymentIntent` mutation to skip the method selection. + +After completing payment on the Mollie platform, +the user is redirected to the given redirect url, e.g. `https://storefront/order/CH234X5` + +## Pay later methods +Mollie supports pay-later methods like 'Klarna Pay Later'. For pay-later methods, the status of an order is +'PaymentAuthorized' after the Mollie hosted checkout. You need to manually settle the payment via the admin ui to capture the payment! +Make sure you capture a payment within 28 days, because this is the Klarna expiry time + +If you don't want this behaviour (Authorized first), you can set 'autoCapture=true' on the payment method. This option will immediately +capture the payment after a customer authorizes the payment. + +## ArrangingAdditionalPayment state + +In some rare cases, a customer can add items to the active order, while a Mollie payment is still open, +for example by opening your storefront in another browser tab. +This could result in an order being in `ArrangingAdditionalPayment` status after the customer finished payment. +You should check if there is still an active order with status `ArrangingAdditionalPayment` on your order confirmation page, and if so, allow your customer to pay for the additional items by creating another Mollie payment. ```ts title="Signature" @@ -152,10 +152,10 @@ Configuration options for the Mollie payments plugin. ```ts title="Signature" interface MolliePluginOptions { vendureHost: string; - enabledPaymentMethodsParams?: ( - injector: Injector, - ctx: RequestContext, - order: Order | null, + enabledPaymentMethodsParams?: ( + injector: Injector, + ctx: RequestContext, + order: Order | null, ) => AdditionalEnabledPaymentMethodsParams | Promise; } ``` @@ -166,18 +166,18 @@ interface MolliePluginOptions { -The host of your Vendure server, e.g. `'https://my-vendure.io'`. +The host of your Vendure server, e.g. `'https://my-vendure.io'`. This is used by Mollie to send webhook events to the Vendure server ### enabledPaymentMethodsParams -Injector, ctx: RequestContext, order: Order | null, ) => AdditionalEnabledPaymentMethodsParams | Promise<AdditionalEnabledPaymentMethodsParams>`} since="2.2.0" /> - -Provide additional parameters to the Mollie enabled payment methods API call. By default, -the plugin will already pass the `resource` parameter. - -For example, if you want to provide a `locale` and `billingCountry` for the API call, you can do so like this: +Injector, ctx: RequestContext, order: Order | null, ) => AdditionalEnabledPaymentMethodsParams | Promise<AdditionalEnabledPaymentMethodsParams>`} since="2.2.0" /> -**Note:** The `order` argument is possibly `null`, this could happen when you fetch the available payment methods +Provide additional parameters to the Mollie enabled payment methods API call. By default, +the plugin will already pass the `resource` parameter. + +For example, if you want to provide a `locale` and `billingCountry` for the API call, you can do so like this: + +**Note:** The `order` argument is possibly `null`, this could happen when you fetch the available payment methods before the order is created. *Example* diff --git a/docs/docs/reference/core-plugins/payments-plugin/stripe-plugin.md b/docs/docs/reference/core-plugins/payments-plugin/stripe-plugin.md index b46a6359f5..6cf864dc85 100644 --- a/docs/docs/reference/core-plugins/payments-plugin/stripe-plugin.md +++ b/docs/docs/reference/core-plugins/payments-plugin/stripe-plugin.md @@ -13,147 +13,147 @@ import MemberDescription from '@site/src/components/MemberDescription'; -Plugin to enable payments through [Stripe](https://stripe.com/docs) via the Payment Intents API. - -## Requirements - -1. You will need to create a Stripe account and get your secret key in the dashboard. -2. Create a webhook endpoint in the Stripe dashboard (Developers -> Webhooks, "Add an endpoint") which listens to the `payment_intent.succeeded` -and `payment_intent.payment_failed` events. The URL should be `https://my-server.com/payments/stripe`, where -`my-server.com` is the host of your Vendure server. *Note:* for local development, you'll need to use -the Stripe CLI to test your webhook locally. See the _local development_ section below. -3. Get the signing secret for the newly created webhook. -4. Install the Payments plugin and the Stripe Node library: - - `yarn add @vendure/payments-plugin stripe` - - or - - `npm install @vendure/payments-plugin stripe` - -## Setup - -1. Add the plugin to your VendureConfig `plugins` array: - ```ts - import { StripePlugin } from '@vendure/payments-plugin/package/stripe'; - - // ... - - plugins: [ - StripePlugin.init({ - // This prevents different customers from using the same PaymentIntent - storeCustomersInStripe: true, - }), - ] - ```` - For all the plugin options, see the StripePluginOptions type. -2. Create a new PaymentMethod in the Admin UI, and select "Stripe payments" as the handler. -3. Set the webhook secret and API key in the PaymentMethod form. - -## Storefront usage - -The plugin is designed to work with the [Custom payment flow](https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements). -In this flow, Stripe provides libraries which handle the payment UI and confirmation for you. You can install it in your storefront project -with: - -```shell -yarn add @stripe/stripe-js -# or -npm install @stripe/stripe-js -``` - -If you are using React, you should also consider installing `@stripe/react-stripe-js`, which is a wrapper around Stripe Elements. - -The high-level workflow is: -1. Create a "payment intent" on the server by executing the `createStripePaymentIntent` mutation which is exposed by this plugin. -2. Use the returned client secret to instantiate the Stripe Payment Element: - ```ts - import { Elements } from '@stripe/react-stripe-js'; - import { loadStripe, Stripe } from '@stripe/stripe-js'; - import { CheckoutForm } from './CheckoutForm'; - - const stripePromise = getStripe('pk_test_....wr83u'); - - type StripePaymentsProps = { - clientSecret: string; - orderCode: string; - } - - export function StripePayments({ clientSecret, orderCode }: StripePaymentsProps) { - const options = { - // passing the client secret obtained from the server - clientSecret, - } - return ( - - - - ); - } - ``` - ```ts - // CheckoutForm.tsx - import { useStripe, useElements, PaymentElement } from '@stripe/react-stripe-js'; - import { FormEvent } from 'react'; - - export const CheckoutForm = ({ orderCode }: { orderCode: string }) => { - const stripe = useStripe(); - const elements = useElements(); - - const handleSubmit = async (event: FormEvent) => { - // We don't want to let default form submission happen here, - // which would refresh the page. - event.preventDefault(); - - if (!stripe || !elements) { - // Stripe.js has not yet loaded. - // Make sure to disable form submission until Stripe.js has loaded. - return; - } - - const result = await stripe.confirmPayment({ - //`Elements` instance that was used to create the Payment Element - elements, - confirmParams: { - return_url: location.origin + `/checkout/confirmation/${orderCode}`, - }, - }); - - if (result.error) { - // Show error to your customer (for example, payment details incomplete) - console.log(result.error.message); - } else { - // Your customer will be redirected to your `return_url`. For some payment - // methods like iDEAL, your customer will be redirected to an intermediate - // site first to authorize the payment, then redirected to the `return_url`. - } - }; - - return ( -
- - - - ); - }; - ``` -3. Once the form is submitted and Stripe processes the payment, the webhook takes care of updating the order without additional action -in the storefront. As in the code above, the customer will be redirected to `/checkout/confirmation/${orderCode}`. - -:::info -A full working storefront example of the Stripe integration can be found in the -[Remix Starter repo](https://github.com/vendure-ecommerce/storefront-remix-starter/tree/master/app/components/checkout/stripe) -::: - -## Local development - -1. Download & install the Stripe CLI: https://stripe.com/docs/stripe-cli -2. From your Stripe dashboard, go to Developers -> Webhooks and click "Add an endpoint" and follow the instructions -under "Test in a local environment". -3. The Stripe CLI command will look like - ```shell - stripe listen --forward-to localhost:3000/payments/stripe - ``` +Plugin to enable payments through [Stripe](https://stripe.com/docs) via the Payment Intents API. + +## Requirements + +1. You will need to create a Stripe account and get your secret key in the dashboard. +2. Create a webhook endpoint in the Stripe dashboard (Developers -> Webhooks, "Add an endpoint") which listens to the `payment_intent.succeeded` +and `payment_intent.payment_failed` events. The URL should be `https://my-server.com/payments/stripe`, where +`my-server.com` is the host of your Vendure server. *Note:* for local development, you'll need to use +the Stripe CLI to test your webhook locally. See the _local development_ section below. +3. Get the signing secret for the newly created webhook. +4. Install the Payments plugin and the Stripe Node library: + + `yarn add @vendure/payments-plugin stripe` + + or + + `npm install @vendure/payments-plugin stripe` + +## Setup + +1. Add the plugin to your VendureConfig `plugins` array: + ```ts + import { StripePlugin } from '@vendure/payments-plugin/package/stripe'; + + // ... + + plugins: [ + StripePlugin.init({ + // This prevents different customers from using the same PaymentIntent + storeCustomersInStripe: true, + }), + ] + ```` + For all the plugin options, see the StripePluginOptions type. +2. Create a new PaymentMethod in the Admin UI, and select "Stripe payments" as the handler. +3. Set the webhook secret and API key in the PaymentMethod form. + +## Storefront usage + +The plugin is designed to work with the [Custom payment flow](https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements). +In this flow, Stripe provides libraries which handle the payment UI and confirmation for you. You can install it in your storefront project +with: + +```shell +yarn add @stripe/stripe-js +# or +npm install @stripe/stripe-js +``` + +If you are using React, you should also consider installing `@stripe/react-stripe-js`, which is a wrapper around Stripe Elements. + +The high-level workflow is: +1. Create a "payment intent" on the server by executing the `createStripePaymentIntent` mutation which is exposed by this plugin. +2. Use the returned client secret to instantiate the Stripe Payment Element: + ```ts + import { Elements } from '@stripe/react-stripe-js'; + import { loadStripe, Stripe } from '@stripe/stripe-js'; + import { CheckoutForm } from './CheckoutForm'; + + const stripePromise = getStripe('pk_test_....wr83u'); + + type StripePaymentsProps = { + clientSecret: string; + orderCode: string; + } + + export function StripePayments({ clientSecret, orderCode }: StripePaymentsProps) { + const options = { + // passing the client secret obtained from the server + clientSecret, + } + return ( + + + + ); + } + ``` + ```ts + // CheckoutForm.tsx + import { useStripe, useElements, PaymentElement } from '@stripe/react-stripe-js'; + import { FormEvent } from 'react'; + + export const CheckoutForm = ({ orderCode }: { orderCode: string }) => { + const stripe = useStripe(); + const elements = useElements(); + + const handleSubmit = async (event: FormEvent) => { + // We don't want to let default form submission happen here, + // which would refresh the page. + event.preventDefault(); + + if (!stripe || !elements) { + // Stripe.js has not yet loaded. + // Make sure to disable form submission until Stripe.js has loaded. + return; + } + + const result = await stripe.confirmPayment({ + //`Elements` instance that was used to create the Payment Element + elements, + confirmParams: { + return_url: location.origin + `/checkout/confirmation/${orderCode}`, + }, + }); + + if (result.error) { + // Show error to your customer (for example, payment details incomplete) + console.log(result.error.message); + } else { + // Your customer will be redirected to your `return_url`. For some payment + // methods like iDEAL, your customer will be redirected to an intermediate + // site first to authorize the payment, then redirected to the `return_url`. + } + }; + + return ( +
+ + + + ); + }; + ``` +3. Once the form is submitted and Stripe processes the payment, the webhook takes care of updating the order without additional action +in the storefront. As in the code above, the customer will be redirected to `/checkout/confirmation/${orderCode}`. + +:::info +A full working storefront example of the Stripe integration can be found in the +[Remix Starter repo](https://github.com/vendure-ecommerce/storefront-remix-starter/tree/master/app/components/checkout/stripe) +::: + +## Local development + +1. Download & install the Stripe CLI: https://stripe.com/docs/stripe-cli +2. From your Stripe dashboard, go to Developers -> Webhooks and click "Add an endpoint" and follow the instructions +under "Test in a local environment". +3. The Stripe CLI command will look like + ```shell + stripe listen --forward-to localhost:3000/payments/stripe + ``` 4. The Stripe CLI will create a webhook signing secret you can then use in your config of the StripePlugin. ```ts title="Signature" @@ -182,27 +182,32 @@ Initialize the Stripe payment plugin ## StripePluginOptions - + Configuration options for the Stripe payments plugin. ```ts title="Signature" interface StripePluginOptions { storeCustomersInStripe?: boolean; - metadata?: ( - injector: Injector, - ctx: RequestContext, - order: Order, + metadata?: ( + injector: Injector, + ctx: RequestContext, + order: Order, ) => Stripe.MetadataParam | Promise; - paymentIntentCreateParams?: ( - injector: Injector, - ctx: RequestContext, - order: Order, + paymentIntentCreateParams?: ( + injector: Injector, + ctx: RequestContext, + order: Order, ) => AdditionalPaymentIntentCreateParams | Promise; - customerCreateParams?: ( - injector: Injector, - ctx: RequestContext, - order: Order, + requestOptions?: ( + injector: Injector, + ctx: RequestContext, + order: Order, + ) => AdditionalRequestOptions | Promise; + customerCreateParams?: ( + injector: Injector, + ctx: RequestContext, + order: Order, ) => AdditionalCustomerCreateParams | Promise; } ``` @@ -213,13 +218,13 @@ interface StripePluginOptions { -If set to `true`, a [Customer](https://stripe.com/docs/api/customers) object will be created in Stripe - if -it doesn't already exist - for authenticated users, which prevents payment methods attached to other Customers -to be used with the same PaymentIntent. This is done by adding a custom field to the Customer entity to store +If set to `true`, a [Customer](https://stripe.com/docs/api/customers) object will be created in Stripe - if +it doesn't already exist - for authenticated users, which prevents payment methods attached to other Customers +to be used with the same PaymentIntent. This is done by adding a custom field to the Customer entity to store the Stripe customer ID, so switching this on will require a database migration / synchronization. ### metadata -Injector, ctx: RequestContext, order: Order, ) => Stripe.MetadataParam | Promise<Stripe.MetadataParam>`} since="1.9.7" /> +Injector, ctx: RequestContext, order: Order, ) => Stripe.MetadataParam | Promise<Stripe.MetadataParam>`} since="1.9.7" /> Attach extra metadata to Stripe payment intent creation call. @@ -249,11 +254,11 @@ Note: If the `paymentIntentCreateParams` is also used and returns a `metadata` k returned by both functions will be merged. ### paymentIntentCreateParams -Injector, ctx: RequestContext, order: Order, ) => AdditionalPaymentIntentCreateParams | Promise<AdditionalPaymentIntentCreateParams>`} since="2.1.0" /> - -Provide additional parameters to the Stripe payment intent creation. By default, -the plugin will already pass the `amount`, `currency`, `customer` and `automatic_payment_methods: { enabled: true }` parameters. +Injector, ctx: RequestContext, order: Order, ) => AdditionalPaymentIntentCreateParams | Promise<AdditionalPaymentIntentCreateParams>`} since="2.1.0" /> +Provide additional parameters to the Stripe payment intent creation. By default, +the plugin will already pass the `amount`, `currency`, `customer` and `automatic_payment_methods: { enabled: true }` parameters. + For example, if you want to provide a `description` for the payment intent, you can do so like this: *Example* @@ -275,13 +280,41 @@ export const config: VendureConfig = { ], }; ``` -### customerCreateParams +### requestOptions + +Injector, ctx: RequestContext, order: Order, ) => AdditionalRequestOptions | Promise<AdditionalRequestOptions>`} since="3.1.0" /> + +Provide additional options to the Stripe payment intent creation. By default, +the plugin will already pass the `idempotencyKey` parameter. + +For example, if you want to provide a `stripeAccount` for the payment intent, you can do so like this: -Injector, ctx: RequestContext, order: Order, ) => AdditionalCustomerCreateParams | Promise<AdditionalCustomerCreateParams>`} since="2.1.0" /> +*Example* + +```ts +import { VendureConfig } from '@vendure/core'; +import { StripePlugin } from '@vendure/payments-plugin/package/stripe'; + +export const config: VendureConfig = { + // ... + plugins: [ + StripePlugin.init({ + requestOptions: (injector, ctx, order) => { + return { + stripeAccount: ctx.channel.seller?.customFields.connectedAccountId + }, + } + }), + ], +}; +``` +### customerCreateParams -Provide additional parameters to the Stripe customer creation. By default, -the plugin will already pass the `email` and `name` parameters. +Injector, ctx: RequestContext, order: Order, ) => AdditionalCustomerCreateParams | Promise<AdditionalCustomerCreateParams>`} since="2.1.0" /> +Provide additional parameters to the Stripe customer creation. By default, +the plugin will already pass the `email` and `name` parameters. + For example, if you want to provide an address for the customer: *Example* diff --git a/docs/docs/reference/core-plugins/stellate-plugin/purge-rule.md b/docs/docs/reference/core-plugins/stellate-plugin/purge-rule.md index 85f8e96d64..cb6f7457c5 100644 --- a/docs/docs/reference/core-plugins/stellate-plugin/purge-rule.md +++ b/docs/docs/reference/core-plugins/stellate-plugin/purge-rule.md @@ -13,8 +13,8 @@ import MemberDescription from '@site/src/components/MemberDescription'; -Defines a rule that listens for a particular VendureEvent and uses that to -make calls to the [Stellate Purging API](https://docs.stellate.co/docs/purging-api) via +Defines a rule that listens for a particular VendureEvent and uses that to +make calls to the [Stellate Purging API](https://docs.stellate.co/docs/purging-api) via the provided StellateService instance. ```ts title="Signature" @@ -63,10 +63,10 @@ Configures a StellateService; injector: Injector; }) => void | Promise<void>`} /> +StellateService; injector: Injector; }) => void | Promise<void>`} /> -The function to invoke when the specified event is published. This function should use the +The function to invoke when the specified event is published. This function should use the StellateService instance to call the Stellate Purge API. diff --git a/docs/docs/reference/graphql-api/admin/enums.md b/docs/docs/reference/graphql-api/admin/enums.md index af6a43944a..034c63ab95 100644 --- a/docs/docs/reference/graphql-api/admin/enums.md +++ b/docs/docs/reference/graphql-api/admin/enums.md @@ -423,6 +423,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
ORDER_MODIFICATION_ERROR
INELIGIBLE_SHIPPING_METHOD_ERROR
NO_ACTIVE_ORDER_ERROR
+
ORDER_INTERCEPTOR_ERROR
}
diff --git a/docs/docs/reference/graphql-api/admin/input-types.md b/docs/docs/reference/graphql-api/admin/input-types.md index fb8288173c..a9a7796826 100644 --- a/docs/docs/reference/graphql-api/admin/input-types.md +++ b/docs/docs/reference/graphql-api/admin/input-types.md @@ -2917,20 +2917,16 @@ import MemberDescription from '@site/src/components/MemberDescription';
input RefundOrderInput {
-
lines: [OrderLineInput!]!
+
lines: [OrderLineInput!]
-
shipping: Money!
+
shipping: Money
-
adjustment: Money!
+
adjustment: Money
"""
-
If an amount is specified, this value will be used to create a Refund rather than calculating the
- -
amount automatically. This was added in v2.2 and will be the preferred way to specify the refund
- -
amount in the future. The `lines`, shipping and adjustment fields will likely be removed in a future
+
The amount to be refunded to this particular payment. This was introduced in v2.2.0 as the preferred way to specify the refund amount.
-
version.
+
Can be as much as the total amount of the payment minus the sum of all previous refunds.
"""
amount: Money
diff --git a/docs/docs/reference/graphql-api/admin/mutations.md b/docs/docs/reference/graphql-api/admin/mutations.md index 2bd20fa49d..f526001be2 100644 --- a/docs/docs/reference/graphql-api/admin/mutations.md +++ b/docs/docs/reference/graphql-api/admin/mutations.md @@ -1538,6 +1538,30 @@ import MemberDescription from '@site/src/components/MemberDescription';
transitionPaymentToState(id: ID!, state: String!): TransitionPaymentToStateResult!
+
}
+
+ +## unsetDraftOrderBillingAddress +
+
"""
+
Unsets the billing address for a draft Order
+
"""
+
type Mutation {
+
unsetDraftOrderBillingAddress(orderId: ID!): Order!
+ + +
}
+
+ +## unsetDraftOrderShippingAddress +
+
"""
+
Unsets the shipping address for a draft Order
+
"""
+
type Mutation {
+
unsetDraftOrderShippingAddress(orderId: ID!): Order!
+ +
}
diff --git a/docs/docs/reference/graphql-api/admin/object-types.md b/docs/docs/reference/graphql-api/admin/object-types.md index 2d1ac5ff65..d24c326ae4 100644 --- a/docs/docs/reference/graphql-api/admin/object-types.md +++ b/docs/docs/reference/graphql-api/admin/object-types.md @@ -284,8 +284,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
ui: JSON
@@ -1034,8 +1032,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
min: String
max: String
@@ -1382,8 +1378,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
min: Float
max: Float
@@ -1675,8 +1669,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
min: Int
max: Int
@@ -2251,6 +2243,23 @@ import MemberDescription from '@site/src/components/MemberDescription';
customFields: JSON
+
}
+ + +## OrderInterceptorError + +
+
"""
+
Returned when an order operation is rejected by an OrderInterceptor method.
+
"""
+
type OrderInterceptorError {
+
errorCode: ErrorCode!
+ +
message: String!
+ +
interceptorError: String!
+ +
}
@@ -3406,7 +3415,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## Return @@ -3976,8 +3985,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
length: Int
-
nullable: Boolean
-
pattern: String
options: [StringFieldOption!]
@@ -4244,8 +4251,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
ui: JSON
@@ -4298,7 +4303,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## UpdatePromotionResult diff --git a/docs/docs/reference/graphql-api/shop/enums.md b/docs/docs/reference/graphql-api/shop/enums.md index 0ad11dd026..781cbb24b6 100644 --- a/docs/docs/reference/graphql-api/shop/enums.md +++ b/docs/docs/reference/graphql-api/shop/enums.md @@ -393,6 +393,7 @@ import MemberDescription from '@site/src/components/MemberDescription';
ORDER_MODIFICATION_ERROR
INELIGIBLE_SHIPPING_METHOD_ERROR
NO_ACTIVE_ORDER_ERROR
+
ORDER_INTERCEPTOR_ERROR
ORDER_PAYMENT_STATE_ERROR
INELIGIBLE_PAYMENT_METHOD_ERROR
PAYMENT_FAILED_ERROR
diff --git a/docs/docs/reference/graphql-api/shop/object-types.md b/docs/docs/reference/graphql-api/shop/object-types.md index eb54c9df09..bc0ce90f81 100644 --- a/docs/docs/reference/graphql-api/shop/object-types.md +++ b/docs/docs/reference/graphql-api/shop/object-types.md @@ -224,8 +224,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
ui: JSON
@@ -737,8 +735,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
min: String
max: String
@@ -989,8 +985,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
min: Float
max: Float
@@ -1245,8 +1239,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
min: Int
max: Int
@@ -1594,6 +1586,23 @@ import MemberDescription from '@site/src/components/MemberDescription';
customFields: JSON
+
}
+ + +## OrderInterceptorError + +
+
"""
+
Returned when an order operation is rejected by an OrderInterceptor method.
+
"""
+
type OrderInterceptorError {
+
errorCode: ErrorCode!
+ +
message: String!
+ +
interceptorError: String!
+ +
}
@@ -2544,7 +2553,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## RequestPasswordResetResult @@ -2927,8 +2936,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
length: Int
-
nullable: Boolean
-
pattern: String
options: [StringFieldOption!]
@@ -3157,8 +3164,6 @@ import MemberDescription from '@site/src/components/MemberDescription';
description: [LocalizedString!]
-
nullable: Boolean
-
ui: JSON
@@ -3190,7 +3195,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## Upload diff --git a/docs/docs/reference/typescript-api/assets/asset-options.md b/docs/docs/reference/typescript-api/assets/asset-options.md index fdfe197fb8..2951a2b9ae 100644 --- a/docs/docs/reference/typescript-api/assets/asset-options.md +++ b/docs/docs/reference/typescript-api/assets/asset-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## AssetOptions - + The AssetOptions define how assets (images and other files) are named and stored, and how preview images are generated. diff --git a/docs/docs/reference/typescript-api/auth/auth-options.md b/docs/docs/reference/typescript-api/auth/auth-options.md index f32c34c2e1..1a979f8c54 100644 --- a/docs/docs/reference/typescript-api/auth/auth-options.md +++ b/docs/docs/reference/typescript-api/auth/auth-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## AuthOptions - + The AuthOptions define how authentication and authorization is managed. diff --git a/docs/docs/reference/typescript-api/auth/cookie-options.md b/docs/docs/reference/typescript-api/auth/cookie-options.md index 9e83c434b1..978ea2c84f 100644 --- a/docs/docs/reference/typescript-api/auth/cookie-options.md +++ b/docs/docs/reference/typescript-api/auth/cookie-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## CookieOptions - + Options for the handling of the cookies used to track sessions (only applicable if `authOptions.tokenMethod` is set to `'cookie'`). These options are passed directly diff --git a/docs/docs/reference/typescript-api/auth/superadmin-credentials.md b/docs/docs/reference/typescript-api/auth/superadmin-credentials.md index e5ea004fa8..29cd8db016 100644 --- a/docs/docs/reference/typescript-api/auth/superadmin-credentials.md +++ b/docs/docs/reference/typescript-api/auth/superadmin-credentials.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## SuperadminCredentials - + These credentials will be used to create the Superadmin user & administrator when Vendure first bootstraps. diff --git a/docs/docs/reference/typescript-api/common/currency-code.md b/docs/docs/reference/typescript-api/common/currency-code.md index d881fd3ec1..a377e45db1 100644 --- a/docs/docs/reference/typescript-api/common/currency-code.md +++ b/docs/docs/reference/typescript-api/common/currency-code.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## CurrencyCode - + ISO 4217 currency code diff --git a/docs/docs/reference/typescript-api/common/entity-relation-paths.md b/docs/docs/reference/typescript-api/common/entity-relation-paths.md index 9147ceac3d..d185ae6400 100644 --- a/docs/docs/reference/typescript-api/common/entity-relation-paths.md +++ b/docs/docs/reference/typescript-api/common/entity-relation-paths.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## EntityRelationPaths - + This type allows type-safe access to entity relations using strings with dot notation. It works to 2 levels deep. diff --git a/docs/docs/reference/typescript-api/common/job-state.md b/docs/docs/reference/typescript-api/common/job-state.md index 819cf8523a..9046d4117b 100644 --- a/docs/docs/reference/typescript-api/common/job-state.md +++ b/docs/docs/reference/typescript-api/common/job-state.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## JobState - + The state of a Job in the JobQueue diff --git a/docs/docs/reference/typescript-api/common/language-code.md b/docs/docs/reference/typescript-api/common/language-code.md index 38b00f3e89..5c62fe97c1 100644 --- a/docs/docs/reference/typescript-api/common/language-code.md +++ b/docs/docs/reference/typescript-api/common/language-code.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## LanguageCode - + Languages in the form of a ISO 639-1 language code with optional region or script modifier (e.g. de_AT). The selection available is based diff --git a/docs/docs/reference/typescript-api/common/permission.md b/docs/docs/reference/typescript-api/common/permission.md index b9aa0a06e3..7f87465ed1 100644 --- a/docs/docs/reference/typescript-api/common/permission.md +++ b/docs/docs/reference/typescript-api/common/permission.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## Permission - + Permissions for administrators and customers. Used to control access to GraphQL resolvers via the Allow decorator. diff --git a/docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md b/docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md index 452f114727..da8e2b0b83 100644 --- a/docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md +++ b/docs/docs/reference/typescript-api/configurable-operation-def/default-form-config-hash.md @@ -29,15 +29,15 @@ type DefaultFormConfigHash = { 'product-selector-form-input': Record; 'relation-form-input': Record; 'rich-text-form-input': Record; - 'select-form-input': { - options?: Array<{ value: string; label?: Array> }>; + 'select-form-input': { + options?: Array<{ value: string; label?: Array> }>; }; 'text-form-input': { prefix?: string; suffix?: string }; - 'textarea-form-input': { - spellcheck?: boolean; + 'textarea-form-input': { + spellcheck?: boolean; }; - 'product-multi-form-input': { - selectionMode?: 'product' | 'variant'; + 'product-multi-form-input': { + selectionMode?: 'product' | 'variant'; }; 'combination-mode-form-input': Record; 'struct-form-input': Record; @@ -108,7 +108,7 @@ type DefaultFormConfigHash = { ### 'select-form-input' - + ### 'text-form-input' @@ -118,12 +118,12 @@ type DefaultFormConfigHash = { ### 'textarea-form-input' - + ### 'product-multi-form-input' - + ### 'combination-mode-form-input' diff --git a/docs/docs/reference/typescript-api/configuration/api-options.md b/docs/docs/reference/typescript-api/configuration/api-options.md index 4d40b27232..af4db15b97 100644 --- a/docs/docs/reference/typescript-api/configuration/api-options.md +++ b/docs/docs/reference/typescript-api/configuration/api-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## ApiOptions - + The ApiOptions define how the Vendure GraphQL APIs are exposed, as well as allowing the API layer to be extended with middleware. diff --git a/docs/docs/reference/typescript-api/configuration/entity-duplicator.md b/docs/docs/reference/typescript-api/configuration/entity-duplicator.md index cd26019426..339589e905 100644 --- a/docs/docs/reference/typescript-api/configuration/entity-duplicator.md +++ b/docs/docs/reference/typescript-api/configuration/entity-duplicator.md @@ -13,7 +13,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; -An EntityDuplicator is used to define the logic for duplicating entities when the `duplicateEntity` mutation is called. +An EntityDuplicator is used to define the logic for duplicating entities when the `duplicateEntity` mutation is called. This allows you to add support for duplication of both core and custom entities. *Example* @@ -102,11 +102,11 @@ export const config: VendureConfig = { ```ts title="Signature" class EntityDuplicator extends ConfigurableOperationDef { constructor(config: EntityDuplicatorConfig) - duplicate(input: { - ctx: RequestContext; - entityName: string; - id: ID; - args: ConfigArg[]; + duplicate(input: { + ctx: RequestContext; + entityName: string; + id: ID; + args: ConfigArg[]; }) => Promise; } ``` @@ -123,7 +123,7 @@ class EntityDuplicator extends ConfigurableOp ### duplicate -RequestContext; entityName: string; id: ID; args: ConfigArg[]; }) => Promise<VendureEntity>`} /> +RequestContext; entityName: string; id: ID; args: ConfigArg[]; }) => Promise<VendureEntity>`} /> @@ -138,11 +138,11 @@ class EntityDuplicator extends ConfigurableOp A function which performs the duplication of an entity. ```ts title="Signature" -type DuplicateEntityFn = (input: { - ctx: RequestContext; - entityName: string; - id: ID; - args: ConfigArgValues; +type DuplicateEntityFn = (input: { + ctx: RequestContext; + entityName: string; + id: ID; + args: ConfigArgValues; }) => Promise ``` @@ -170,7 +170,7 @@ interface EntityDuplicatorConfig extends ConfigurableOpera Permission | string> | Permission | string`} /> -The permissions required in order to execute this duplicator. If an array is passed, +The permissions required in order to execute this duplicator. If an array is passed, then the administrator must have at least one of the permissions in the array. ### forEntities diff --git a/docs/docs/reference/typescript-api/configuration/entity-options.md b/docs/docs/reference/typescript-api/configuration/entity-options.md index dd25c79118..c081aaa18e 100644 --- a/docs/docs/reference/typescript-api/configuration/entity-options.md +++ b/docs/docs/reference/typescript-api/configuration/entity-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## EntityOptions - + Options relating to the internal handling of entities. diff --git a/docs/docs/reference/typescript-api/configuration/runtime-vendure-config.md b/docs/docs/reference/typescript-api/configuration/runtime-vendure-config.md index 2d1c9361f2..2440b19eef 100644 --- a/docs/docs/reference/typescript-api/configuration/runtime-vendure-config.md +++ b/docs/docs/reference/typescript-api/configuration/runtime-vendure-config.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## RuntimeVendureConfig - + This interface represents the VendureConfig object available at run-time, i.e. the user-supplied config values have been merged with the defaultConfig values. diff --git a/docs/docs/reference/typescript-api/configuration/system-options.md b/docs/docs/reference/typescript-api/configuration/system-options.md index 9efbd0865a..e5544e5d61 100644 --- a/docs/docs/reference/typescript-api/configuration/system-options.md +++ b/docs/docs/reference/typescript-api/configuration/system-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## SystemOptions - + Options relating to system functions. diff --git a/docs/docs/reference/typescript-api/configuration/vendure-config.md b/docs/docs/reference/typescript-api/configuration/vendure-config.md index 535c5907a8..07c3283d2f 100644 --- a/docs/docs/reference/typescript-api/configuration/vendure-config.md +++ b/docs/docs/reference/typescript-api/configuration/vendure-config.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## VendureConfig - + All possible configuration options are defined by the [`VendureConfig`](https://github.com/vendure-ecommerce/vendure/blob/master/server/src/config/vendure-config.ts) interface. diff --git a/docs/docs/reference/typescript-api/custom-fields/index.md b/docs/docs/reference/typescript-api/custom-fields/index.md index 711aa093bd..59f313cdee 100644 --- a/docs/docs/reference/typescript-api/custom-fields/index.md +++ b/docs/docs/reference/typescript-api/custom-fields/index.md @@ -13,7 +13,8 @@ import MemberDescription from '@site/src/components/MemberDescription'; -Most entities can have additional fields added to them by defining an array of CustomFieldConfigobjects on against the corresponding key. +Most entities can have additional fields added to them by defining an array of CustomFieldConfig +objects on against the corresponding key. *Example* diff --git a/docs/docs/reference/typescript-api/data-access/calculated.md b/docs/docs/reference/typescript-api/data-access/calculated.md index a17c13cdf1..a48f4a67af 100644 --- a/docs/docs/reference/typescript-api/data-access/calculated.md +++ b/docs/docs/reference/typescript-api/data-access/calculated.md @@ -14,7 +14,8 @@ import MemberDescription from '@site/src/components/MemberDescription'; Used to define calculated entity getters. The decorator simply attaches an array of "calculated" -property names to the entity's prototype. This array is then used by the CalculatedPropertySubscriberto transfer the getter function from the prototype to the entity instance. +property names to the entity's prototype. This array is then used by the CalculatedPropertySubscriber +to transfer the getter function from the prototype to the entity instance. ```ts title="Signature" function Calculated(queryInstruction?: CalculatedColumnQueryInstruction): MethodDecorator diff --git a/docs/docs/reference/typescript-api/data-access/transactional-connection.md b/docs/docs/reference/typescript-api/data-access/transactional-connection.md index 0795e052f7..eda51ff832 100644 --- a/docs/docs/reference/typescript-api/data-access/transactional-connection.md +++ b/docs/docs/reference/typescript-api/data-access/transactional-connection.md @@ -13,12 +13,12 @@ import MemberDescription from '@site/src/components/MemberDescription'; -The TransactionalConnection is a wrapper around the TypeORM `Connection` object which works in conjunction -with the Transaction decorator to implement per-request transactions. All services which access the -database should use this class rather than the raw TypeORM connection, to ensure that db changes can be -easily wrapped in transactions when required. - -The service layer does not need to know about the scope of a transaction, as this is covered at the +The TransactionalConnection is a wrapper around the TypeORM `Connection` object which works in conjunction +with the Transaction decorator to implement per-request transactions. All services which access the +database should use this class rather than the raw TypeORM connection, to ensure that db changes can be +easily wrapped in transactions when required. + +The service layer does not need to know about the scope of a transaction, as this is covered at the API by the use of the `Transaction` decorator. ```ts title="Signature" @@ -26,11 +26,11 @@ class TransactionalConnection { constructor(dataSource: DataSource, transactionWrapper: TransactionWrapper) rawConnection: DataSource getRepository(target: ObjectType | EntitySchema | string) => Repository; - getRepository(ctx: RequestContext | undefined, target: ObjectType | EntitySchema | string, options?: { - replicationMode?: ReplicationMode; + getRepository(ctx: RequestContext | undefined, target: ObjectType | EntitySchema | string, options?: { + replicationMode?: ReplicationMode; }) => Repository; - getRepository(ctxOrTarget: RequestContext | ObjectType | EntitySchema | string | undefined, maybeTarget?: ObjectType | EntitySchema | string, options?: { - replicationMode?: ReplicationMode; + getRepository(ctxOrTarget: RequestContext | ObjectType | EntitySchema | string | undefined, maybeTarget?: ObjectType | EntitySchema | string, options?: { + replicationMode?: ReplicationMode; }) => Repository; withTransaction(work: (ctx: RequestContext) => Promise) => Promise; withTransaction(ctx: RequestContext, work: (ctx: RequestContext) => Promise) => Promise; @@ -55,53 +55,53 @@ class TransactionalConnection { -The plain TypeORM Connection object. Should be used carefully as any operations -performed with this connection will not be performed within any outer +The plain TypeORM Connection object. Should be used carefully as any operations +performed with this connection will not be performed within any outer transactions. ### getRepository Repository<Entity>`} /> -Returns a TypeORM repository. Note that when no RequestContext is supplied, the repository will not -be aware of any existing transaction. Therefore, calling this method without supplying a RequestContext +Returns a TypeORM repository. Note that when no RequestContext is supplied, the repository will not +be aware of any existing transaction. Therefore, calling this method without supplying a RequestContext is discouraged without a deliberate reason. ### getRepository -RequestContext | undefined, target: ObjectType<Entity> | EntitySchema<Entity> | string, options?: { replicationMode?: ReplicationMode; }) => Repository<Entity>`} /> - -Returns a TypeORM repository which is bound to any existing transactions. It is recommended to _always_ pass -the RequestContext argument when possible, otherwise the queries will be executed outside of any -ongoing transactions which have been started by the Transaction decorator. +RequestContext | undefined, target: ObjectType<Entity> | EntitySchema<Entity> | string, options?: { replicationMode?: ReplicationMode; }) => Repository<Entity>`} /> -The `options` parameter allows specifying additional configurations, such as the `replicationMode`, +Returns a TypeORM repository which is bound to any existing transactions. It is recommended to _always_ pass +the RequestContext argument when possible, otherwise the queries will be executed outside of any +ongoing transactions which have been started by the Transaction decorator. + +The `options` parameter allows specifying additional configurations, such as the `replicationMode`, which determines whether the repository should interact with the master or replica database. ### getRepository -RequestContext | ObjectType<Entity> | EntitySchema<Entity> | string | undefined, maybeTarget?: ObjectType<Entity> | EntitySchema<Entity> | string, options?: { replicationMode?: ReplicationMode; }) => Repository<Entity>`} /> +RequestContext | ObjectType<Entity> | EntitySchema<Entity> | string | undefined, maybeTarget?: ObjectType<Entity> | EntitySchema<Entity> | string, options?: { replicationMode?: ReplicationMode; }) => Repository<Entity>`} /> -Returns a TypeORM repository. Depending on the parameters passed, it will either be transaction-aware -or not. If `RequestContext` is provided, the repository is bound to any ongoing transactions. The +Returns a TypeORM repository. Depending on the parameters passed, it will either be transaction-aware +or not. If `RequestContext` is provided, the repository is bound to any ongoing transactions. The `options` parameter allows further customization, such as selecting the replication mode (e.g., 'master'). ### withTransaction RequestContext) => Promise<T>) => Promise<T>`} since="1.3.0" /> -Allows database operations to be wrapped in a transaction, ensuring that in the event of an error being -thrown at any point, the entire transaction will be rolled back and no changes will be saved. - -In the context of API requests, you should instead use the Transaction decorator on your resolver or -controller method. - -On the other hand, for code that does not run in the context of a GraphQL/REST request, this method -should be used to protect against non-atomic changes to the data which could leave your data in an -inconsistent state. - -Such situations include function processed by the JobQueue or stand-alone scripts which make use -of Vendure internal services. - -If there is already a RequestContext object available, you should pass it in as the first -argument in order to create transactional context as the copy. If not, omit the first argument and an empty -RequestContext object will be created, which is then used to propagate the transaction to +Allows database operations to be wrapped in a transaction, ensuring that in the event of an error being +thrown at any point, the entire transaction will be rolled back and no changes will be saved. + +In the context of API requests, you should instead use the Transaction decorator on your resolver or +controller method. + +On the other hand, for code that does not run in the context of a GraphQL/REST request, this method +should be used to protect against non-atomic changes to the data which could leave your data in an +inconsistent state. + +Such situations include function processed by the JobQueue or stand-alone scripts which make use +of Vendure internal services. + +If there is already a RequestContext object available, you should pass it in as the first +argument in order to create transactional context as the copy. If not, omit the first argument and an empty +RequestContext object will be created, which is then used to propagate the transaction to all inner method calls. *Example* @@ -137,40 +137,40 @@ private async transferCredit(outerCtx: RequestContext, fromId: ID, toId: ID, amo RequestContext, isolationLevel?: TransactionIsolationLevel) => `} /> -Manually start a transaction if one is not already in progress. This method should be used in +Manually start a transaction if one is not already in progress. This method should be used in conjunction with the `'manual'` mode of the Transaction decorator. ### commitOpenTransaction RequestContext) => `} /> -Manually commits any open transaction. Should be very rarely needed, since the Transaction decorator -and the internal TransactionInterceptor take care of this automatically. Use-cases include situations -in which the worker thread needs to access changes made in the current transaction, or when using the +Manually commits any open transaction. Should be very rarely needed, since the Transaction decorator +and the internal TransactionInterceptor take care of this automatically. Use-cases include situations +in which the worker thread needs to access changes made in the current transaction, or when using the Transaction decorator in manual mode. ### rollBackTransaction RequestContext) => `} /> -Manually rolls back any open transaction. Should be very rarely needed, since the Transaction decorator -and the internal TransactionInterceptor take care of this automatically. Use-cases include when using the +Manually rolls back any open transaction. Should be very rarely needed, since the Transaction decorator +and the internal TransactionInterceptor take care of this automatically. Use-cases include when using the Transaction decorator in manual mode. ### getEntityOrThrow RequestContext, entityType: Type<T>, id: ID, options: GetEntityOrThrowOptions<T> = {}) => Promise<T>`} /> -Finds an entity of the given type by ID, or throws an `EntityNotFoundError` if none +Finds an entity of the given type by ID, or throws an `EntityNotFoundError` if none is found. ### findOneInChannel RequestContext, entity: Type<T>, id: ID, channelId: ID, options: FindOneOptions<T> = {}) => `} /> -Like the TypeOrm `Repository.findOne()` method, but limits the results to +Like the TypeOrm `Repository.findOne()` method, but limits the results to the given Channel. ### findByIdsInChannel RequestContext, entity: Type<T>, ids: ID[], channelId: ID, options: FindManyOptions<T>) => `} /> -Like the TypeOrm `Repository.findByIds()` method, but limits the results to +Like the TypeOrm `Repository.findByIds()` method, but limits the results to the given Channel. diff --git a/docs/docs/reference/typescript-api/default-search-plugin/index.md b/docs/docs/reference/typescript-api/default-search-plugin/index.md index cd72ce9522..07efdd07b9 100644 --- a/docs/docs/reference/typescript-api/default-search-plugin/index.md +++ b/docs/docs/reference/typescript-api/default-search-plugin/index.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## DefaultSearchPlugin - + The DefaultSearchPlugin provides a full-text Product search based on the full-text searching capabilities of the underlying database. diff --git a/docs/docs/reference/typescript-api/entities/promotion.md b/docs/docs/reference/typescript-api/entities/promotion.md index f84e631adf..f25c5712f3 100644 --- a/docs/docs/reference/typescript-api/entities/promotion.md +++ b/docs/docs/reference/typescript-api/entities/promotion.md @@ -13,42 +13,42 @@ import MemberDescription from '@site/src/components/MemberDescription'; -A Promotion is used to define a set of conditions under which promotions actions (typically discounts) -will be applied to an Order. - -Each assigned PromotionCondition is checked against the Order, and if they all return `true`, +A Promotion is used to define a set of conditions under which promotions actions (typically discounts) +will be applied to an Order. + +Each assigned PromotionCondition is checked against the Order, and if they all return `true`, then each assign PromotionItemAction / PromotionLineAction / PromotionOrderAction / PromotionShippingAction is applied to the Order. ```ts title="Signature" class Promotion extends AdjustmentSource implements ChannelAware, SoftDeletable, HasCustomFields, Translatable { type = AdjustmentType.PROMOTION; - constructor(input?: DeepPartial & { - promotionConditions?: Array>; - promotionActions?: Array>; + constructor(input?: DeepPartial & { + promotionConditions?: Array>; + promotionActions?: Array>; }) - @Column({ type: Date, nullable: true }) + @Column({ type: Date, nullable: true }) deletedAt: Date | null; - @Column({ type: Date, nullable: true }) + @Column({ type: Date, nullable: true }) startsAt: Date | null; - @Column({ type: Date, nullable: true }) + @Column({ type: Date, nullable: true }) endsAt: Date | null; - @Column({ nullable: true }) + @Column({ nullable: true }) couponCode: string; - @Column({ nullable: true }) + @Column({ nullable: true }) perCustomerUsageLimit: number; - @Column({ nullable: true }) + @Column({ nullable: true }) usageLimit: number; name: LocaleString; description: LocaleString; - @OneToMany(type => PromotionTranslation, translation => translation.base, { eager: true }) + @OneToMany(type => PromotionTranslation, translation => translation.base, { eager: true }) translations: Array>; @Column() enabled: boolean; - @ManyToMany(type => Channel, channel => channel.promotions) - @JoinTable() + @ManyToMany(type => Channel, channel => channel.promotions) + @JoinTable() channels: Channel[]; - @ManyToMany(type => Order, order => order.promotions) + @ManyToMany(type => Order, order => order.promotions) orders: Order[]; - @Column(type => CustomPromotionFields) + @Column(type => CustomPromotionFields) customFields: CustomPromotionFields; @Column('simple-json') conditions: ConfigurableOperation[]; @Column('simple-json') actions: ConfigurableOperation[]; @@ -75,7 +75,7 @@ class Promotion extends AdjustmentSource implements ChannelAware, SoftDeletable, ### constructor -Promotion> & { promotionConditions?: Array<PromotionCondition<any>>; promotionActions?: Array<PromotionAction<any>>; }) => Promotion`} /> +Promotion> & { promotionConditions?: Array<PromotionCondition<any>>; promotionActions?: Array<PromotionAction<any>>; }) => Promotion`} /> ### deletedAt @@ -157,17 +157,17 @@ class Promotion extends AdjustmentSource implements ChannelAware, SoftDeletable, -The PriorityScore is used to determine the sequence in which multiple promotions are tested -on a given order. A higher number moves the Promotion towards the end of the sequence. - -The score is derived from the sum of the priorityValues of the PromotionConditions and -PromotionActions comprising this Promotion. - -An example illustrating the need for a priority is this: - - -Consider 2 Promotions, 1) buy 1 get one free and 2) 10% off when order total is over $50. -If Promotion 2 is evaluated prior to Promotion 1, then it can trigger the 10% discount even +The PriorityScore is used to determine the sequence in which multiple promotions are tested +on a given order. A higher number moves the Promotion towards the end of the sequence. + +The score is derived from the sum of the priorityValues of the PromotionConditions and +PromotionActions comprising this Promotion. + +An example illustrating the need for a priority is this: + + +Consider 2 Promotions, 1) buy 1 get one free and 2) 10% off when order total is over $50. +If Promotion 2 is evaluated prior to Promotion 1, then it can trigger the 10% discount even if the subsequent application of Promotion 1 brings the order total down to way below $50. ### apply diff --git a/docs/docs/reference/typescript-api/events/event-types.md b/docs/docs/reference/typescript-api/events/event-types.md index eeef28ca76..838058f7bc 100644 --- a/docs/docs/reference/typescript-api/events/event-types.md +++ b/docs/docs/reference/typescript-api/events/event-types.md @@ -13,7 +13,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; -This event is fired when a new user registers an account, either as a stand-alone signup or after +This event is fired when a new user registers an account, either as a stand-alone signup or after placing an order. ```ts title="Signature" @@ -41,7 +41,7 @@ class AccountRegistrationEvent extends VendureEvent { -This event is fired when a users email address successfully gets verified after +This event is fired when a users email address successfully gets verified after the `verifyCustomerAccount` mutation was executed. ```ts title="Signature" @@ -96,7 +96,7 @@ class AdministratorEvent extends VendureEntityEvent -This event is fired whenever an Asset is assigned or removed +This event is fired whenever an Asset is assigned or removed From a channel. ```ts title="Signature" @@ -157,8 +157,8 @@ class AssetEvent extends VendureEntityEvent { -This event is fired when an attempt is made to log in via the shop or admin API `login` mutation. -The `strategy` represents the name of the AuthenticationStrategy used in the login attempt. +This event is fired when an attempt is made to log in via the shop or admin API `login` mutation. +The `strategy` represents the name of the AuthenticationStrategy used in the login attempt. If the "native" strategy is used, the additional `identifier` property will be available. ```ts title="Signature" @@ -186,7 +186,7 @@ class AttemptedLoginEvent extends VendureEvent { -This event is fired whenever an ChannelAware entity is assigned or removed +This event is fired whenever an ChannelAware entity is assigned or removed from a channel. The entity property contains the value before updating the channels. ```ts title="Signature" @@ -268,10 +268,10 @@ class CollectionEvent extends VendureEntityEvent -This event is fired whenever a Collection is modified in some way. The `productVariantIds` -argument is an array of ids of all ProductVariants which: - -1. were part of this collection prior to modification and are no longer +This event is fired whenever a Collection is modified in some way. The `productVariantIds` +argument is an array of ids of all ProductVariants which: + +1. were part of this collection prior to modification and are no longer 2. are now part of this collection after modification but were not before ```ts title="Signature" @@ -326,7 +326,7 @@ class CountryEvent extends VendureEntityEvent { -This event is fired whenever an coupon code of an active Promotion +This event is fired whenever an coupon code of an active Promotion is assigned or removed to an Order. ```ts title="Signature" @@ -354,7 +354,7 @@ class CouponCodeEvent extends VendureEvent { -This event is fired whenever a Address is added, updated +This event is fired whenever a Address is added, updated or deleted. ```ts title="Signature" @@ -388,7 +388,7 @@ class CustomerAddressEvent extends VendureEntityEvent -This event is fired whenever a Customer is added, updated +This event is fired whenever a Customer is added, updated or deleted. ```ts title="Signature" @@ -422,7 +422,7 @@ class CustomerEvent extends VendureEntityEvent { -This event is fired whenever one or more Customer is assigned to or removed from a +This event is fired whenever one or more Customer is assigned to or removed from a CustomerGroup. ```ts title="Signature" @@ -585,7 +585,7 @@ class FulfillmentStateTransitionEvent extends VendureEvent { -This event is fired whenever a GlobalSettings is added. The type is always `updated`, because it's +This event is fired whenever a GlobalSettings is added. The type is always `updated`, because it's only created once and never deleted. ```ts title="Signature" @@ -646,7 +646,7 @@ class HistoryEntryEvent extends VendureEntityEvent { -This event is fired when a registered user successfully changes the identifier (ie email address) +This event is fired when a registered user successfully changes the identifier (ie email address) associated with their account. ```ts title="Signature" @@ -674,7 +674,7 @@ class IdentifierChangeEvent extends VendureEvent { -This event is fired when a registered user requests to update the identifier (ie email address) +This event is fired when a registered user requests to update the identifier (ie email address) associated with the account. ```ts title="Signature" @@ -783,7 +783,7 @@ class LogoutEvent extends VendureEvent { -This event is fired whenever an Order is added, updated +This event is fired whenever an Order is added, updated or deleted. ```ts title="Signature" @@ -811,7 +811,7 @@ class OrderEvent extends VendureEvent { -This event is fired whenever an OrderLine is added, updated +This event is fired whenever an OrderLine is added, updated or deleted. ```ts title="Signature" @@ -839,10 +839,10 @@ class OrderLineEvent extends VendureEvent { -This event is fired whenever an Order is set as "placed", which by default is -when it transitions from 'ArrangingPayment' to either 'PaymentAuthorized' or 'PaymentSettled'. - -Note that the exact point that it is set as "placed" can be configured according to the +This event is fired whenever an Order is set as "placed", which by default is +when it transitions from 'ArrangingPayment' to either 'PaymentAuthorized' or 'PaymentSettled'. + +Note that the exact point that it is set as "placed" can be configured according to the OrderPlacedStrategy. ```ts title="Signature" @@ -951,7 +951,7 @@ class PasswordResetVerifiedEvent extends VendureEvent { -This event is fired whenever a PaymentMethod is added, updated +This event is fired whenever a PaymentMethod is added, updated or deleted. ```ts title="Signature" @@ -979,7 +979,7 @@ class PaymentMethodEvent extends VendureEntityEvent -This event is fired whenever a Payment transitions from one PaymentState to another, e.g. +This event is fired whenever a Payment transitions from one PaymentState to another, e.g. a Payment is authorized by the payment provider. ```ts title="Signature" @@ -1007,7 +1007,7 @@ class PaymentStateTransitionEvent extends VendureEvent { -This event is fired whenever a Product is added, updated +This event is fired whenever a Product is added, updated or deleted. ```ts title="Signature" @@ -1035,7 +1035,7 @@ class ProductChannelEvent extends VendureEvent { -This event is fired whenever a Product is added, updated +This event is fired whenever a Product is added, updated or deleted. ```ts title="Signature" @@ -1126,14 +1126,14 @@ class ProductOptionGroupChangeEvent extends VendureEvent { This event is fired whenever a ProductOptionGroup is added or updated. ```ts title="Signature" -class ProductOptionGroupEvent extends VendureEntityEvent< - ProductOptionGroup, - ProductOptionGroupInputTypes +class ProductOptionGroupEvent extends VendureEntityEvent< + ProductOptionGroup, + ProductOptionGroupInputTypes > { constructor(ctx: RequestContext, entity: ProductOptionGroup, type: 'created' | 'updated' | 'deleted', input?: ProductOptionGroupInputTypes) } ``` -* Extends: VendureEntityEvent< ProductOptionGroup, ProductOptionGroupInputTypes > +* Extends: VendureEntityEvent< ProductOptionGroup, ProductOptionGroupInputTypes > @@ -1180,7 +1180,7 @@ class ProductVariantChannelEvent extends VendureEvent { -This event is fired whenever a ProductVariant is added, updated +This event is fired whenever a ProductVariant is added, updated or deleted. ```ts title="Signature" @@ -1217,14 +1217,14 @@ class ProductVariantEvent extends VendureEntityEventProductVariantPrice is added, updated or deleted. ```ts title="Signature" -class ProductVariantPriceEvent extends VendureEntityEvent< - ProductVariantPrice[], - ProductVariantInputTypes +class ProductVariantPriceEvent extends VendureEntityEvent< + ProductVariantPrice[], + ProductVariantInputTypes > { constructor(ctx: RequestContext, entity: ProductVariantPrice[], type: 'created' | 'updated' | 'deleted', input?: ProductVariantInputTypes) } ``` -* Extends: VendureEntityEvent< ProductVariantPrice[], ProductVariantInputTypes > +* Extends: VendureEntityEvent< ProductVariantPrice[], ProductVariantInputTypes > @@ -1244,7 +1244,7 @@ class ProductVariantPriceEvent extends VendureEntityEvent< -This event is fired whenever a Promotion is added, updated +This event is fired whenever a Promotion is added, updated or deleted. ```ts title="Signature" @@ -1353,7 +1353,7 @@ class RefundStateTransitionEvent extends VendureEvent { -This event is fired whenever one Role is assigned or removed from a user. +This event is fired whenever one Role is assigned or removed from a user. The property `roleIds` only contains the removed or assigned role ids. ```ts title="Signature" @@ -1462,7 +1462,7 @@ class SellerEvent extends VendureEntityEvent { -This event is fired whenever a ShippingMethod is added, updated +This event is fired whenever a ShippingMethod is added, updated or deleted. ```ts title="Signature" @@ -1490,7 +1490,7 @@ class ShippingMethodEvent extends VendureEntityEvent -This event is fired whenever a StockMovement entity is created, which occurs when the saleable +This event is fired whenever a StockMovement entity is created, which occurs when the saleable stock level of a ProductVariant is altered due to things like sales, manual adjustments, and cancellations. ```ts title="Signature" @@ -1524,7 +1524,7 @@ class StockMovementEvent extends VendureEvent { -This event is fired whenever a TaxCategory is added, updated +This event is fired whenever a TaxCategory is added, updated or deleted. ```ts title="Signature" @@ -1552,7 +1552,7 @@ class TaxCategoryEvent extends VendureEntityEvent -This event is fired whenever a TaxRate is added, updated +This event is fired whenever a TaxRate is added, updated or deleted. ```ts title="Signature" @@ -1607,7 +1607,7 @@ class TaxRateModificationEvent extends VendureEvent { -This event is fired whenever a Zone is added, updated +This event is fired whenever a Zone is added, updated or deleted. ```ts title="Signature" @@ -1635,7 +1635,7 @@ class ZoneEvent extends VendureEntityEvent { -This event is fired whenever a Zone gets Country members assigned or removed +This event is fired whenever a Zone gets Country members assigned or removed The `entity` property contains the zone with the already updated member field. ```ts title="Signature" diff --git a/docs/docs/reference/typescript-api/fulfillment/fulfillment-process.md b/docs/docs/reference/typescript-api/fulfillment/fulfillment-process.md index 686010cb71..412a198e37 100644 --- a/docs/docs/reference/typescript-api/fulfillment/fulfillment-process.md +++ b/docs/docs/reference/typescript-api/fulfillment/fulfillment-process.md @@ -13,13 +13,13 @@ import MemberDescription from '@site/src/components/MemberDescription'; -The default FulfillmentProcess. This process includes the following actions: - -- Executes the configured `FulfillmentHandler.onFulfillmentTransition()` before any state - transition. -- On cancellation of a Fulfillment, creates the necessary Cancellation & Allocation - stock movement records. -- When a Fulfillment transitions from the `Created` to `Pending` state, the necessary +The default FulfillmentProcess. This process includes the following actions: + +- Executes the configured `FulfillmentHandler.onFulfillmentTransition()` before any state + transition. +- On cancellation of a Fulfillment, creates the necessary Cancellation & Allocation + stock movement records. +- When a Fulfillment transitions from the `Created` to `Pending` state, the necessary Sale stock movements are created. @@ -28,16 +28,16 @@ The default StateMachineConfig docs. ```ts title="Signature" interface FulfillmentProcess extends InjectableStrategy { - transitions?: Transitions & + transitions?: Transitions & Partial>; onTransitionStart?: OnTransitionStartFn; onTransitionEnd?: OnTransitionEndFn; @@ -52,7 +52,7 @@ interface FulfillmentProcessTransitions<State, State | FulfillmentState> & Partial<Transitions<FulfillmentState | State>>`} /> +Transitions<State, State | FulfillmentState> & Partial<Transitions<FulfillmentState | State>>`} /> ### onTransitionStart diff --git a/docs/docs/reference/typescript-api/import-export/default-asset-import-strategy.md b/docs/docs/reference/typescript-api/import-export/default-asset-import-strategy.md index 0a95b0a4a0..9141703c1a 100644 --- a/docs/docs/reference/typescript-api/import-export/default-asset-import-strategy.md +++ b/docs/docs/reference/typescript-api/import-export/default-asset-import-strategy.md @@ -13,14 +13,14 @@ import MemberDescription from '@site/src/components/MemberDescription'; -The DefaultAssetImportStrategy is able to import paths from the local filesystem (taking into account the +The DefaultAssetImportStrategy is able to import paths from the local filesystem (taking into account the `importExportOptions.importAssetsDir` setting) as well as remote http/https urls. ```ts title="Signature" class DefaultAssetImportStrategy implements AssetImportStrategy { - constructor(options?: { - retryDelayMs: number; - retryCount: number; + constructor(options?: { + retryDelayMs: number; + retryCount: number; }) init(injector: Injector) => ; getStreamFromPath(assetPath: string) => ; @@ -34,7 +34,7 @@ class DefaultAssetImportStrategy implements AssetImportStrategy { ### constructor - DefaultAssetImportStrategy`} /> + DefaultAssetImportStrategy`} /> ### init diff --git a/docs/docs/reference/typescript-api/import-export/import-export-options.md b/docs/docs/reference/typescript-api/import-export/import-export-options.md index 9ccc69fb90..357cc1addd 100644 --- a/docs/docs/reference/typescript-api/import-export/import-export-options.md +++ b/docs/docs/reference/typescript-api/import-export/import-export-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## ImportExportOptions - + Options related to importing & exporting data. diff --git a/docs/docs/reference/typescript-api/import-export/import-parser.md b/docs/docs/reference/typescript-api/import-export/import-parser.md index d914728c85..7b5b755746 100644 --- a/docs/docs/reference/typescript-api/import-export/import-parser.md +++ b/docs/docs/reference/typescript-api/import-export/import-parser.md @@ -13,7 +13,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; -Validates and parses CSV files into a data structure which can then be used to created new entities. +Validates and parses CSV files into a data structure which can then be used to created new entities. This is used internally by the Importer. ```ts title="Signature" @@ -28,7 +28,7 @@ class ImportParser { LanguageCode = this.configService.defaultLanguageCode) => Promise<ParseResult<ParsedProductWithVariants>>`} /> -Parses the contents of the [product import CSV file](/guides/developer-guide/importing-data/#product-import-format) and +Parses the contents of the [product import CSV file](/guides/developer-guide/importing-data/#product-import-format) and returns a data structure which can then be used to populate Vendure using the FastImporterService. @@ -39,15 +39,15 @@ returns a data structure which can then be used to populate Vendure using the -The intermediate representation of an OptionGroup after it has been parsed +The intermediate representation of an OptionGroup after it has been parsed by the ImportParser. ```ts title="Signature" interface ParsedOptionGroup { - translations: Array<{ - languageCode: LanguageCode; - name: string; - values: string[]; + translations: Array<{ + languageCode: LanguageCode; + name: string; + values: string[]; }>; } ``` @@ -56,7 +56,7 @@ interface ParsedOptionGroup { ### translations -LanguageCode; name: string; values: string[]; }>`} /> +LanguageCode; name: string; values: string[]; }>`} /> @@ -68,15 +68,15 @@ interface ParsedOptionGroup { -The intermediate representation of a Facet after it has been parsed +The intermediate representation of a Facet after it has been parsed by the ImportParser. ```ts title="Signature" interface ParsedFacet { - translations: Array<{ - languageCode: LanguageCode; - facet: string; - value: string; + translations: Array<{ + languageCode: LanguageCode; + facet: string; + value: string; }>; } ``` @@ -85,7 +85,7 @@ interface ParsedFacet { ### translations -LanguageCode; facet: string; value: string; }>`} /> +LanguageCode; facet: string; value: string; }>`} /> @@ -97,7 +97,7 @@ interface ParsedFacet { -The intermediate representation of a ProductVariant after it has been parsed +The intermediate representation of a ProductVariant after it has been parsed by the ImportParser. ```ts title="Signature" @@ -109,12 +109,12 @@ interface ParsedProductVariant { trackInventory: GlobalFlag; assetPaths: string[]; facets: ParsedFacet[]; - translations: Array<{ - languageCode: LanguageCode; - optionValues: string[]; - customFields: { - [name: string]: string; - }; + translations: Array<{ + languageCode: LanguageCode; + optionValues: string[]; + customFields: { + [name: string]: string; + }; }>; } ``` @@ -158,7 +158,7 @@ interface ParsedProductVariant { ### translations -LanguageCode; optionValues: string[]; customFields: { [name: string]: string; }; }>`} /> +LanguageCode; optionValues: string[]; customFields: { [name: string]: string; }; }>`} /> @@ -170,7 +170,7 @@ interface ParsedProductVariant { -The intermediate representation of a Product after it has been parsed +The intermediate representation of a Product after it has been parsed by the ImportParser. ```ts title="Signature" @@ -178,14 +178,14 @@ interface ParsedProduct { assetPaths: string[]; optionGroups: ParsedOptionGroup[]; facets: ParsedFacet[]; - translations: Array<{ - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - customFields: { - [name: string]: string; - }; + translations: Array<{ + languageCode: LanguageCode; + name: string; + slug: string; + description: string; + customFields: { + [name: string]: string; + }; }>; } ``` @@ -209,7 +209,7 @@ interface ParsedProduct { ### translations -LanguageCode; name: string; slug: string; description: string; customFields: { [name: string]: string; }; }>`} /> +LanguageCode; name: string; slug: string; description: string; customFields: { [name: string]: string; }; }>`} /> @@ -221,7 +221,7 @@ interface ParsedProduct { -The data structure into which an import CSV file is parsed by the +The data structure into which an import CSV file is parsed by the ImportParser `parseProducts()` method. ```ts title="Signature" diff --git a/docs/docs/reference/typescript-api/job-queue/job-queue-options.md b/docs/docs/reference/typescript-api/job-queue/job-queue-options.md index 406144b082..f49ef46d8d 100644 --- a/docs/docs/reference/typescript-api/job-queue/job-queue-options.md +++ b/docs/docs/reference/typescript-api/job-queue/job-queue-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## JobQueueOptions - + Options related to the built-in job queue. diff --git a/docs/docs/reference/typescript-api/job-queue/types.md b/docs/docs/reference/typescript-api/job-queue/types.md index 589b0933bb..518de0f865 100644 --- a/docs/docs/reference/typescript-api/job-queue/types.md +++ b/docs/docs/reference/typescript-api/job-queue/types.md @@ -106,7 +106,8 @@ should resolve when the job is complete, or be rejected in case of an error. -A JSON-serializable data type which provides a Jobwith the data it needs to be processed. +A JSON-serializable data type which provides a Job +with the data it needs to be processed. ```ts title="Signature" type JobData = JsonCompatible diff --git a/docs/docs/reference/typescript-api/orders/guest-checkout-strategy.md b/docs/docs/reference/typescript-api/orders/guest-checkout-strategy.md index 18eccfaeea..10d277c1f7 100644 --- a/docs/docs/reference/typescript-api/orders/guest-checkout-strategy.md +++ b/docs/docs/reference/typescript-api/orders/guest-checkout-strategy.md @@ -13,33 +13,33 @@ import MemberDescription from '@site/src/components/MemberDescription'; -A strategy that determines how to deal with guest checkouts - i.e. when a customer -checks out without being logged in. For example, a strategy could be used to implement -business rules such as: - -- No guest checkouts allowed -- No guest checkouts allowed for customers who already have an account -- No guest checkouts allowed for customers who have previously placed an order -- Allow guest checkouts, but create a new Customer entity if the email address - is already in use -- Allow guest checkouts, but update the existing Customer entity if the email address - is already in use - -:::info - -This is configured via the `orderOptions.guestCheckoutStrategy` property of -your VendureConfig. - +A strategy that determines how to deal with guest checkouts - i.e. when a customer +checks out without being logged in. For example, a strategy could be used to implement +business rules such as: + +- No guest checkouts allowed +- No guest checkouts allowed for customers who already have an account +- No guest checkouts allowed for customers who have previously placed an order +- Allow guest checkouts, but create a new Customer entity if the email address + is already in use +- Allow guest checkouts, but update the existing Customer entity if the email address + is already in use + +:::info + +This is configured via the `orderOptions.guestCheckoutStrategy` property of +your VendureConfig. + ::: ```ts title="Signature" interface GuestCheckoutStrategy extends InjectableStrategy { - setCustomerForOrder( - ctx: RequestContext, - order: Order, - input: CreateCustomerInput, - ): - | ErrorResultUnion + setCustomerForOrder( + ctx: RequestContext, + order: Order, + input: CreateCustomerInput, + ): + | ErrorResultUnion | Promise>; } ``` @@ -51,9 +51,9 @@ interface GuestCheckoutStrategy extends InjectableStrategy { ### setCustomerForOrder -RequestContext, order: Order, input: CreateCustomerInput) => | ErrorResultUnion<SetCustomerForOrderResult, Customer> | Promise<ErrorResultUnion<SetCustomerForOrderResult, Customer>>`} /> +RequestContext, order: Order, input: CreateCustomerInput) => | ErrorResultUnion<SetCustomerForOrderResult, Customer> | Promise<ErrorResultUnion<SetCustomerForOrderResult, Customer>>`} /> -This method is called when the `setCustomerForOrder` mutation is executed. +This method is called when the `setCustomerForOrder` mutation is executed. It should return either a Customer object or an ErrorResult. diff --git a/docs/docs/reference/typescript-api/orders/order-interceptor.md b/docs/docs/reference/typescript-api/orders/order-interceptor.md new file mode 100644 index 0000000000..aeb33c5a51 --- /dev/null +++ b/docs/docs/reference/typescript-api/orders/order-interceptor.md @@ -0,0 +1,254 @@ +--- +title: "OrderInterceptor" +isDefaultIndex: false +generated: true +--- + +import MemberInfo from '@site/src/components/MemberInfo'; +import GenerationInfo from '@site/src/components/GenerationInfo'; +import MemberDescription from '@site/src/components/MemberDescription'; + + +## OrderInterceptor + + + +An OrderInterceptor is a class which can be used to intercept and modify the behavior of order-related +operations. + +It does this by providing methods which are called whenever the contents of an order are about +to get changed. These methods are able to prevent the operation from proceeding by returning a string +error message. + +Examples of use-cases for an OrderInterceptor include: + +* Preventing certain products from being added to the order based on some criteria, e.g. if the + product is already in another active order. +* Enforcing a minimum or maximum quantity of a given product in the order +* Using a CAPTCHA to prevent automated order creation + +:::info + +This is configured via the `orderOptions.orderInterceptors` property of +your VendureConfig. + +::: + +OrderInterceptors are executed when the following mutations are called: + +- `addItemToOrder` +- `adjustOrderLine` +- `removeItemFromOrder` + +Additionally, if you are working directly with the OrderService, the following methods will trigger +any registered OrderInterceptors: + +- `addItemToOrder` +- `addItemsToOrder` +- `adjustOrderLine` +- `adjustOrderLines` +- `removeItemFromOrder` +- `removeItemsFromOrder` + +When an OrderInterceptor is registered, it will be called in the order in which it was registered. +If an interceptor method resolves to a string, the operation will be prevented and the string will be used as the error message. + +When multiple interceptors are registered, the first interceptor to resolve to a string will prevent the operation from proceeding. + +Errors returned by OrderInterceptors are surfaced to the GraphQL API as an `OrderInterceptorError` and can be +queried like this: + +```graphql +mutation AddItemToOrder($productVariantId: ID!, $quantity: Int!) { + addItemToOrder(productVariantId: $productVariantId, quantity: $quantity) { + ... on Order { + id + code + # ... other Order fields + } + ... on ErrorResult { + errorCode + message + } + // highlight-start + ... on OrderInterceptorError { + interceptorError + } + // highlight-end + } +} +``` + +In the above example, the error message returned by the OrderInterceptor would be available in the `interceptorError` field. + +## Example: Min/max order quantity + +Let's say we want to allow ProductVariants to specify the minimum or maximum amount which may be added +to an order. We can define custom fields to store this information and +then use this custom field value to prevent an order line from being added to the order if the quantity +is below the minimum. + +*Example* + +```ts +import { + EntityHydrator, + Injector, + LanguageCode, + Order, + OrderInterceptor, + ProductVariant, + RequestContext, + TranslatorService, + VendurePlugin, + WillAddItemToOrderInput, + WillAdjustOrderLineInput, +} from '@vendure/core'; + +declare module '@vendure/core/dist/entity/custom-entity-fields' { + interface CustomProductVariantFields { + minOrderQuantity?: number; + maxOrderQuantity?: number; + } +} + +// This OrderInterceptor enforces minimum and maximum order quantities on ProductVariants. +export class MinMaxOrderInterceptor implements OrderInterceptor { + private entityHydrator: EntityHydrator; + private translatorService: TranslatorService; + + init(injector: Injector) { + this.entityHydrator = injector.get(EntityHydrator); + this.translatorService = injector.get(TranslatorService); + } + + willAddItemToOrder( + ctx: RequestContext, + order: Order, + input: WillAddItemToOrderInput, + ): Promise | void | string { + const { productVariant, quantity } = input; + const min = productVariant.customFields?.minOrderQuantity; + const max = productVariant.customFields?.maxOrderQuantity; + if (min && quantity < min) { + return this.minErrorMessage(ctx, productVariant, min); + } + if (max && quantity > max) { + return this.maxErrorMessage(ctx, productVariant, max); + } + } + + willAdjustOrderLine( + ctx: RequestContext, + order: Order, + input: WillAdjustOrderLineInput, + ): Promise | void | string { + const { orderLine, quantity } = input; + const min = orderLine.productVariant.customFields?.minOrderQuantity; + const max = orderLine.productVariant.customFields?.maxOrderQuantity; + if (min && quantity < min) { + return this.minErrorMessage(ctx, orderLine.productVariant, min); + } + if (max && quantity > max) { + return this.maxErrorMessage(ctx, orderLine.productVariant, max); + } + } + + private async minErrorMessage(ctx: RequestContext, variant: ProductVariant, min: number) { + const variantName = await this.getTranslatedVariantName(ctx, variant); + return `Minimum order quantity for "${variantName}" is ${min}`; + } + + private async maxErrorMessage(ctx: RequestContext, variant: ProductVariant, max: number) { + const variantName = await this.getTranslatedVariantName(ctx, variant); + return `Maximum order quantity for "${variantName}" is ${max}`; + } + + private async getTranslatedVariantName(ctx: RequestContext, variant: ProductVariant) { + await this.entityHydrator.hydrate(ctx, variant, { relations: ['translations'] }); + const translated = this.translatorService.translate(variant, ctx); + return translated.name; + } +} + +// This plugin enforces minimum and maximum order quantities on ProductVariants. +// It adds two new custom fields to ProductVariant: +// - minOrderQuantity +// - maxOrderQuantity +// +// It also adds an OrderInterceptor which enforces these limits. +@VendurePlugin({ + configuration: config => { + // Here we add the custom fields to the ProductVariant entity + config.customFields.ProductVariant.push({ + type: 'int', + min: 0, + name: 'minOrderQuantity', + label: [{ languageCode: LanguageCode.en, value: 'Minimum order quantity' }], + nullable: true, + }); + config.customFields.ProductVariant.push({ + type: 'int', + min: 0, + name: 'maxOrderQuantity', + label: [{ languageCode: LanguageCode.en, value: 'Maximum order quantity' }], + nullable: true, + }); + + // Here we add the MinMaxOrderInterceptor to the orderInterceptors array + config.orderOptions.orderInterceptors.push(new MinMaxOrderInterceptor()); + return config; + }, +}) +export class OrderQuantityLimitsPlugin {} +``` + +```ts title="Signature" +interface OrderInterceptor extends InjectableStrategy { + willAddItemToOrder?( + ctx: RequestContext, + order: Order, + input: WillAddItemToOrderInput, + ): Promise | void | string; + willAdjustOrderLine?( + ctx: RequestContext, + order: Order, + input: WillAdjustOrderLineInput, + ): Promise | void | string; + willRemoveItemFromOrder?( + ctx: RequestContext, + order: Order, + orderLine: OrderLine, + ): Promise | void | string; +} +``` +* Extends: InjectableStrategy + + + +
+ +### willAddItemToOrder + +RequestContext, order: Order, input: WillAddItemToOrderInput) => Promise<void | string> | void | string`} /> + +Called when a new item is about to be added to the order, +as in the `addItemToOrder` mutation or the `addItemToOrder()` / `addItemsToOrder()` method +of the OrderService. +### willAdjustOrderLine + +RequestContext, order: Order, input: WillAdjustOrderLineInput) => Promise<void | string> | void | string`} /> + +Called when an existing order line is about to be adjusted, +as in the `adjustOrderLine` mutation or the `adjustOrderLine()` / `adjustOrderLines()` method +of the OrderService. +### willRemoveItemFromOrder + +RequestContext, order: Order, orderLine: OrderLine) => Promise<void | string> | void | string`} /> + +Called when an item is about to be removed from the order, +as in the `removeItemFromOrder` mutation or the `removeItemFromOrder()` / `removeItemsFromOrder()` method +of the OrderService. + + +
diff --git a/docs/docs/reference/typescript-api/orders/order-item-price-calculation-strategy.md b/docs/docs/reference/typescript-api/orders/order-item-price-calculation-strategy.md index be04535562..2acf7d679c 100644 --- a/docs/docs/reference/typescript-api/orders/order-item-price-calculation-strategy.md +++ b/docs/docs/reference/typescript-api/orders/order-item-price-calculation-strategy.md @@ -87,7 +87,8 @@ Receives the ProductVariant to be added to the Order as well as any OrderLine cu the price for a single unit. Note: if you have any `relation` type custom fields defined on the OrderLine entity, they will only be -passed in to this method if they are set to `eager: true`. Otherwise, you can use the EntityHydratorto join the missing relations. +passed in to this method if they are set to `eager: true`. Otherwise, you can use the EntityHydrator +to join the missing relations. Note: the `quantity` argument was added in v2.0.0 diff --git a/docs/docs/reference/typescript-api/orders/order-options.md b/docs/docs/reference/typescript-api/orders/order-options.md index 869cea38ea..4a1b712611 100644 --- a/docs/docs/reference/typescript-api/orders/order-options.md +++ b/docs/docs/reference/typescript-api/orders/order-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## OrderOptions - + @@ -31,6 +31,7 @@ interface OrderOptions { activeOrderStrategy?: ActiveOrderStrategy | Array>; orderSellerStrategy?: OrderSellerStrategy; guestCheckoutStrategy?: GuestCheckoutStrategy; + orderInterceptors?: OrderInterceptor[]; } ``` @@ -135,9 +136,14 @@ returns an Order will be used. Defines how Orders will be split amongst multiple Channels in a multivendor scenario. ### guestCheckoutStrategy -GuestCheckoutStrategy`} default={`DefaultGuestCheckoutStrategy`} since="2.0.0" /> +GuestCheckoutStrategy`} default={`DefaultGuestCheckoutStrategy`} /> Defines how we deal with guest checkouts. +### orderInterceptors + +OrderInterceptor[]`} default={`[]`} since="3.1.0" /> + +An array of OrderInterceptors which can be used to modify the behavior of the Order process. diff --git a/docs/docs/reference/typescript-api/payment/payment-options.md b/docs/docs/reference/typescript-api/payment/payment-options.md index d05b64e0c1..ccd5d4ffe0 100644 --- a/docs/docs/reference/typescript-api/payment/payment-options.md +++ b/docs/docs/reference/typescript-api/payment/payment-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## PaymentOptions - + Defines payment-related options in the VendureConfig. diff --git a/docs/docs/reference/typescript-api/products-stock/catalog-options.md b/docs/docs/reference/typescript-api/products-stock/catalog-options.md index b6935570c2..c1e8bfc3fc 100644 --- a/docs/docs/reference/typescript-api/products-stock/catalog-options.md +++ b/docs/docs/reference/typescript-api/products-stock/catalog-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## CatalogOptions - + Options related to products and collections. diff --git a/docs/docs/reference/typescript-api/promotions/promotion-options.md b/docs/docs/reference/typescript-api/promotions/promotion-options.md index 39a1ec943c..f3779f5e6c 100644 --- a/docs/docs/reference/typescript-api/promotions/promotion-options.md +++ b/docs/docs/reference/typescript-api/promotions/promotion-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## PromotionOptions - + diff --git a/docs/docs/reference/typescript-api/request/request-context-service.md b/docs/docs/reference/typescript-api/request/request-context-service.md index ea1991bc57..7263b1a7cf 100644 --- a/docs/docs/reference/typescript-api/request/request-context-service.md +++ b/docs/docs/reference/typescript-api/request/request-context-service.md @@ -17,14 +17,14 @@ Creates new ApiType; channelOrToken?: Channel | string; languageCode?: LanguageCode; currencyCode?: CurrencyCode; user?: User; activeOrderId?: ID; }) => Promise<RequestContext>`} since="1.5.0" /> +ApiType; channelOrToken?: Channel | string; languageCode?: LanguageCode; currencyCode?: CurrencyCode; user?: User; activeOrderId?: ID; }) => Promise<RequestContext>`} since="1.5.0" /> -Creates a RequestContext based on the config provided. This can be useful when interacting -with services outside the request-response cycle, for example in stand-alone scripts or in +Creates a RequestContext based on the config provided. This can be useful when interacting +with services outside the request-response cycle, for example in stand-alone scripts or in worker jobs. ### fromRequest Permission[], session?: CachedSession) => Promise<RequestContext>`} /> -Creates a new RequestContext based on an Express request object. This is used internally -in the API layer by the AuthGuard, and creates the RequestContext which is then passed +Creates a new RequestContext based on an Express request object. This is used internally +in the API layer by the AuthGuard, and creates the RequestContext which is then passed to all resolvers & controllers. diff --git a/docs/docs/reference/typescript-api/service-helpers/slug-validator.md b/docs/docs/reference/typescript-api/service-helpers/slug-validator.md index 079a8a9029..7475208597 100644 --- a/docs/docs/reference/typescript-api/service-helpers/slug-validator.md +++ b/docs/docs/reference/typescript-api/service-helpers/slug-validator.md @@ -13,7 +13,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; -Used to validate slugs to ensure they are URL-safe and unique. Designed to be used with translatable +Used to validate slugs to ensure they are URL-safe and unique. Designed to be used with translatable entities such as Product and Collection. ```ts title="Signature" @@ -49,10 +49,10 @@ class SlugValidator { ```ts title="Signature" type InputWithSlug = { id?: ID | null; - translations?: Array<{ - id?: ID | null; - languageCode: LanguageCode; - slug?: string | null; + translations?: Array<{ + id?: ID | null; + languageCode: LanguageCode; + slug?: string | null; }> | null; } ``` @@ -66,7 +66,7 @@ type InputWithSlug = { ### translations -ID | null; languageCode: LanguageCode; slug?: string | null; }> | null`} /> +ID | null; languageCode: LanguageCode; slug?: string | null; }> | null`} /> @@ -81,10 +81,10 @@ type InputWithSlug = { ```ts title="Signature" -type TranslationEntity = VendureEntity & { - id: ID; - languageCode: LanguageCode; - slug: string; - base: any; +type TranslationEntity = VendureEntity & { + id: ID; + languageCode: LanguageCode; + slug: string; + base: any; } ``` diff --git a/docs/docs/reference/typescript-api/services/customer-service.md b/docs/docs/reference/typescript-api/services/customer-service.md index 6d4f704718..92cecf5841 100644 --- a/docs/docs/reference/typescript-api/services/customer-service.md +++ b/docs/docs/reference/typescript-api/services/customer-service.md @@ -31,8 +31,8 @@ class CustomerService { refreshVerificationToken(ctx: RequestContext, emailAddress: string) => Promise; verifyCustomerEmailAddress(ctx: RequestContext, verificationToken: string, password?: string) => Promise>; requestPasswordReset(ctx: RequestContext, emailAddress: string) => Promise; - resetPassword(ctx: RequestContext, passwordResetToken: string, password: string) => Promise< - User | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError + resetPassword(ctx: RequestContext, passwordResetToken: string, password: string) => Promise< + User | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError >; requestUpdateEmailAddress(ctx: RequestContext, userId: ID, newEmailAddress: string) => Promise; updateEmailAddress(ctx: RequestContext, token: string) => Promise; @@ -69,8 +69,8 @@ class CustomerService { RequestContext, userId: ID, filterOnChannel: = true) => Promise<Customer | undefined>`} /> -Returns the Customer entity associated with the given userId, if one exists. -Setting `filterOnChannel` to `true` will limit the results to Customers which are assigned +Returns the Customer entity associated with the given userId, if one exists. +Setting `filterOnChannel` to `true` will limit the results to Customers which are assigned to the current active Channel only. ### findAddressesByCustomerId @@ -86,13 +86,13 @@ Returns a list of all RequestContext, input: CreateCustomerInput, password?: string) => Promise<ErrorResultUnion<CreateCustomerResult, Customer>>`} /> -Creates a new Customer, including creation of a new User with the special `customer` Role. - -If the `password` argument is specified, the Customer will be immediately verified. If not, -then an AccountRegistrationEvent is published, so that the customer can have their -email address verified and set their password in a later step using the `verifyCustomerEmailAddress()` -method. - +Creates a new Customer, including creation of a new User with the special `customer` Role. + +If the `password` argument is specified, the Customer will be immediately verified. If not, +then an AccountRegistrationEvent is published, so that the customer can have their +email address verified and set their password in a later step using the `verifyCustomerEmailAddress()` +method. + This method is intended to be used in admin-created Customer flows. ### update @@ -113,47 +113,47 @@ This method is intended to be used in admin-created Customer flows. RequestContext, input: RegisterCustomerInput) => Promise<RegisterCustomerAccountResult | EmailAddressConflictError | PasswordValidationError>`} /> -Registers a new Customer account with the NativeAuthenticationStrategy and starts -the email verification flow (unless AuthOptions `requireVerification` is set to `false`) -by publishing an AccountRegistrationEvent. - +Registers a new Customer account with the NativeAuthenticationStrategy and starts +the email verification flow (unless AuthOptions `requireVerification` is set to `false`) +by publishing an AccountRegistrationEvent. + This method is intended to be used in storefront Customer-creation flows. ### refreshVerificationToken RequestContext, emailAddress: string) => Promise<void>`} /> -Refreshes a stale email address verification token by generating a new one and +Refreshes a stale email address verification token by generating a new one and publishing a AccountRegistrationEvent. ### verifyCustomerEmailAddress RequestContext, verificationToken: string, password?: string) => Promise<ErrorResultUnion<VerifyCustomerAccountResult, Customer>>`} /> -Given a valid verification token which has been published in an AccountRegistrationEvent, this +Given a valid verification token which has been published in an AccountRegistrationEvent, this method is used to set the Customer as `verified` as part of the account registration flow. ### requestPasswordReset RequestContext, emailAddress: string) => Promise<void>`} /> -Publishes a new PasswordResetEvent for the given email address. This event creates +Publishes a new PasswordResetEvent for the given email address. This event creates a token which can be used in the `resetPassword()` method. ### resetPassword -RequestContext, passwordResetToken: string, password: string) => Promise< User | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError >`} /> +RequestContext, passwordResetToken: string, password: string) => Promise< User | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError >`} /> -Given a valid password reset token created by a call to the `requestPasswordReset()` method, +Given a valid password reset token created by a call to the `requestPasswordReset()` method, this method will change the Customer's password to that given as the `password` argument. ### requestUpdateEmailAddress RequestContext, userId: ID, newEmailAddress: string) => Promise<boolean | EmailAddressConflictError>`} /> -Publishes a IdentifierChangeRequestEvent for the given User. This event contains a token -which is then used in the `updateEmailAddress()` method to change the email address of the User & +Publishes a IdentifierChangeRequestEvent for the given User. This event contains a token +which is then used in the `updateEmailAddress()` method to change the email address of the User & Customer. ### updateEmailAddress RequestContext, token: string) => Promise<boolean | IdentifierChangeTokenInvalidError | IdentifierChangeTokenExpiredError>`} /> -Given a valid email update token published in a IdentifierChangeRequestEvent, this method +Given a valid email update token published in a IdentifierChangeRequestEvent, this method will update the Customer & User email address. ### createOrUpdate @@ -184,8 +184,8 @@ Creates a new Addre RequestContext, order: Order) => `} /> -If the Customer associated with the given Order does not yet have any Addresses, -this method will create new Address(es) based on the Order's shipping & billing +If the Customer associated with the given Order does not yet have any Addresses, +this method will create new Address(es) based on the Order's shipping & billing addresses. ### addNoteToCustomer diff --git a/docs/docs/reference/typescript-api/services/fulfillment-service.md b/docs/docs/reference/typescript-api/services/fulfillment-service.md index 13c10c3644..7395ce399a 100644 --- a/docs/docs/reference/typescript-api/services/fulfillment-service.md +++ b/docs/docs/reference/typescript-api/services/fulfillment-service.md @@ -21,14 +21,14 @@ class FulfillmentService { create(ctx: RequestContext, orders: Order[], lines: OrderLineInput[], handler: ConfigurableOperationInput) => Promise; getFulfillmentLines(ctx: RequestContext, id: ID) => Promise; getFulfillmentsLinesForOrderLine(ctx: RequestContext, orderLineId: ID, relations: RelationPaths = []) => Promise; - transitionToState(ctx: RequestContext, fulfillmentId: ID, state: FulfillmentState) => Promise< - | { - fulfillment: Fulfillment; - orders: Order[]; - fromState: FulfillmentState; - toState: FulfillmentState; - } - | FulfillmentStateTransitionError + transitionToState(ctx: RequestContext, fulfillmentId: ID, state: FulfillmentState) => Promise< + | { + fulfillment: Fulfillment; + orders: Order[]; + fromState: FulfillmentState; + toState: FulfillmentState; + } + | FulfillmentStateTransitionError >; getNextStates(fulfillment: Fulfillment) => readonly FulfillmentState[]; } @@ -45,7 +45,7 @@ class FulfillmentService { RequestContext, orders: Order[], lines: OrderLineInput[], handler: ConfigurableOperationInput) => Promise<Fulfillment | InvalidFulfillmentHandlerError | CreateFulfillmentError>`} /> -Creates a new Fulfillment for the given Orders and OrderItems, using the specified +Creates a new Fulfillment for the given Orders and OrderItems, using the specified FulfillmentHandler. ### getFulfillmentLines @@ -59,9 +59,9 @@ Creates a new Fulfillment for the given Orders and OrderItems, using the specifi ### transitionToState -RequestContext, fulfillmentId: ID, state: FulfillmentState) => Promise< | { fulfillment: Fulfillment; orders: Order[]; fromState: FulfillmentState; toState: FulfillmentState; } | FulfillmentStateTransitionError >`} /> +RequestContext, fulfillmentId: ID, state: FulfillmentState) => Promise< | { fulfillment: Fulfillment; orders: Order[]; fromState: FulfillmentState; toState: FulfillmentState; } | FulfillmentStateTransitionError >`} /> -Transitions the specified Fulfillment to a new state and upon successful transition +Transitions the specified Fulfillment to a new state and upon successful transition publishes a FulfillmentStateTransitionEvent. ### getNextStates diff --git a/docs/docs/reference/typescript-api/services/order-service.md b/docs/docs/reference/typescript-api/services/order-service.md index 6bd2190ee6..999f816932 100644 --- a/docs/docs/reference/typescript-api/services/order-service.md +++ b/docs/docs/reference/typescript-api/services/order-service.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## OrderService - + Contains methods relating to Order entities. diff --git a/docs/docs/reference/typescript-api/services/payment-method-service.md b/docs/docs/reference/typescript-api/services/payment-method-service.md index 8937d40c21..a872a3b0ec 100644 --- a/docs/docs/reference/typescript-api/services/payment-method-service.md +++ b/docs/docs/reference/typescript-api/services/payment-method-service.md @@ -28,10 +28,10 @@ class PaymentMethodService { getPaymentMethodEligibilityCheckers(ctx: RequestContext) => ConfigurableOperationDefinition[]; getPaymentMethodHandlers(ctx: RequestContext) => ConfigurableOperationDefinition[]; getEligiblePaymentMethods(ctx: RequestContext, order: Order) => Promise; - getMethodAndOperations(ctx: RequestContext, method: string) => Promise<{ - paymentMethod: PaymentMethod; - handler: PaymentMethodHandler; - checker: PaymentMethodEligibilityChecker | null; + getMethodAndOperations(ctx: RequestContext, method: string) => Promise<{ + paymentMethod: PaymentMethod; + handler: PaymentMethodHandler; + checker: PaymentMethodEligibilityChecker | null; }>; } ``` @@ -95,7 +95,7 @@ class PaymentMethodService { ### getMethodAndOperations -RequestContext, method: string) => Promise<{ paymentMethod: PaymentMethod; handler: PaymentMethodHandler; checker: PaymentMethodEligibilityChecker | null; }>`} /> +RequestContext, method: string) => Promise<{ paymentMethod: PaymentMethod; handler: PaymentMethodHandler; checker: PaymentMethodEligibilityChecker | null; }>`} /> diff --git a/docs/docs/reference/typescript-api/services/user-service.md b/docs/docs/reference/typescript-api/services/user-service.md index 8c32b4245b..f239636cef 100644 --- a/docs/docs/reference/typescript-api/services/user-service.md +++ b/docs/docs/reference/typescript-api/services/user-service.md @@ -27,15 +27,15 @@ class UserService { setVerificationToken(ctx: RequestContext, user: User) => Promise; verifyUserByToken(ctx: RequestContext, verificationToken: string, password?: string) => Promise>; setPasswordResetToken(ctx: RequestContext, emailAddress: string) => Promise; - resetPasswordByToken(ctx: RequestContext, passwordResetToken: string, password: string) => Promise< - User | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError + resetPasswordByToken(ctx: RequestContext, passwordResetToken: string, password: string) => Promise< + User | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError >; changeUserAndNativeIdentifier(ctx: RequestContext, userId: ID, newIdentifier: string) => ; setIdentifierChangeToken(ctx: RequestContext, user: User) => Promise; - changeIdentifierByToken(ctx: RequestContext, token: string) => Promise< - | { user: User; oldIdentifier: string } - | IdentifierChangeTokenInvalidError - | IdentifierChangeTokenExpiredError + changeIdentifierByToken(ctx: RequestContext, token: string) => Promise< + | { user: User; oldIdentifier: string } + | IdentifierChangeTokenInvalidError + | IdentifierChangeTokenExpiredError >; updatePassword(ctx: RequestContext, userId: ID, currentPassword: string, newPassword: string) => Promise; } @@ -67,8 +67,8 @@ Creates a new User with the special `customer` Role and using the RequestContext, user: User, identifier: string, password?: string) => Promise<User | PasswordValidationError>`} /> -Adds a new NativeAuthenticationMethod to the User. If the AuthOptions `requireVerification` -is set to `true` (as is the default), the User will be marked as unverified until the email verification +Adds a new NativeAuthenticationMethod to the User. If the AuthOptions `requireVerification` +is set to `true` (as is the default), the User will be marked as unverified until the email verification flow is completed. ### createAdminUser @@ -84,47 +84,47 @@ Creates a new verified User using the RequestContext, user: User) => Promise<User>`} /> -Sets the NativeAuthenticationMethod `verificationToken` as part of the User email verification +Sets the NativeAuthenticationMethod `verificationToken` as part of the User email verification flow. ### verifyUserByToken RequestContext, verificationToken: string, password?: string) => Promise<ErrorResultUnion<VerifyCustomerAccountResult, User>>`} /> -Verifies a verificationToken by looking for a User which has previously had it set using the -`setVerificationToken()` method, and checks that the token is valid and has not expired. - +Verifies a verificationToken by looking for a User which has previously had it set using the +`setVerificationToken()` method, and checks that the token is valid and has not expired. + If valid, the User will be set to `verified: true`. ### setPasswordResetToken RequestContext, emailAddress: string) => Promise<User | undefined>`} /> -Sets the NativeAuthenticationMethod `passwordResetToken` as part of the User password reset +Sets the NativeAuthenticationMethod `passwordResetToken` as part of the User password reset flow. ### resetPasswordByToken -RequestContext, passwordResetToken: string, password: string) => Promise< User | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError >`} /> - -Verifies a passwordResetToken by looking for a User which has previously had it set using the -`setPasswordResetToken()` method, and checks that the token is valid and has not expired. +RequestContext, passwordResetToken: string, password: string) => Promise< User | PasswordResetTokenExpiredError | PasswordResetTokenInvalidError | PasswordValidationError >`} /> +Verifies a passwordResetToken by looking for a User which has previously had it set using the +`setPasswordResetToken()` method, and checks that the token is valid and has not expired. + If valid, the User's credentials will be updated with the new password. ### changeUserAndNativeIdentifier RequestContext, userId: ID, newIdentifier: string) => `} /> -Changes the User identifier without an email verification step, so this should be only used when +Changes the User identifier without an email verification step, so this should be only used when an Administrator is setting a new email address. ### setIdentifierChangeToken RequestContext, user: User) => Promise<User>`} /> -Sets the NativeAuthenticationMethod `identifierChangeToken` as part of the User email address change +Sets the NativeAuthenticationMethod `identifierChangeToken` as part of the User email address change flow. ### changeIdentifierByToken -RequestContext, token: string) => Promise< | { user: User; oldIdentifier: string } | IdentifierChangeTokenInvalidError | IdentifierChangeTokenExpiredError >`} /> +RequestContext, token: string) => Promise< | { user: User; oldIdentifier: string } | IdentifierChangeTokenInvalidError | IdentifierChangeTokenExpiredError >`} /> -Changes the User identifier as part of the storefront flow used by Customers to set a +Changes the User identifier as part of the storefront flow used by Customers to set a new email address, with the token previously set using the `setIdentifierChangeToken()` method. ### updatePassword diff --git a/docs/docs/reference/typescript-api/shipping/shipping-options.md b/docs/docs/reference/typescript-api/shipping/shipping-options.md index 25ab4fcfca..ddb34e13ee 100644 --- a/docs/docs/reference/typescript-api/shipping/shipping-options.md +++ b/docs/docs/reference/typescript-api/shipping/shipping-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## ShippingOptions - + diff --git a/docs/docs/reference/typescript-api/tax/tax-options.md b/docs/docs/reference/typescript-api/tax/tax-options.md index 71ca21cc42..6a75af4338 100644 --- a/docs/docs/reference/typescript-api/tax/tax-options.md +++ b/docs/docs/reference/typescript-api/tax/tax-options.md @@ -11,7 +11,7 @@ import MemberDescription from '@site/src/components/MemberDescription'; ## TaxOptions - + diff --git a/docs/docs/reference/typescript-api/testing/simple-graph-qlclient.md b/docs/docs/reference/typescript-api/testing/simple-graph-qlclient.md index 09441d53bc..c4f398b00f 100644 --- a/docs/docs/reference/typescript-api/testing/simple-graph-qlclient.md +++ b/docs/docs/reference/typescript-api/testing/simple-graph-qlclient.md @@ -27,10 +27,10 @@ class SimpleGraphQLClient { asUserWithCredentials(username: string, password: string) => ; asSuperAdmin() => ; asAnonymousUser() => ; - fileUploadMutation(options: { - mutation: DocumentNode; - filePaths: string[]; - mapVariables: (filePaths: string[]) => any; + fileUploadMutation(options: { + mutation: DocumentNode; + filePaths: string[]; + mapVariables: (filePaths: string[]) => any; }) => Promise; } ``` @@ -66,8 +66,8 @@ Performs both query and mutation operations. Promise<Response>`} /> -Performs a raw HTTP request to the given URL, but also includes the authToken & channelToken -headers if they have been set. Useful for testing non-GraphQL endpoints, e.g. for plugins +Performs a raw HTTP request to the given URL, but also includes the authToken & channelToken +headers if they have been set. Useful for testing non-GraphQL endpoints, e.g. for plugins which make use of REST controllers. ### queryStatus @@ -91,12 +91,37 @@ Logs in as the SuperAdmin user. Logs out so that the client is then treated as an anonymous user. ### fileUploadMutation - Promise<any>`} /> + Promise<any>`} /> + +Perform a file upload mutation. + +Upload spec: https://github.com/jaydenseric/graphql-multipart-request-spec -Perform a file upload mutation. - -Upload spec: https://github.com/jaydenseric/graphql-multipart-request-spec Discussion of issue: https://github.com/jaydenseric/apollo-upload-client/issues/32 +*Example* + +```ts +// Testing a custom mutation: +const result = await client.fileUploadMutation({ + mutation: gql` + mutation AddSellerImages($input: AddSellerImagesInput!) { + addSellerImages(input: $input) { + id + name + } + } + `, + filePaths: ['./images/profile-picture.jpg', './images/logo.png'], + mapVariables: () => ({ + name: "George's Pans", + profilePicture: null, // corresponds to filePaths[0] + branding: { + logo: null // corresponds to filePaths[1] + } + }) +}); +``` + 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 401096db04..6f7bc7215e 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 @@ -343,7 +343,6 @@ export type BooleanStructFieldConfig = StructField & { label?: Maybe>; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -1559,7 +1558,6 @@ export type DateTimeStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -1684,6 +1682,7 @@ export enum ErrorCode { 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_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_ERROR', ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', @@ -1909,7 +1908,6 @@ export type FloatStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -2129,7 +2127,6 @@ export type IntStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -3003,7 +3000,7 @@ export type Mutation = { transitionPaymentToState: TransitionPaymentToStateResult; /** Unsets the billing address for a draft Order */ unsetDraftOrderBillingAddress: Order; - /** Unsets the sthipping address for a draft Order */ + /** Unsets the shipping address for a draft Order */ unsetDraftOrderShippingAddress: Order; /** Update the active (currently logged-in) Administrator */ updateActiveAdministrator: Administrator; @@ -4124,6 +4121,14 @@ export type OrderFilterParameter = { updatedAt?: InputMaybe; }; +/** Returned when an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + __typename?: 'OrderInterceptorError'; + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; +}; + /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { __typename?: 'OrderLimitError'; @@ -5550,18 +5555,19 @@ export type RefundLine = { }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; + /** @deprecated Use the `amount` field instead */ + adjustment?: InputMaybe; /** - * If an amount is specified, this value will be used to create a Refund rather than calculating the - * amount automatically. This was added in v2.2 and will be the preferred way to specify the refund - * amount in the future. The `lines`, `shipping` and `adjustment` fields will likely be removed in a future - * version. + * The amount to be refunded to this particular payment. This was introduced in v2.2.0 as the preferred way to specify the refund amount. + * Can be as much as the total amount of the payment minus the sum of all previous refunds. */ amount?: InputMaybe; - lines: Array; + /** @deprecated Use the `amount` field instead */ + lines?: InputMaybe>; paymentId: Scalars['ID']['input']; reason?: InputMaybe; - shipping: Scalars['Money']['input']; + /** @deprecated Use the `amount` field instead */ + shipping?: InputMaybe; }; export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundAmountError | RefundOrderStateError | RefundStateTransitionError; @@ -5658,7 +5664,7 @@ export type RemoveFacetsFromChannelInput = { export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseError; -export type RemoveOrderItemsResult = Order | OrderModificationError; +export type RemoveOrderItemsResult = Order | OrderInterceptorError | OrderModificationError; export type RemovePaymentMethodsFromChannelInput = { channelId: Scalars['ID']['input']; @@ -6174,7 +6180,6 @@ export type StringStructFieldConfig = StructField & { length?: Maybe; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; options?: Maybe>; pattern?: Maybe; type: Scalars['String']['output']; @@ -6201,7 +6206,6 @@ export type StructField = { label?: Maybe>; list?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -6433,7 +6437,6 @@ export type TextStructFieldConfig = StructField & { label?: Maybe>; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -6617,7 +6620,7 @@ export type UpdateOrderInput = { id: Scalars['ID']['input']; }; -export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderModificationError; +export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderInterceptorError | OrderLimitError | OrderModificationError; export type UpdateOrderNoteInput = { isPublic?: InputMaybe; @@ -6890,7 +6893,7 @@ export type GetFacetDetailQueryVariables = Exact<{ }>; -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 }>, 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 } }> } } | 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 }>, 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, code: string } }> } } | null }; export type GetFacetListQueryVariables = Exact<{ options?: InputMaybe; @@ -6898,7 +6901,7 @@ export type GetFacetListQueryVariables = Exact<{ }>; -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, code: string } }> } }> } }; export type GetProductDetailQueryVariables = Exact<{ id: Scalars['ID']['input']; @@ -7392,23 +7395,23 @@ export type DeleteCustomerNoteMutation = { deleteCustomerNote: { __typename?: 'D 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, code: 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 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, code: 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 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, code: string } }> } }; export type CreateFacetMutationVariables = Exact<{ 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, code: string } }> } }; export type UpdateFacetMutationVariables = Exact<{ 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, code: string } }> } }; export type DeleteFacetMutationVariables = Exact<{ id: Scalars['ID']['input']; @@ -7431,14 +7434,14 @@ export type CreateFacetValuesMutationVariables = Exact<{ }>; -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, code: string } }> }; export type UpdateFacetValuesMutationVariables = Exact<{ 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, code: string } }> }; export type DeleteFacetValuesMutationVariables = Exact<{ ids: Array | Scalars['ID']['input']; @@ -7635,7 +7638,7 @@ export type AddItemToDraftOrderMutationVariables = Exact<{ }>; -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, createdAt: any, updatedAt: any, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, orderPlacedQuantity: 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', id: string, discountedPriceWithTax: number, 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, createdAt: any, updatedAt: any, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, orderPlacedQuantity: 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', id: string, discountedPriceWithTax: number, 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?: 'OrderInterceptorError', errorCode: ErrorCode, message: string } | { __typename?: 'OrderLimitError', errorCode: ErrorCode, message: string } | { __typename?: 'OrderModificationError', errorCode: ErrorCode, message: string } }; export type AdjustDraftOrderLineMutationVariables = Exact<{ orderId: Scalars['ID']['input']; @@ -7643,7 +7646,7 @@ export type AdjustDraftOrderLineMutationVariables = Exact<{ }>; -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, createdAt: any, updatedAt: any, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, orderPlacedQuantity: 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', id: string, discountedPriceWithTax: number, 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, createdAt: any, updatedAt: any, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, orderPlacedQuantity: 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', id: string, discountedPriceWithTax: number, 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?: 'OrderInterceptorError', errorCode: ErrorCode, message: string } | { __typename?: 'OrderLimitError', errorCode: ErrorCode, message: string } | { __typename?: 'OrderModificationError', errorCode: ErrorCode, message: string } }; export type RemoveDraftOrderLineMutationVariables = Exact<{ orderId: Scalars['ID']['input']; @@ -7651,7 +7654,7 @@ export type RemoveDraftOrderLineMutationVariables = Exact<{ }>; -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, createdAt: any, updatedAt: any, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, orderPlacedQuantity: 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', id: string, discountedPriceWithTax: number, 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, createdAt: any, updatedAt: any, unitPrice: number, unitPriceWithTax: number, proratedUnitPrice: number, proratedUnitPriceWithTax: number, quantity: number, orderPlacedQuantity: 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', id: string, discountedPriceWithTax: number, 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?: 'OrderInterceptorError', errorCode: ErrorCode, message: string } | { __typename?: 'OrderModificationError', errorCode: ErrorCode, message: string } }; export type SetCustomerForDraftOrderMutationVariables = Exact<{ orderId: Scalars['ID']['input']; @@ -8545,6 +8548,8 @@ type ErrorResult_NoChangesSpecifiedError_Fragment = { __typename?: 'NoChangesSpe type ErrorResult_NothingToRefundError_Fragment = { __typename?: 'NothingToRefundError', errorCode: ErrorCode, message: string }; +type ErrorResult_OrderInterceptorError_Fragment = { __typename?: 'OrderInterceptorError', errorCode: ErrorCode, message: string }; + type ErrorResult_OrderLimitError_Fragment = { __typename?: 'OrderLimitError', errorCode: ErrorCode, message: string }; type ErrorResult_OrderModificationError_Fragment = { __typename?: 'OrderModificationError', errorCode: ErrorCode, message: string }; @@ -8573,7 +8578,7 @@ type ErrorResult_RefundStateTransitionError_Fragment = { __typename?: 'RefundSta 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_DuplicateEntityError_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_RefundAmountError_Fragment | ErrorResult_RefundOrderStateError_Fragment | ErrorResult_RefundPaymentIdMissingError_Fragment | ErrorResult_RefundStateTransitionError_Fragment | ErrorResult_SettlePaymentError_Fragment; +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_DuplicateEntityError_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_OrderInterceptorError_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_RefundAmountError_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 }> }; @@ -9070,9 +9075,9 @@ export const CollectionForListFragmentDoc = {"kind":"Document","definitions":[{" 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":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}}}],"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 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"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} 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"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} 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":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}}}],"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"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} 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; @@ -9133,8 +9138,8 @@ export const GetVariantsWithFacetValuesByIdsDocument = {"kind":"Document","defin 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"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValueListOptions"}}}],"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":"FacetWithValueList"}}]}}]}},{"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":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}}}],"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 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"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValueListOptions"}}}],"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":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}}}],"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 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"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValueListOptions"}}}],"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":"FacetWithValueList"}}]}}]}},{"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":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"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":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}}}],"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 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"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"FacetValueListOptions"}}}],"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":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"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":"Variable","name":{"kind":"Name","value":"facetValueListOptions"}}}],"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; @@ -9203,14 +9208,14 @@ export const GetCustomerHistoryDocument = {"kind":"Document","definitions":[{"ki 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 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":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"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":"Field","name":{"kind":"Name","value":"code"}}]}}]}},{"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 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"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} 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"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} 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 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"}},{"kind":"Field","name":{"kind":"Name","value":"code"}}]}}]}}]} 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; @@ -9404,4 +9409,4 @@ export const GetTaxCategoryListDocument = {"kind":"Document","definitions":[{"ki 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; +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 diff --git a/packages/admin-ui/src/lib/core/src/common/introspection-result.ts b/packages/admin-ui/src/lib/core/src/common/introspection-result.ts index a5b6106435..41ca3acfbc 100644 --- a/packages/admin-ui/src/lib/core/src/common/introspection-result.ts +++ b/packages/admin-ui/src/lib/core/src/common/introspection-result.ts @@ -1,263 +1,352 @@ /* eslint-disable */ -export interface PossibleTypesResultData { - possibleTypes: { - [key: string]: string[]; - }; -} -const result: PossibleTypesResultData = { - possibleTypes: { - AddFulfillmentToOrderResult: [ - 'CreateFulfillmentError', - 'EmptyOrderLineSelectionError', - 'Fulfillment', - 'FulfillmentStateTransitionError', - 'InsufficientStockOnHandError', - 'InvalidFulfillmentHandlerError', - 'ItemsAlreadyFulfilledError', - ], - AddManualPaymentToOrderResult: ['ManualPaymentStateError', 'Order'], - ApplyCouponCodeResult: [ - 'CouponCodeExpiredError', - 'CouponCodeInvalidError', - 'CouponCodeLimitError', - 'Order', - ], - AuthenticationResult: ['CurrentUser', 'InvalidCredentialsError'], - CancelOrderResult: [ - 'CancelActiveOrderError', - 'EmptyOrderLineSelectionError', - 'MultipleOrderError', - 'Order', - 'OrderStateTransitionError', - 'QuantityTooGreatError', - ], - CancelPaymentResult: ['CancelPaymentError', 'Payment', 'PaymentStateTransitionError'], - CreateAssetResult: ['Asset', 'MimeTypeError'], - CreateChannelResult: ['Channel', 'LanguageNotAvailableError'], - CreateCustomerResult: ['Customer', 'EmailAddressConflictError'], - CreatePromotionResult: ['MissingConditionsError', 'Promotion'], - CustomField: [ - 'BooleanCustomFieldConfig', - 'DateTimeCustomFieldConfig', - 'FloatCustomFieldConfig', - 'IntCustomFieldConfig', - 'LocaleStringCustomFieldConfig', - 'LocaleTextCustomFieldConfig', - 'RelationCustomFieldConfig', - 'StringCustomFieldConfig', - 'StructCustomFieldConfig', - 'TextCustomFieldConfig', - ], - CustomFieldConfig: [ - 'BooleanCustomFieldConfig', - 'DateTimeCustomFieldConfig', - 'FloatCustomFieldConfig', - 'IntCustomFieldConfig', - 'LocaleStringCustomFieldConfig', - 'LocaleTextCustomFieldConfig', - 'RelationCustomFieldConfig', - 'StringCustomFieldConfig', - 'StructCustomFieldConfig', - 'TextCustomFieldConfig', - ], - DuplicateEntityResult: ['DuplicateEntityError', 'DuplicateEntitySuccess'], - ErrorResult: [ - 'AlreadyRefundedError', - 'CancelActiveOrderError', - 'CancelPaymentError', - 'ChannelDefaultLanguageError', - 'CouponCodeExpiredError', - 'CouponCodeInvalidError', - 'CouponCodeLimitError', - 'CreateFulfillmentError', - 'DuplicateEntityError', - 'EmailAddressConflictError', - 'EmptyOrderLineSelectionError', - 'FacetInUseError', - 'FulfillmentStateTransitionError', - 'GuestCheckoutError', - 'IneligibleShippingMethodError', - 'InsufficientStockError', - 'InsufficientStockOnHandError', - 'InvalidCredentialsError', - 'InvalidFulfillmentHandlerError', - 'ItemsAlreadyFulfilledError', - 'LanguageNotAvailableError', - 'ManualPaymentStateError', - 'MimeTypeError', - 'MissingConditionsError', - 'MultipleOrderError', - 'NativeAuthStrategyError', - 'NegativeQuantityError', - 'NoActiveOrderError', - 'NoChangesSpecifiedError', - 'NothingToRefundError', - 'OrderLimitError', - 'OrderModificationError', - 'OrderModificationStateError', - 'OrderStateTransitionError', - 'PaymentMethodMissingError', - 'PaymentOrderMismatchError', - 'PaymentStateTransitionError', - 'ProductOptionInUseError', - 'QuantityTooGreatError', - 'RefundAmountError', - 'RefundOrderStateError', - 'RefundPaymentIdMissingError', - 'RefundStateTransitionError', - 'SettlePaymentError', - ], - ModifyOrderResult: [ - 'CouponCodeExpiredError', - 'CouponCodeInvalidError', - 'CouponCodeLimitError', - 'IneligibleShippingMethodError', - 'InsufficientStockError', - 'NegativeQuantityError', - 'NoChangesSpecifiedError', - 'Order', - 'OrderLimitError', - 'OrderModificationStateError', - 'PaymentMethodMissingError', - 'RefundPaymentIdMissingError', - ], - NativeAuthenticationResult: ['CurrentUser', 'InvalidCredentialsError', 'NativeAuthStrategyError'], - Node: [ - 'Address', - 'Administrator', - 'Allocation', - 'Asset', - 'AuthenticationMethod', - 'Cancellation', - 'Channel', - 'Collection', - 'Country', - 'Customer', - 'CustomerGroup', - 'Facet', - 'FacetValue', - 'Fulfillment', - 'HistoryEntry', - 'Job', - 'Order', - 'OrderLine', - 'OrderModification', - 'Payment', - 'PaymentMethod', - 'Product', - 'ProductOption', - 'ProductOptionGroup', - 'ProductVariant', - 'Promotion', - 'Province', - 'Refund', - 'Release', - 'Return', - 'Role', - 'Sale', - 'Seller', - 'ShippingMethod', - 'StockAdjustment', - 'StockLevel', - 'StockLocation', - 'Surcharge', - 'Tag', - 'TaxCategory', - 'TaxRate', - 'User', - 'Zone', - ], - PaginatedList: [ - 'AdministratorList', - 'AssetList', - 'ChannelList', - 'CollectionList', - 'CountryList', - 'CustomerGroupList', - 'CustomerList', - 'FacetList', - 'FacetValueList', - 'HistoryEntryList', - 'JobList', - 'OrderList', - 'PaymentMethodList', - 'ProductList', - 'ProductVariantList', - 'PromotionList', - 'ProvinceList', - 'RoleList', - 'SellerList', - 'ShippingMethodList', - 'StockLocationList', - 'TagList', - 'TaxCategoryList', - 'TaxRateList', - 'ZoneList', - ], - RefundOrderResult: [ - 'AlreadyRefundedError', - 'MultipleOrderError', - 'NothingToRefundError', - 'OrderStateTransitionError', - 'PaymentOrderMismatchError', - 'QuantityTooGreatError', - 'Refund', - 'RefundAmountError', - 'RefundOrderStateError', - 'RefundStateTransitionError', - ], - Region: ['Country', 'Province'], - RemoveFacetFromChannelResult: ['Facet', 'FacetInUseError'], - RemoveOptionGroupFromProductResult: ['Product', 'ProductOptionInUseError'], - RemoveOrderItemsResult: ['Order', 'OrderModificationError'], - SearchResultPrice: ['PriceRange', 'SinglePrice'], - SetCustomerForDraftOrderResult: ['EmailAddressConflictError', 'Order'], - SetOrderShippingMethodResult: [ - 'IneligibleShippingMethodError', - 'NoActiveOrderError', - 'Order', - 'OrderModificationError', - ], - SettlePaymentResult: [ - 'OrderStateTransitionError', - 'Payment', - 'PaymentStateTransitionError', - 'SettlePaymentError', - ], - SettleRefundResult: ['Refund', 'RefundStateTransitionError'], - StockMovement: ['Allocation', 'Cancellation', 'Release', 'Return', 'Sale', 'StockAdjustment'], - StockMovementItem: ['Allocation', 'Cancellation', 'Release', 'Return', 'Sale', 'StockAdjustment'], - StructField: [ - 'BooleanStructFieldConfig', - 'DateTimeStructFieldConfig', - 'FloatStructFieldConfig', - 'IntStructFieldConfig', - 'StringStructFieldConfig', - 'TextStructFieldConfig', - ], - StructFieldConfig: [ - 'BooleanStructFieldConfig', - 'DateTimeStructFieldConfig', - 'FloatStructFieldConfig', - 'IntStructFieldConfig', - 'StringStructFieldConfig', - 'TextStructFieldConfig', - ], - TransitionFulfillmentToStateResult: ['Fulfillment', 'FulfillmentStateTransitionError'], - TransitionOrderToStateResult: ['Order', 'OrderStateTransitionError'], - TransitionPaymentToStateResult: ['Payment', 'PaymentStateTransitionError'], - UpdateChannelResult: ['Channel', 'LanguageNotAvailableError'], - UpdateCustomerResult: ['Customer', 'EmailAddressConflictError'], - UpdateGlobalSettingsResult: ['ChannelDefaultLanguageError', 'GlobalSettings'], - UpdateOrderItemsResult: [ - 'InsufficientStockError', - 'NegativeQuantityError', - 'Order', - 'OrderLimitError', - 'OrderModificationError', - ], - UpdatePromotionResult: ['MissingConditionsError', 'Promotion'], - }, + export interface PossibleTypesResultData { + possibleTypes: { + [key: string]: string[] + } + } + const result: PossibleTypesResultData = { + "possibleTypes": { + "AddFulfillmentToOrderResult": [ + "CreateFulfillmentError", + "EmptyOrderLineSelectionError", + "Fulfillment", + "FulfillmentStateTransitionError", + "InsufficientStockOnHandError", + "InvalidFulfillmentHandlerError", + "ItemsAlreadyFulfilledError" + ], + "AddManualPaymentToOrderResult": [ + "ManualPaymentStateError", + "Order" + ], + "ApplyCouponCodeResult": [ + "CouponCodeExpiredError", + "CouponCodeInvalidError", + "CouponCodeLimitError", + "Order" + ], + "AuthenticationResult": [ + "CurrentUser", + "InvalidCredentialsError" + ], + "CancelOrderResult": [ + "CancelActiveOrderError", + "EmptyOrderLineSelectionError", + "MultipleOrderError", + "Order", + "OrderStateTransitionError", + "QuantityTooGreatError" + ], + "CancelPaymentResult": [ + "CancelPaymentError", + "Payment", + "PaymentStateTransitionError" + ], + "CreateAssetResult": [ + "Asset", + "MimeTypeError" + ], + "CreateChannelResult": [ + "Channel", + "LanguageNotAvailableError" + ], + "CreateCustomerResult": [ + "Customer", + "EmailAddressConflictError" + ], + "CreatePromotionResult": [ + "MissingConditionsError", + "Promotion" + ], + "CustomField": [ + "BooleanCustomFieldConfig", + "DateTimeCustomFieldConfig", + "FloatCustomFieldConfig", + "IntCustomFieldConfig", + "LocaleStringCustomFieldConfig", + "LocaleTextCustomFieldConfig", + "RelationCustomFieldConfig", + "StringCustomFieldConfig", + "StructCustomFieldConfig", + "TextCustomFieldConfig" + ], + "CustomFieldConfig": [ + "BooleanCustomFieldConfig", + "DateTimeCustomFieldConfig", + "FloatCustomFieldConfig", + "IntCustomFieldConfig", + "LocaleStringCustomFieldConfig", + "LocaleTextCustomFieldConfig", + "RelationCustomFieldConfig", + "StringCustomFieldConfig", + "StructCustomFieldConfig", + "TextCustomFieldConfig" + ], + "DuplicateEntityResult": [ + "DuplicateEntityError", + "DuplicateEntitySuccess" + ], + "ErrorResult": [ + "AlreadyRefundedError", + "CancelActiveOrderError", + "CancelPaymentError", + "ChannelDefaultLanguageError", + "CouponCodeExpiredError", + "CouponCodeInvalidError", + "CouponCodeLimitError", + "CreateFulfillmentError", + "DuplicateEntityError", + "EmailAddressConflictError", + "EmptyOrderLineSelectionError", + "FacetInUseError", + "FulfillmentStateTransitionError", + "GuestCheckoutError", + "IneligibleShippingMethodError", + "InsufficientStockError", + "InsufficientStockOnHandError", + "InvalidCredentialsError", + "InvalidFulfillmentHandlerError", + "ItemsAlreadyFulfilledError", + "LanguageNotAvailableError", + "ManualPaymentStateError", + "MimeTypeError", + "MissingConditionsError", + "MultipleOrderError", + "NativeAuthStrategyError", + "NegativeQuantityError", + "NoActiveOrderError", + "NoChangesSpecifiedError", + "NothingToRefundError", + "OrderInterceptorError", + "OrderLimitError", + "OrderModificationError", + "OrderModificationStateError", + "OrderStateTransitionError", + "PaymentMethodMissingError", + "PaymentOrderMismatchError", + "PaymentStateTransitionError", + "ProductOptionInUseError", + "QuantityTooGreatError", + "RefundAmountError", + "RefundOrderStateError", + "RefundPaymentIdMissingError", + "RefundStateTransitionError", + "SettlePaymentError" + ], + "ModifyOrderResult": [ + "CouponCodeExpiredError", + "CouponCodeInvalidError", + "CouponCodeLimitError", + "IneligibleShippingMethodError", + "InsufficientStockError", + "NegativeQuantityError", + "NoChangesSpecifiedError", + "Order", + "OrderLimitError", + "OrderModificationStateError", + "PaymentMethodMissingError", + "RefundPaymentIdMissingError" + ], + "NativeAuthenticationResult": [ + "CurrentUser", + "InvalidCredentialsError", + "NativeAuthStrategyError" + ], + "Node": [ + "Address", + "Administrator", + "Allocation", + "Asset", + "AuthenticationMethod", + "Cancellation", + "Channel", + "Collection", + "Country", + "Customer", + "CustomerGroup", + "Facet", + "FacetValue", + "Fulfillment", + "HistoryEntry", + "Job", + "Order", + "OrderLine", + "OrderModification", + "Payment", + "PaymentMethod", + "Product", + "ProductOption", + "ProductOptionGroup", + "ProductVariant", + "Promotion", + "Province", + "Refund", + "Release", + "Return", + "Role", + "Sale", + "Seller", + "ShippingMethod", + "StockAdjustment", + "StockLevel", + "StockLocation", + "Surcharge", + "Tag", + "TaxCategory", + "TaxRate", + "User", + "Zone" + ], + "PaginatedList": [ + "AdministratorList", + "AssetList", + "ChannelList", + "CollectionList", + "CountryList", + "CustomerGroupList", + "CustomerList", + "FacetList", + "FacetValueList", + "HistoryEntryList", + "JobList", + "OrderList", + "PaymentMethodList", + "ProductList", + "ProductVariantList", + "PromotionList", + "ProvinceList", + "RoleList", + "SellerList", + "ShippingMethodList", + "StockLocationList", + "TagList", + "TaxCategoryList", + "TaxRateList", + "ZoneList" + ], + "RefundOrderResult": [ + "AlreadyRefundedError", + "MultipleOrderError", + "NothingToRefundError", + "OrderStateTransitionError", + "PaymentOrderMismatchError", + "QuantityTooGreatError", + "Refund", + "RefundAmountError", + "RefundOrderStateError", + "RefundStateTransitionError" + ], + "Region": [ + "Country", + "Province" + ], + "RemoveFacetFromChannelResult": [ + "Facet", + "FacetInUseError" + ], + "RemoveOptionGroupFromProductResult": [ + "Product", + "ProductOptionInUseError" + ], + "RemoveOrderItemsResult": [ + "Order", + "OrderInterceptorError", + "OrderModificationError" + ], + "SearchResultPrice": [ + "PriceRange", + "SinglePrice" + ], + "SetCustomerForDraftOrderResult": [ + "EmailAddressConflictError", + "Order" + ], + "SetOrderShippingMethodResult": [ + "IneligibleShippingMethodError", + "NoActiveOrderError", + "Order", + "OrderModificationError" + ], + "SettlePaymentResult": [ + "OrderStateTransitionError", + "Payment", + "PaymentStateTransitionError", + "SettlePaymentError" + ], + "SettleRefundResult": [ + "Refund", + "RefundStateTransitionError" + ], + "StockMovement": [ + "Allocation", + "Cancellation", + "Release", + "Return", + "Sale", + "StockAdjustment" + ], + "StockMovementItem": [ + "Allocation", + "Cancellation", + "Release", + "Return", + "Sale", + "StockAdjustment" + ], + "StructField": [ + "BooleanStructFieldConfig", + "DateTimeStructFieldConfig", + "FloatStructFieldConfig", + "IntStructFieldConfig", + "StringStructFieldConfig", + "TextStructFieldConfig" + ], + "StructFieldConfig": [ + "BooleanStructFieldConfig", + "DateTimeStructFieldConfig", + "FloatStructFieldConfig", + "IntStructFieldConfig", + "StringStructFieldConfig", + "TextStructFieldConfig" + ], + "TransitionFulfillmentToStateResult": [ + "Fulfillment", + "FulfillmentStateTransitionError" + ], + "TransitionOrderToStateResult": [ + "Order", + "OrderStateTransitionError" + ], + "TransitionPaymentToStateResult": [ + "Payment", + "PaymentStateTransitionError" + ], + "UpdateChannelResult": [ + "Channel", + "LanguageNotAvailableError" + ], + "UpdateCustomerResult": [ + "Customer", + "EmailAddressConflictError" + ], + "UpdateGlobalSettingsResult": [ + "ChannelDefaultLanguageError", + "GlobalSettings" + ], + "UpdateOrderItemsResult": [ + "InsufficientStockError", + "NegativeQuantityError", + "Order", + "OrderInterceptorError", + "OrderLimitError", + "OrderModificationError" + ], + "UpdatePromotionResult": [ + "MissingConditionsError", + "Promotion" + ] + } }; -export default result; + export default result; + \ No newline at end of file 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 86fcb1550e..87a4e06ea4 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 @@ -6,413 +6,391 @@ 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 & { - 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']; + 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 = { - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - data?: Maybe; - description: Scalars['String']['output']; - type: AdjustmentType; + 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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; }; export type AdministratorList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AdministratorListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - /** - * The amount to be refunded to this particular Payment. This was introduced in - * v2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment` - * fields will be removed in a future version. - */ - amount?: InputMaybe; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; + /** + * The amount to be refunded to this particular Payment. This was introduced in + * v2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment` + * fields will be removed in a future version. + */ + amount?: 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 & { - 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 & { + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - refundId: Scalars['ID']['output']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AssetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - strategy: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: 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 BooleanStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if an attempting to cancel lines from an Order which is still active */ export type CancelActiveOrderError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; export type CancelPaymentResult = CancelPaymentError | Payment | PaymentStateTransitionError; -export type Cancellation = Node & - StockMovement & { - 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 & { + 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 & { - 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']; + 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']; }; /** @@ -420,121 +398,122 @@ export type Channel = Node & { * of the GlobalSettings */ export type ChannelDefaultLanguageError = ErrorResult & { - channelCode: Scalars['String']['output']; - errorCode: ErrorCode; - language: Scalars['String']['output']; - message: Scalars['String']['output']; + channelCode: Scalars['String']['output']; + errorCode: ErrorCode; + language: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type ChannelFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ChannelListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 = { - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type CollectionFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CollectionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -542,77 +521,77 @@ export type CollectionListOptions = { * by the search, and in what quantity. */ export type CollectionResult = { - collection: Collection; - count: Scalars['Int']['output']; + 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 = { - 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']; + 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 = { - name: Scalars['String']['output']; - value: Scalars['String']['output']; + name: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type 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; + 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 = { - args: Array; - code: Scalars['String']['output']; + args: Array; + code: Scalars['String']['output']; }; export type ConfigurableOperationDefinition = { - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; + 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 = { - x: Scalars['Float']['output']; - y: Scalars['Float']['output']; + x: Scalars['Float']['output']; + y: Scalars['Float']['output']; }; export type CoordinateInput = { - x: Scalars['Float']['input']; - y: Scalars['Float']['input']; + x: Scalars['Float']['input']; + y: Scalars['Float']['input']; }; /** @@ -621,91 +600,90 @@ export type CoordinateInput = { * The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" etc. This code is used in certain inputs such as * `UpdateAddressInput` and `CreateAddressInput` to specify the country. */ -export type Country = Node & - Region & { - 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 Country = Node & Region & { + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CountryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeInvalidError = ErrorResult & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeLimitError = ErrorResult & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - limit: Scalars['Int']['output']; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + limit: Scalars['Int']['output']; + message: Scalars['String']['output']; }; /** @@ -716,261 +694,261 @@ export type CouponCodeLimitError = ErrorResult & { * If an invalid code is passed, the mutation will fail. */ 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 & { - errorCode: ErrorCode; - fulfillmentHandlerError: Scalars['String']['output']; - message: Scalars['String']['output']; + 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']; }; /** @@ -980,527 +958,520 @@ 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 = { - channels: Array; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; + channels: Array; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; }; export type CurrentUserChannel = { - code: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - token: Scalars['String']['output']; + 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; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = - | BooleanCustomFieldConfig - | DateTimeCustomFieldConfig - | FloatCustomFieldConfig - | IntCustomFieldConfig - | LocaleStringCustomFieldConfig - | LocaleTextCustomFieldConfig - | RelationCustomFieldConfig - | StringCustomFieldConfig - | StructCustomFieldConfig - | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | StructCustomFieldConfig | TextCustomFieldConfig; /** * This type is deprecated in v2.2 in favor of the EntityCustomFields type, * which allows custom fields to be defined on user-supplied entities. */ export type 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; - ProductVariantPrice: Array; - Promotion: Array; - Region: Array; - Seller: Array; - ShippingMethod: Array; - StockLocation: Array; - TaxCategory: Array; - TaxRate: Array; - User: Array; - Zone: Array; + 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; + ProductVariantPrice: Array; + Promotion: Array; + Region: Array; + Seller: Array; + ShippingMethod: Array; + StockLocation: Array; + TaxCategory: Array; + TaxRate: Array; + User: Array; + Zone: Array; }; export type Customer = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroup = Node & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customers: CustomerList; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroupList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerGroupListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; }; /** @@ -1508,19 +1479,19 @@ export type DateRange = { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** @@ -1528,242 +1499,243 @@ export type DateTimeCustomFieldConfig = CustomField & { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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 = { - message?: Maybe; - result: DeletionResult; + 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 = { - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - amountWithTax: Scalars['Money']['output']; - description: Scalars['String']['output']; - type: AdjustmentType; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + amountWithTax: Scalars['Money']['output']; + description: Scalars['String']['output']; + type: AdjustmentType; }; export type DuplicateEntityError = ErrorResult & { - duplicationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + duplicationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type DuplicateEntityInput = { - duplicatorInput: ConfigurableOperationInput; - entityId: Scalars['ID']['input']; - entityName: Scalars['String']['input']; + duplicatorInput: ConfigurableOperationInput; + entityId: Scalars['ID']['input']; + entityName: Scalars['String']['input']; }; export type DuplicateEntityResult = DuplicateEntityError | DuplicateEntitySuccess; export type DuplicateEntitySuccess = { - newEntityId: Scalars['ID']['output']; + newEntityId: Scalars['ID']['output']; }; /** Returned when attempting to create a Customer with an email address already registered to an existing User. */ export type EmailAddressConflictError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if no OrderLines have been specified for the operation */ export type EmptyOrderLineSelectionError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type EntityCustomFields = { - customFields: Array; - entityName: Scalars['String']['output']; + customFields: Array; + entityName: Scalars['String']['output']; }; export type EntityDuplicatorDefinition = { - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; - forEntities: Array; - requiresPermission: Array; + args: Array; + code: Scalars['String']['output']; + description: Scalars['String']['output']; + forEntities: Array; + requiresPermission: Array; }; 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', - DUPLICATE_ENTITY_ERROR = 'DUPLICATE_ENTITY_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_AMOUNT_ERROR = 'REFUND_AMOUNT_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', + DUPLICATE_ENTITY_ERROR = 'DUPLICATE_ENTITY_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_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_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_AMOUNT_ERROR = 'REFUND_AMOUNT_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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetInUseError = ErrorResult & { - errorCode: ErrorCode; - facetCode: Scalars['String']['output']; - message: Scalars['String']['output']; - productCount: Scalars['Int']['output']; - variantCount: Scalars['Int']['output']; + errorCode: ErrorCode; + facetCode: Scalars['String']['output']; + message: Scalars['String']['output']; + productCount: Scalars['Int']['output']; + variantCount: Scalars['Int']['output']; }; export type FacetList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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']; + 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']; }; /** @@ -1775,38 +1747,38 @@ 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + facetId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetValueListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -1814,227 +1786,226 @@ export type FacetValueListOptions = { * by the search, and in what quantity. */ export type FacetValueResult = { - count: Scalars['Int']['output']; - facetValue: FacetValue; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FloatStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FulfillOrderInput = { - handler: ConfigurableOperationInput; - lines: Array; + handler: ConfigurableOperationInput; + lines: Array; }; export type Fulfillment = Node & { - 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']; + 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 = { - fulfillment: Fulfillment; - fulfillmentId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + 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 = { - 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']; + 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 & { - errorCode: ErrorCode; - errorDetail: Scalars['String']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + errorDetail: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type HistoryEntry = Node & { - administrator?: Maybe; - createdAt: Scalars['DateTime']['output']; - data: Scalars['JSON']['output']; - id: Scalars['ID']['output']; - isPublic: Scalars['Boolean']['output']; - type: HistoryEntryType; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - isPublic?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + isPublic?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type HistoryEntryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type HistoryEntryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', - 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', + 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 = { - errors?: Maybe>; - imported: Scalars['Int']['output']; - processed: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add more items to the Order than are available */ export type InsufficientStockError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - order: Order; - quantityAvailable: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + order: Order; + quantityAvailable: Scalars['Int']['output']; }; /** @@ -2042,132 +2013,131 @@ export type InsufficientStockError = ErrorResult & { * stockOnHand of a ProductVariant to satisfy the requested quantity. */ export type InsufficientStockOnHandError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - stockOnHand: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + stockOnHand: Scalars['Int']['output']; }; export type IntCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type IntStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if the user authentication credentials are not valid */ export type InvalidCredentialsError = ErrorResult & { - authenticationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + authenticationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified FulfillmentHandler code is not valid */ export type InvalidFulfillmentHandlerError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified items are already part of a Fulfillment */ export type ItemsAlreadyFulfilledError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Job = Node & { - 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; + 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 = { - bufferId: Scalars['String']['output']; - size: Scalars['Int']['output']; + bufferId: Scalars['String']['output']; + size: Scalars['Int']['output']; }; export type JobFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - isSettled?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; - state?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type JobListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - name: Scalars['String']['output']; - running: Scalars['Boolean']['output']; + 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; }; /** @@ -2177,12 +2147,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' } /** @@ -2195,372 +2165,372 @@ 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 & { - errorCode: ErrorCode; - languageCode: Scalars['String']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + languageCode: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type LocaleStringCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - pattern?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + pattern?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocaleTextCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocalizedString = { - languageCode: LanguageCode; - value: Scalars['String']['output']; + 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; }; /** @@ -2568,1116 +2538,1264 @@ export type ManualPaymentInput = { * is not in the required state. */ export type ManualPaymentStateError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum MetricInterval { - Daily = 'Daily', + Daily = 'Daily' } export type MetricSummary = { - entries: Array; - interval: MetricInterval; - title: Scalars['String']['output']; - type: MetricType; + entries: Array; + interval: MetricInterval; + title: Scalars['String']['output']; + type: MetricType; }; export type MetricSummaryEntry = { - label: Scalars['String']['output']; - value: Scalars['Float']['output']; + 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 & { - errorCode: ErrorCode; - fileName: Scalars['String']['output']; - message: Scalars['String']['output']; - mimeType: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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']; - /** - * Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be - * applied in the case that multiple payment methods have been used on the order. - */ - refund?: InputMaybe; - refunds?: InputMaybe>; - /** Added in v2.2 */ - shippingMethodIds?: 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']; + /** + * Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be + * applied in the case that multiple payment methods have been used on the order. + */ + refund?: InputMaybe; + refunds?: InputMaybe>; + /** Added in v2.2 */ + shippingMethodIds?: InputMaybe>; + surcharges?: InputMaybe>; + updateBillingAddress?: InputMaybe; + updateShippingAddress?: InputMaybe; }; export type ModifyOrderOptions = { - freezePromotions?: InputMaybe; - recalculateShipping?: InputMaybe; -}; - -export type ModifyOrderResult = - | CouponCodeExpiredError - | CouponCodeInvalidError - | CouponCodeLimitError - | IneligibleShippingMethodError - | InsufficientStockError - | NegativeQuantityError - | NoChangesSpecifiedError - | Order - | OrderLimitError - | OrderModificationStateError - | PaymentMethodMissingError - | RefundPaymentIdMissingError; + freezePromotions?: InputMaybe; + recalculateShipping?: InputMaybe; +}; + +export type ModifyOrderResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | IneligibleShippingMethodError | 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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; - /** - * Duplicate an existing entity using a specific EntityDuplicator. - * Since v2.2.0. - */ - duplicateEntity: DuplicateEntityResult; - flushBufferedJobs: Success; - importProducts?: Maybe; - /** - * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) - * - * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie - * to 1 year. - */ - 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; - /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */ - setOrderCustomer?: Maybe; - settlePayment: SettlePaymentResult; - settleRefund: SettleRefundResult; - transitionFulfillmentToState: TransitionFulfillmentToStateResult; - transitionOrderToState?: Maybe; - transitionPaymentToState: TransitionPaymentToStateResult; - /** Unsets the billing address for a draft Order */ - unsetDraftOrderBillingAddress: Order; - /** Unsets the sthipping address for a draft Order */ - unsetDraftOrderShippingAddress: Order; - /** 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; + /** 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; + /** + * Duplicate an existing entity using a specific EntityDuplicator. + * Since v2.2.0. + */ + duplicateEntity: DuplicateEntityResult; + flushBufferedJobs: Success; + importProducts?: Maybe; + /** + * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) + * + * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie + * to 1 year. + */ + 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; + /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */ + setOrderCustomer?: Maybe; + settlePayment: SettlePaymentResult; + settleRefund: SettleRefundResult; + transitionFulfillmentToState: TransitionFulfillmentToStateResult; + transitionOrderToState?: Maybe; + transitionPaymentToState: TransitionPaymentToStateResult; + /** Unsets the billing address for a draft Order */ + unsetDraftOrderBillingAddress: Order; + /** Unsets the shipping address for a draft Order */ + unsetDraftOrderShippingAddress: Order; + /** 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 MutationDuplicateEntityArgs = { - input: DuplicateEntityInput; + input: DuplicateEntityInput; }; + 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 MutationSetOrderCustomerArgs = { - input: SetOrderCustomerInput; + input: SetOrderCustomerInput; }; + 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 MutationUnsetDraftOrderBillingAddressArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; + export type MutationUnsetDraftOrderShippingAddressArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -3685,309 +3803,317 @@ export type NegativeQuantityError = ErrorResult & { * current session. */ export type NoActiveOrderError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when a call to modifyOrder fails to specify any changes */ export type NoChangesSpecifiedError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - /** 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']; + /** 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 = { - city?: Maybe; - company?: Maybe; - country?: Maybe; - countryCode?: Maybe; - customFields?: Maybe; - fullName?: Maybe; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1?: Maybe; - streetLine2?: Maybe; + 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; }; /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { - errorCode: ErrorCode; - maxItems: Scalars['Int']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + maxItems: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type OrderLine = Node & { - 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']; - /** The quantity of items purchased */ - 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']; + 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']; + /** The quantity of items purchased */ + 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type OrderListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderModificationLine = { - modification: OrderModification; - modificationId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderProcessState = { - name: Scalars['String']['output']; - to: Array; + 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 & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -3995,83 +4121,83 @@ export type OrderStateTransitionError = ErrorResult & { * by taxRate. */ export type 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']; + /** 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 & { - 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']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PaymentMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -4079,59 +4205,59 @@ export type PaymentMethodListOptions = { * though the price has increased as a result of the changes. */ export type PaymentMethodMissingError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Payment state */ export type PaymentStateTransitionError = ErrorResult & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4167,446 +4293,448 @@ 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 = { - assignable: Scalars['Boolean']['output']; - description: Scalars['String']['output']; - name: Scalars['String']['output']; + 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 = { - max: Scalars['Money']['output']; - min: Scalars['Money']['output']; + max: Scalars['Money']['output']; + min: Scalars['Money']['output']; }; export type Product = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - sku?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + sku?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 & { - 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - optionGroupCode: Scalars['String']['output']; - productVariantCount: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + optionGroupCode: Scalars['String']['output']; + productVariantCount: Scalars['Int']['output']; }; export type ProductOptionTranslation = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - 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']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductVariantListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - currencyCode: CurrencyCode; - customFields?: Maybe; - price: Scalars['Money']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + price: Scalars['Money']['output']; }; /** @@ -4614,576 +4742,623 @@ 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; - usageLimit?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PromotionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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 & { + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProvinceListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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; - /** Returns all configured EntityDuplicators. */ - entityDuplicators: 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; + 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; + /** Returns all configured EntityDuplicators. */ + entityDuplicators: 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 & { - 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']; + 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']; }; /** Returned if `amount` is greater than the maximum un-refunded amount of the Payment */ export type RefundAmountError = ErrorResult & { - errorCode: ErrorCode; - maximumRefundable: Scalars['Int']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + maximumRefundable: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type RefundLine = { - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; - refund: Refund; - refundId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; + refund: Refund; + refundId: Scalars['ID']['output']; }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; - /** - * If an amount is specified, this value will be used to create a Refund rather than calculating the - * amount automatically. This was added in v2.2 and will be the preferred way to specify the refund - * amount in the future. The `lines`, `shipping` and `adjustment` fields will likely be removed in a future - * version. - */ - amount?: InputMaybe; - lines: Array; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; - shipping: Scalars['Money']['input']; -}; - -export type RefundOrderResult = - | AlreadyRefundedError - | MultipleOrderError - | NothingToRefundError - | OrderStateTransitionError - | PaymentOrderMismatchError - | QuantityTooGreatError - | Refund - | RefundAmountError - | RefundOrderStateError - | RefundStateTransitionError; + /** @deprecated Use the `amount` field instead */ + adjustment?: InputMaybe; + /** + * The amount to be refunded to this particular payment. This was introduced in v2.2.0 as the preferred way to specify the refund amount. + * Can be as much as the total amount of the payment minus the sum of all previous refunds. + */ + amount?: InputMaybe; + /** @deprecated Use the `amount` field instead */ + lines?: InputMaybe>; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; + /** @deprecated Use the `amount` field instead */ + shipping?: InputMaybe; +}; + +export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundAmountError | RefundOrderStateError | RefundStateTransitionError; /** Returned if an attempting to refund an Order which is not in the expected state */ export type RefundOrderStateError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; /** @@ -5191,836 +5366,815 @@ export type RefundOrderStateError = ErrorResult & { * though the price has decreased as a result of the changes. */ export type RefundPaymentIdMissingError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Refund state */ export type RefundStateTransitionError = ErrorResult & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RelationCustomFieldConfig = CustomField & { - description?: Maybe>; - entity: Scalars['String']['output']; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type Release = Node & - StockMovement & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; - }; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type Release = Node & StockMovement & { + 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; -export type RemoveOrderItemsResult = Order | OrderModificationError; +export type RemoveOrderItemsResult = Order | OrderInterceptorError | 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 & { - 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 & { + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; +}; export type Role = Node & { - channels: Array; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export type RoleList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type RoleListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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 & { + 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 = { - success: Scalars['Boolean']['output']; + success: Scalars['Boolean']['output']; }; export type SearchResponse = { - collections: Array; - facetValues: Array; - items: Array; - totalItems: Scalars['Int']['output']; + collections: Array; + facetValues: Array; + items: Array; + totalItems: Scalars['Int']['output']; }; export type 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']; + /** 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 = { - focalPoint?: Maybe; - id: Scalars['ID']['output']; - preview: Scalars['String']['output']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SellerFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type SellerList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SellerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - /** - * This field is deprecated in v2.2 in favor of the entityCustomFields field, - * which allows custom fields to be defined on user-supplies entities. - */ - customFieldConfig: CustomFields; - entityCustomFields: Array; - moneyStrategyPrecision: Scalars['Int']['output']; - orderProcess: Array; - permissions: Array; - permittedAssetTypes: Array; + /** + * This field is deprecated in v2.2 in favor of the entityCustomFields field, + * which allows custom fields to be defined on user-supplies entities. + */ + customFieldConfig: CustomFields; + entityCustomFields: Array; + moneyStrategyPrecision: Scalars['Int']['output']; + orderProcess: Array; + permissions: Array; + permittedAssetTypes: Array; }; export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order; export type SetOrderCustomerInput = { - customerId: Scalars['ID']['input']; - note?: InputMaybe; - orderId: Scalars['ID']['input']; + customerId: Scalars['ID']['input']; + note?: InputMaybe; + orderId: Scalars['ID']['input']; }; -export type SetOrderShippingMethodResult = - | IneligibleShippingMethodError - | NoActiveOrderError - | Order - | OrderModificationError; +export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError; /** Returned if the Payment settlement fails */ export type SettlePaymentError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + 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 = { - discountedPrice: Scalars['Money']['output']; - discountedPriceWithTax: Scalars['Money']['output']; - discounts: Array; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - shippingMethod: ShippingMethod; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ShippingMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - value: Scalars['Money']['output']; + value: Scalars['Money']['output']; }; export enum SortOrder { - ASC = 'ASC', - DESC = 'DESC', + ASC = 'ASC', + DESC = 'DESC' } -export type StockAdjustment = Node & - StockMovement & { - 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 & { + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; +}; export type StockLevel = Node & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockLocationList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockLocationListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - items: Array; - totalItems: Scalars['Int']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + options?: Maybe>; + pattern?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StringFieldOption = { - label?: Maybe>; - value: Scalars['String']['output']; + 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 StringStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + options?: Maybe>; + pattern?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructCustomFieldConfig = CustomField & { - description?: Maybe>; - fields: Array; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + fields: Array; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructField = { - description?: Maybe>; - label?: Maybe>; - list?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type StructFieldConfig = - | BooleanStructFieldConfig - | DateTimeStructFieldConfig - | FloatStructFieldConfig - | IntStructFieldConfig - | StringStructFieldConfig - | TextStructFieldConfig; + description?: Maybe>; + label?: Maybe>; + list?: Maybe; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type StructFieldConfig = BooleanStructFieldConfig | DateTimeStructFieldConfig | FloatStructFieldConfig | IntStructFieldConfig | StringStructFieldConfig | TextStructFieldConfig; /** Indicates that an operation succeeded, where we do not want to return any more specific information. */ export type Success = { - success: Scalars['Boolean']['output']; + success: Scalars['Boolean']['output']; }; export type Surcharge = Node & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['String']['output']; }; export type TagFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TagList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TagListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isDefault: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - isDefault?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + isDefault?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxCategoryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxCategoryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - description: Scalars['String']['output']; - taxRate: Scalars['Float']['output']; + description: Scalars['String']['output']; + taxRate: Scalars['Float']['output']; }; export type TaxRate = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxRateList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxRateListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - metadata?: Maybe; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + metadata?: Maybe; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type TestShippingMethodResult = { - eligible: Scalars['Boolean']['output']; - quote?: Maybe; + eligible: Scalars['Boolean']['output']; + quote?: Maybe; }; export type TextCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TextStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError; @@ -6030,11 +6184,11 @@ 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; }; /** @@ -6045,498 +6199,370 @@ export type UpdateActiveAdministratorInput = { * If an invalid code is passed, the mutation will fail. */ 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 | OrderInterceptorError | 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 & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - members: Array; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + members: Array; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ZoneFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ZoneList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ZoneListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 CreateAssetsMutationVariables = Exact<{ - input: Array | CreateAssetInput; + input: Array | CreateAssetInput; }>; -export type CreateAssetsMutation = { - createAssets: Array< - | { - id: string; - name: string; - source: string; - preview: string; - focalPoint?: { x: number; y: number } | null; - } - | {} - >; -}; + +export type CreateAssetsMutation = { createAssets: Array<{ id: string, name: string, source: string, preview: string, focalPoint?: { x: number, y: number } | null } | {}> }; export type DeleteAssetMutationVariables = Exact<{ - input: DeleteAssetInput; + input: DeleteAssetInput; }>; + export type DeleteAssetMutation = { deleteAsset: { result: DeletionResult } }; -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: 'InlineFragment', - 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: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'source' } }, - { 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 DeleteAssetDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeleteAsset' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'DeleteAssetInput' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deleteAsset' }, - 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' } }], - }, - }, - ], - }, - }, - ], -} 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":"InlineFragment","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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"source"}},{"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 DeleteAssetDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteAsset"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeleteAssetInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteAsset"},"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"}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/packages/common/src/generated-shop-types.ts b/packages/common/src/generated-shop-types.ts index 92a8b99f07..4e8e15c165 100644 --- a/packages/common/src/generated-shop-types.ts +++ b/packages/common/src/generated-shop-types.ts @@ -5,249 +5,236 @@ 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 }; + 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 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; - requiresPermission?: 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; + requiresPermission?: 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 BooleanStructFieldConfig = StructField & { - __typename?: 'BooleanStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'BooleanStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -255,79 +242,79 @@ 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']; }; /** @@ -336,52 +323,51 @@ export type Coordinate = { * The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" etc. This code is used in certain inputs such as * `UpdateAddressInput` and `CreateAddressInput` to specify the country. */ -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 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']; }; /** @@ -392,27 +378,27 @@ export type CouponCodeLimitError = ErrorResult & { * If an invalid code is passed, the mutation will fail. */ 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; }; /** @@ -422,456 +408,448 @@ 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; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = - | BooleanCustomFieldConfig - | DateTimeCustomFieldConfig - | FloatCustomFieldConfig - | IntCustomFieldConfig - | LocaleStringCustomFieldConfig - | LocaleTextCustomFieldConfig - | RelationCustomFieldConfig - | StringCustomFieldConfig - | StructCustomFieldConfig - | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | StructCustomFieldConfig | 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; }; /** @@ -879,20 +857,20 @@ 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; - requiresPermission?: 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; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** @@ -900,164 +878,165 @@ export type DateTimeCustomFieldConfig = CustomField & { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeStructFieldConfig = StructField & { - __typename?: 'DateTimeStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'DateTimeStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_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']; - /** 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; - 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']; }; /** @@ -1069,39 +1048,39 @@ 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -1109,180 +1088,179 @@ 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 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; - requiresPermission?: 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; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FloatStructFieldConfig = StructField & { - __typename?: 'FloatStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'FloatStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', - 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', + 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>; }; /** @@ -1290,9 +1268,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']; }; /** @@ -1300,72 +1278,71 @@ 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; - requiresPermission?: 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; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type IntStructFieldConfig = StructField & { - __typename?: 'IntStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'IntStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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']; }; /** @@ -1378,608 +1355,630 @@ 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; - requiresPermission?: 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; + requiresPermission?: 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; - requiresPermission?: 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; + requiresPermission?: 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: { ... }}) - * - * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie - * to 1 year. - */ - 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 the active Order */ - setOrderBillingAddress: ActiveOrderResult; - /** Allows any custom fields to be set for the active Order */ - setOrderCustomFields: ActiveOrderResult; - /** Sets the shipping address for the active 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; - /** Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates` */ - transitionOrderToState?: Maybe; - /** Unsets the billing address for the active Order. Available since version 3.1.0 */ - unsetOrderBillingAddress: ActiveOrderResult; - /** Unsets the shipping address for the active Order. Available since version 3.1.0 */ - unsetOrderShippingAddress: ActiveOrderResult; - /** 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; + __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: { ... }}) + * + * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie + * to 1 year. + */ + 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 the active Order */ + setOrderBillingAddress: ActiveOrderResult; + /** Allows any custom fields to be set for the active Order */ + setOrderCustomFields: ActiveOrderResult; + /** Sets the shipping address for the active 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; + /** Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates` */ + transitionOrderToState?: Maybe; + /** Unsets the billing address for the active Order. Available since version 3.1.0 */ + unsetOrderBillingAddress: ActiveOrderResult; + /** Unsets the shipping address for the active Order. Available since version 3.1.0 */ + unsetOrderShippingAddress: ActiveOrderResult; + /** 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; }; + 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 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 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']; }; /** @@ -1987,13 +1986,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']; }; /** @@ -2001,259 +2000,268 @@ 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + __typename?: 'OrderInterceptorError'; + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; }; /** 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']; - /** The quantity of items purchased */ - 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']; + /** The quantity of items purchased */ + 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; }; /** @@ -2261,33 +2269,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']; }; /** @@ -2295,9 +2303,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']; }; /** @@ -2305,95 +2313,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']; }; /** @@ -2429,1002 +2437,979 @@ 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']; - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 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 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockLevel?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; - 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 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; - requiresPermission?: Maybe>; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type RemoveOrderItemsResult = Order | OrderModificationError; + __typename?: 'RelationCustomFieldConfig'; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type RemoveOrderItemsResult = Order | OrderInterceptorError | 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>; - /** @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 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; - requiresPermission?: 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; + requiresPermission?: 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 StringStructFieldConfig = StructField & { - __typename?: 'StringStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'StringStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + options?: Maybe>; + pattern?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructCustomFieldConfig = CustomField & { - __typename?: 'StructCustomFieldConfig'; - description?: Maybe>; - fields: Array; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'StructCustomFieldConfig'; + description?: Maybe>; + fields: Array; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructField = { - description?: Maybe>; - label?: Maybe>; - list?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type StructFieldConfig = - | BooleanStructFieldConfig - | DateTimeStructFieldConfig - | FloatStructFieldConfig - | IntStructFieldConfig - | StringStructFieldConfig - | TextStructFieldConfig; + description?: Maybe>; + label?: Maybe>; + list?: Maybe; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type StructFieldConfig = BooleanStructFieldConfig | DateTimeStructFieldConfig | FloatStructFieldConfig | IntStructFieldConfig | StringStructFieldConfig | TextStructFieldConfig; /** 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; - requiresPermission?: 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; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TextStructFieldConfig = StructField & { - __typename?: 'TextStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'TextStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionOrderToStateResult = Order | OrderStateTransitionError; @@ -3437,63 +3422,50 @@ export type TransitionOrderToStateResult = Order | OrderStateTransitionError; * If an invalid code is passed, the mutation will fail. */ 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 | OrderInterceptorError | 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']; }; /** @@ -3501,9 +3473,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']; }; /** @@ -3511,26 +3483,19 @@ 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/common/src/generated-types.ts b/packages/common/src/generated-types.ts index 08ad86be14..77a72df033 100644 --- a/packages/common/src/generated-types.ts +++ b/packages/common/src/generated-types.ts @@ -338,7 +338,6 @@ export type BooleanStructFieldConfig = StructField & { label?: Maybe>; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -1547,7 +1546,6 @@ export type DateTimeStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -1672,6 +1670,7 @@ export enum ErrorCode { 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_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_ERROR', ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', @@ -1897,7 +1896,6 @@ export type FloatStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -2117,7 +2115,6 @@ export type IntStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -2980,7 +2977,7 @@ export type Mutation = { transitionPaymentToState: TransitionPaymentToStateResult; /** Unsets the billing address for a draft Order */ unsetDraftOrderBillingAddress: Order; - /** Unsets the sthipping address for a draft Order */ + /** Unsets the shipping address for a draft Order */ unsetDraftOrderShippingAddress: Order; /** Update the active (currently logged-in) Administrator */ updateActiveAdministrator: Administrator; @@ -4050,6 +4047,14 @@ export type OrderFilterParameter = { updatedAt?: InputMaybe; }; +/** Returned when an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + __typename?: 'OrderInterceptorError'; + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; +}; + /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { __typename?: 'OrderLimitError'; @@ -5472,18 +5477,19 @@ export type RefundLine = { }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; + /** @deprecated Use the `amount` field instead */ + adjustment?: InputMaybe; /** - * If an amount is specified, this value will be used to create a Refund rather than calculating the - * amount automatically. This was added in v2.2 and will be the preferred way to specify the refund - * amount in the future. The `lines`, `shipping` and `adjustment` fields will likely be removed in a future - * version. + * The amount to be refunded to this particular payment. This was introduced in v2.2.0 as the preferred way to specify the refund amount. + * Can be as much as the total amount of the payment minus the sum of all previous refunds. */ amount?: InputMaybe; - lines: Array; + /** @deprecated Use the `amount` field instead */ + lines?: InputMaybe>; paymentId: Scalars['ID']['input']; reason?: InputMaybe; - shipping: Scalars['Money']['input']; + /** @deprecated Use the `amount` field instead */ + shipping?: InputMaybe; }; export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundAmountError | RefundOrderStateError | RefundStateTransitionError; @@ -5580,7 +5586,7 @@ export type RemoveFacetsFromChannelInput = { export type RemoveOptionGroupFromProductResult = Product | ProductOptionInUseError; -export type RemoveOrderItemsResult = Order | OrderModificationError; +export type RemoveOrderItemsResult = Order | OrderInterceptorError | OrderModificationError; export type RemovePaymentMethodsFromChannelInput = { channelId: Scalars['ID']['input']; @@ -6096,7 +6102,6 @@ export type StringStructFieldConfig = StructField & { length?: Maybe; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; options?: Maybe>; pattern?: Maybe; type: Scalars['String']['output']; @@ -6123,7 +6128,6 @@ export type StructField = { label?: Maybe>; list?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -6355,7 +6359,6 @@ export type TextStructFieldConfig = StructField & { label?: Maybe>; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -6529,7 +6532,7 @@ export type UpdateOrderInput = { id: Scalars['ID']['input']; }; -export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderLimitError | OrderModificationError; +export type UpdateOrderItemsResult = InsufficientStockError | NegativeQuantityError | Order | OrderInterceptorError | OrderLimitError | OrderModificationError; export type UpdateOrderNoteInput = { isPublic?: InputMaybe; diff --git a/packages/core/e2e/custom-field-struct.e2e-spec.ts b/packages/core/e2e/custom-field-struct.e2e-spec.ts index 150fbb8963..d34e956bd0 100644 --- a/packages/core/e2e/custom-field-struct.e2e-spec.ts +++ b/packages/core/e2e/custom-field-struct.e2e-spec.ts @@ -12,8 +12,6 @@ import { fixPostgresTimezone } from './utils/fix-pg-timezone'; fixPostgresTimezone(); -const validateInjectorSpy = vi.fn(); - const customConfig = mergeConfig(testConfig(), { dbConnectionOptions: { timezone: 'Z', @@ -67,6 +65,26 @@ const customConfig = mergeConfig(testConfig(), { ], }, ], + OrderLine: [ + { + type: 'struct', + name: 'fromBundle', + fields: [ + { name: 'bundleId', type: 'string' }, + { name: 'bundleName', type: 'string' }, + ], + }, + ], + Address: [ + { + name: 'geoLocation', + type: 'struct', + fields: [ + { name: 'latitude', type: 'float' }, + { name: 'longitude', type: 'float' }, + ], + }, + ], }, }); @@ -289,6 +307,111 @@ describe('Custom field struct type', () => { }); }); + it('updating OrderLine custom fields', async () => { + const result = await shopClient.query(gql` + mutation { + addItemToOrder( + productVariantId: "T_1" + quantity: 1 + customFields: { fromBundle: { bundleId: "bundle-1", bundleName: "Bundle 1" } } + ) { + ... on Order { + id + lines { + id + customFields { + fromBundle { + bundleId + bundleName + } + } + } + } + } + } + `); + + expect(result.addItemToOrder.lines[0].customFields).toEqual({ + fromBundle: { + bundleId: 'bundle-1', + bundleName: 'Bundle 1', + }, + }); + }); + + it('updating Address custom fields', async () => { + const result = await adminClient.query(gql` + mutation { + updateCustomerAddress( + input: { id: "T_1", customFields: { geoLocation: { latitude: 1.23, longitude: 4.56 } } } + ) { + id + customFields { + geoLocation { + latitude + longitude + } + } + } + } + `); + + expect(result.updateCustomerAddress.customFields).toEqual({ + geoLocation: { + latitude: 1.23, + longitude: 4.56, + }, + }); + }); + + it('updating OrderAddress custom fields', async () => { + const result = await shopClient.query( + gql` + mutation SetShippingAddress($input: CreateAddressInput!) { + setOrderShippingAddress(input: $input) { + ... on Order { + id + shippingAddress { + customFields { + geoLocation { + latitude + longitude + } + } + } + } + ... on ErrorResult { + errorCode + message + } + } + } + `, + { + input: { + fullName: 'name', + streetLine1: '12 the street', + city: 'foo', + postalCode: '123456', + countryCode: 'US', + customFields: { + geoLocation: { + latitude: 1.23, + longitude: 4.56, + }, + }, + }, + }, + ); + + expect(result.setOrderShippingAddress.shippingAddress.customFields).toEqual({ + geoLocation: { + latitude: 1.23, + longitude: 4.56, + }, + }); + }); + describe('struct list', () => { it('is initially an empty array', async () => { const result = await adminClient.query(gql` diff --git a/packages/core/e2e/graphql/generated-e2e-admin-types.ts b/packages/core/e2e/graphql/generated-e2e-admin-types.ts index 214cdf148d..1dd98bcc93 100644 --- a/packages/core/e2e/graphql/generated-e2e-admin-types.ts +++ b/packages/core/e2e/graphql/generated-e2e-admin-types.ts @@ -6,413 +6,391 @@ 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 & { - 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']; + 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 = { - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - data?: Maybe; - description: Scalars['String']['output']; - type: AdjustmentType; + 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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; }; export type AdministratorList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AdministratorListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - /** - * The amount to be refunded to this particular Payment. This was introduced in - * v2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment` - * fields will be removed in a future version. - */ - amount?: InputMaybe; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; + /** + * The amount to be refunded to this particular Payment. This was introduced in + * v2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment` + * fields will be removed in a future version. + */ + amount?: 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 & { - 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 & { + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - refundId: Scalars['ID']['output']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AssetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - strategy: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: 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 BooleanStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if an attempting to cancel lines from an Order which is still active */ export type CancelActiveOrderError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; export type CancelPaymentResult = CancelPaymentError | Payment | PaymentStateTransitionError; -export type Cancellation = Node & - StockMovement & { - 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 & { + 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 & { - 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']; + 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']; }; /** @@ -420,121 +398,122 @@ export type Channel = Node & { * of the GlobalSettings */ export type ChannelDefaultLanguageError = ErrorResult & { - channelCode: Scalars['String']['output']; - errorCode: ErrorCode; - language: Scalars['String']['output']; - message: Scalars['String']['output']; + channelCode: Scalars['String']['output']; + errorCode: ErrorCode; + language: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type ChannelFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ChannelListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 = { - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type CollectionFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CollectionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -542,77 +521,77 @@ export type CollectionListOptions = { * by the search, and in what quantity. */ export type CollectionResult = { - collection: Collection; - count: Scalars['Int']['output']; + 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 = { - 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']; + 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 = { - name: Scalars['String']['output']; - value: Scalars['String']['output']; + name: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type 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; + 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 = { - args: Array; - code: Scalars['String']['output']; + args: Array; + code: Scalars['String']['output']; }; export type ConfigurableOperationDefinition = { - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; + 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 = { - x: Scalars['Float']['output']; - y: Scalars['Float']['output']; + x: Scalars['Float']['output']; + y: Scalars['Float']['output']; }; export type CoordinateInput = { - x: Scalars['Float']['input']; - y: Scalars['Float']['input']; + x: Scalars['Float']['input']; + y: Scalars['Float']['input']; }; /** @@ -621,91 +600,90 @@ export type CoordinateInput = { * The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" etc. This code is used in certain inputs such as * `UpdateAddressInput` and `CreateAddressInput` to specify the country. */ -export type Country = Node & - Region & { - 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 Country = Node & Region & { + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CountryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeInvalidError = ErrorResult & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeLimitError = ErrorResult & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - limit: Scalars['Int']['output']; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + limit: Scalars['Int']['output']; + message: Scalars['String']['output']; }; /** @@ -716,261 +694,261 @@ export type CouponCodeLimitError = ErrorResult & { * If an invalid code is passed, the mutation will fail. */ 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 & { - errorCode: ErrorCode; - fulfillmentHandlerError: Scalars['String']['output']; - message: Scalars['String']['output']; + 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']; }; /** @@ -980,527 +958,520 @@ 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 = { - channels: Array; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; + channels: Array; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; }; export type CurrentUserChannel = { - code: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - token: Scalars['String']['output']; + 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; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = - | BooleanCustomFieldConfig - | DateTimeCustomFieldConfig - | FloatCustomFieldConfig - | IntCustomFieldConfig - | LocaleStringCustomFieldConfig - | LocaleTextCustomFieldConfig - | RelationCustomFieldConfig - | StringCustomFieldConfig - | StructCustomFieldConfig - | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | StructCustomFieldConfig | TextCustomFieldConfig; /** * This type is deprecated in v2.2 in favor of the EntityCustomFields type, * which allows custom fields to be defined on user-supplied entities. */ export type 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; - ProductVariantPrice: Array; - Promotion: Array; - Region: Array; - Seller: Array; - ShippingMethod: Array; - StockLocation: Array; - TaxCategory: Array; - TaxRate: Array; - User: Array; - Zone: Array; + 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; + ProductVariantPrice: Array; + Promotion: Array; + Region: Array; + Seller: Array; + ShippingMethod: Array; + StockLocation: Array; + TaxCategory: Array; + TaxRate: Array; + User: Array; + Zone: Array; }; export type Customer = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroup = Node & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customers: CustomerList; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroupList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerGroupListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; }; /** @@ -1508,19 +1479,19 @@ export type DateRange = { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** @@ -1528,242 +1499,243 @@ export type DateTimeCustomFieldConfig = CustomField & { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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 = { - message?: Maybe; - result: DeletionResult; + 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 = { - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - amountWithTax: Scalars['Money']['output']; - description: Scalars['String']['output']; - type: AdjustmentType; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + amountWithTax: Scalars['Money']['output']; + description: Scalars['String']['output']; + type: AdjustmentType; }; export type DuplicateEntityError = ErrorResult & { - duplicationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + duplicationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type DuplicateEntityInput = { - duplicatorInput: ConfigurableOperationInput; - entityId: Scalars['ID']['input']; - entityName: Scalars['String']['input']; + duplicatorInput: ConfigurableOperationInput; + entityId: Scalars['ID']['input']; + entityName: Scalars['String']['input']; }; export type DuplicateEntityResult = DuplicateEntityError | DuplicateEntitySuccess; export type DuplicateEntitySuccess = { - newEntityId: Scalars['ID']['output']; + newEntityId: Scalars['ID']['output']; }; /** Returned when attempting to create a Customer with an email address already registered to an existing User. */ export type EmailAddressConflictError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if no OrderLines have been specified for the operation */ export type EmptyOrderLineSelectionError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type EntityCustomFields = { - customFields: Array; - entityName: Scalars['String']['output']; + customFields: Array; + entityName: Scalars['String']['output']; }; export type EntityDuplicatorDefinition = { - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; - forEntities: Array; - requiresPermission: Array; + args: Array; + code: Scalars['String']['output']; + description: Scalars['String']['output']; + forEntities: Array; + requiresPermission: Array; }; 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', - DUPLICATE_ENTITY_ERROR = 'DUPLICATE_ENTITY_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_AMOUNT_ERROR = 'REFUND_AMOUNT_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', + DUPLICATE_ENTITY_ERROR = 'DUPLICATE_ENTITY_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_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_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_AMOUNT_ERROR = 'REFUND_AMOUNT_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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetInUseError = ErrorResult & { - errorCode: ErrorCode; - facetCode: Scalars['String']['output']; - message: Scalars['String']['output']; - productCount: Scalars['Int']['output']; - variantCount: Scalars['Int']['output']; + errorCode: ErrorCode; + facetCode: Scalars['String']['output']; + message: Scalars['String']['output']; + productCount: Scalars['Int']['output']; + variantCount: Scalars['Int']['output']; }; export type FacetList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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']; + 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']; }; /** @@ -1775,38 +1747,38 @@ 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + facetId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetValueListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -1814,227 +1786,226 @@ export type FacetValueListOptions = { * by the search, and in what quantity. */ export type FacetValueResult = { - count: Scalars['Int']['output']; - facetValue: FacetValue; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FloatStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FulfillOrderInput = { - handler: ConfigurableOperationInput; - lines: Array; + handler: ConfigurableOperationInput; + lines: Array; }; export type Fulfillment = Node & { - 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']; + 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 = { - fulfillment: Fulfillment; - fulfillmentId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + 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 = { - 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']; + 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 & { - errorCode: ErrorCode; - errorDetail: Scalars['String']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + errorDetail: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type HistoryEntry = Node & { - administrator?: Maybe; - createdAt: Scalars['DateTime']['output']; - data: Scalars['JSON']['output']; - id: Scalars['ID']['output']; - isPublic: Scalars['Boolean']['output']; - type: HistoryEntryType; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - isPublic?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + isPublic?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type HistoryEntryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type HistoryEntryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', - 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', + 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 = { - errors?: Maybe>; - imported: Scalars['Int']['output']; - processed: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add more items to the Order than are available */ export type InsufficientStockError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - order: Order; - quantityAvailable: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + order: Order; + quantityAvailable: Scalars['Int']['output']; }; /** @@ -2042,132 +2013,131 @@ export type InsufficientStockError = ErrorResult & { * stockOnHand of a ProductVariant to satisfy the requested quantity. */ export type InsufficientStockOnHandError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - stockOnHand: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + stockOnHand: Scalars['Int']['output']; }; export type IntCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type IntStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if the user authentication credentials are not valid */ export type InvalidCredentialsError = ErrorResult & { - authenticationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + authenticationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified FulfillmentHandler code is not valid */ export type InvalidFulfillmentHandlerError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified items are already part of a Fulfillment */ export type ItemsAlreadyFulfilledError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Job = Node & { - 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; + 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 = { - bufferId: Scalars['String']['output']; - size: Scalars['Int']['output']; + bufferId: Scalars['String']['output']; + size: Scalars['Int']['output']; }; export type JobFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - isSettled?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; - state?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type JobListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - name: Scalars['String']['output']; - running: Scalars['Boolean']['output']; + 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; }; /** @@ -2177,12 +2147,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' } /** @@ -2195,372 +2165,372 @@ 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 & { - errorCode: ErrorCode; - languageCode: Scalars['String']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + languageCode: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type LocaleStringCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - pattern?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + pattern?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocaleTextCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocalizedString = { - languageCode: LanguageCode; - value: Scalars['String']['output']; + 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; }; /** @@ -2568,1116 +2538,1264 @@ export type ManualPaymentInput = { * is not in the required state. */ export type ManualPaymentStateError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum MetricInterval { - Daily = 'Daily', + Daily = 'Daily' } export type MetricSummary = { - entries: Array; - interval: MetricInterval; - title: Scalars['String']['output']; - type: MetricType; + entries: Array; + interval: MetricInterval; + title: Scalars['String']['output']; + type: MetricType; }; export type MetricSummaryEntry = { - label: Scalars['String']['output']; - value: Scalars['Float']['output']; + 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 & { - errorCode: ErrorCode; - fileName: Scalars['String']['output']; - message: Scalars['String']['output']; - mimeType: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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']; - /** - * Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be - * applied in the case that multiple payment methods have been used on the order. - */ - refund?: InputMaybe; - refunds?: InputMaybe>; - /** Added in v2.2 */ - shippingMethodIds?: 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']; + /** + * Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be + * applied in the case that multiple payment methods have been used on the order. + */ + refund?: InputMaybe; + refunds?: InputMaybe>; + /** Added in v2.2 */ + shippingMethodIds?: InputMaybe>; + surcharges?: InputMaybe>; + updateBillingAddress?: InputMaybe; + updateShippingAddress?: InputMaybe; }; export type ModifyOrderOptions = { - freezePromotions?: InputMaybe; - recalculateShipping?: InputMaybe; -}; - -export type ModifyOrderResult = - | CouponCodeExpiredError - | CouponCodeInvalidError - | CouponCodeLimitError - | IneligibleShippingMethodError - | InsufficientStockError - | NegativeQuantityError - | NoChangesSpecifiedError - | Order - | OrderLimitError - | OrderModificationStateError - | PaymentMethodMissingError - | RefundPaymentIdMissingError; + freezePromotions?: InputMaybe; + recalculateShipping?: InputMaybe; +}; + +export type ModifyOrderResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | IneligibleShippingMethodError | 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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; - /** - * Duplicate an existing entity using a specific EntityDuplicator. - * Since v2.2.0. - */ - duplicateEntity: DuplicateEntityResult; - flushBufferedJobs: Success; - importProducts?: Maybe; - /** - * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) - * - * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie - * to 1 year. - */ - 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; - /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */ - setOrderCustomer?: Maybe; - settlePayment: SettlePaymentResult; - settleRefund: SettleRefundResult; - transitionFulfillmentToState: TransitionFulfillmentToStateResult; - transitionOrderToState?: Maybe; - transitionPaymentToState: TransitionPaymentToStateResult; - /** Unsets the billing address for a draft Order */ - unsetDraftOrderBillingAddress: Order; - /** Unsets the sthipping address for a draft Order */ - unsetDraftOrderShippingAddress: Order; - /** 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; + /** 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; + /** + * Duplicate an existing entity using a specific EntityDuplicator. + * Since v2.2.0. + */ + duplicateEntity: DuplicateEntityResult; + flushBufferedJobs: Success; + importProducts?: Maybe; + /** + * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) + * + * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie + * to 1 year. + */ + 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; + /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */ + setOrderCustomer?: Maybe; + settlePayment: SettlePaymentResult; + settleRefund: SettleRefundResult; + transitionFulfillmentToState: TransitionFulfillmentToStateResult; + transitionOrderToState?: Maybe; + transitionPaymentToState: TransitionPaymentToStateResult; + /** Unsets the billing address for a draft Order */ + unsetDraftOrderBillingAddress: Order; + /** Unsets the shipping address for a draft Order */ + unsetDraftOrderShippingAddress: Order; + /** 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 MutationDuplicateEntityArgs = { - input: DuplicateEntityInput; + input: DuplicateEntityInput; }; + 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 MutationSetOrderCustomerArgs = { - input: SetOrderCustomerInput; + input: SetOrderCustomerInput; }; + 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 MutationUnsetDraftOrderBillingAddressArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; + export type MutationUnsetDraftOrderShippingAddressArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -3685,309 +3803,317 @@ export type NegativeQuantityError = ErrorResult & { * current session. */ export type NoActiveOrderError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when a call to modifyOrder fails to specify any changes */ export type NoChangesSpecifiedError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - /** 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']; + /** 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 = { - city?: Maybe; - company?: Maybe; - country?: Maybe; - countryCode?: Maybe; - customFields?: Maybe; - fullName?: Maybe; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1?: Maybe; - streetLine2?: Maybe; + 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; }; /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { - errorCode: ErrorCode; - maxItems: Scalars['Int']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + maxItems: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type OrderLine = Node & { - 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']; - /** The quantity of items purchased */ - 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']; + 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']; + /** The quantity of items purchased */ + 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type OrderListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderModificationLine = { - modification: OrderModification; - modificationId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderProcessState = { - name: Scalars['String']['output']; - to: Array; + 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 & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -3995,83 +4121,83 @@ export type OrderStateTransitionError = ErrorResult & { * by taxRate. */ export type 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']; + /** 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 & { - 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']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PaymentMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -4079,59 +4205,59 @@ export type PaymentMethodListOptions = { * though the price has increased as a result of the changes. */ export type PaymentMethodMissingError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Payment state */ export type PaymentStateTransitionError = ErrorResult & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4167,446 +4293,448 @@ 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 = { - assignable: Scalars['Boolean']['output']; - description: Scalars['String']['output']; - name: Scalars['String']['output']; + 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 = { - max: Scalars['Money']['output']; - min: Scalars['Money']['output']; + max: Scalars['Money']['output']; + min: Scalars['Money']['output']; }; export type Product = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - sku?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + sku?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 & { - 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - optionGroupCode: Scalars['String']['output']; - productVariantCount: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + optionGroupCode: Scalars['String']['output']; + productVariantCount: Scalars['Int']['output']; }; export type ProductOptionTranslation = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - 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']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductVariantListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - currencyCode: CurrencyCode; - customFields?: Maybe; - price: Scalars['Money']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + price: Scalars['Money']['output']; }; /** @@ -4614,576 +4742,623 @@ 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; - usageLimit?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PromotionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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 & { + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProvinceListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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; - /** Returns all configured EntityDuplicators. */ - entityDuplicators: 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; + 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; + /** Returns all configured EntityDuplicators. */ + entityDuplicators: 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 & { - 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']; + 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']; }; /** Returned if `amount` is greater than the maximum un-refunded amount of the Payment */ export type RefundAmountError = ErrorResult & { - errorCode: ErrorCode; - maximumRefundable: Scalars['Int']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + maximumRefundable: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type RefundLine = { - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; - refund: Refund; - refundId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; + refund: Refund; + refundId: Scalars['ID']['output']; }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; - /** - * If an amount is specified, this value will be used to create a Refund rather than calculating the - * amount automatically. This was added in v2.2 and will be the preferred way to specify the refund - * amount in the future. The `lines`, `shipping` and `adjustment` fields will likely be removed in a future - * version. - */ - amount?: InputMaybe; - lines: Array; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; - shipping: Scalars['Money']['input']; -}; - -export type RefundOrderResult = - | AlreadyRefundedError - | MultipleOrderError - | NothingToRefundError - | OrderStateTransitionError - | PaymentOrderMismatchError - | QuantityTooGreatError - | Refund - | RefundAmountError - | RefundOrderStateError - | RefundStateTransitionError; + /** @deprecated Use the `amount` field instead */ + adjustment?: InputMaybe; + /** + * The amount to be refunded to this particular payment. This was introduced in v2.2.0 as the preferred way to specify the refund amount. + * Can be as much as the total amount of the payment minus the sum of all previous refunds. + */ + amount?: InputMaybe; + /** @deprecated Use the `amount` field instead */ + lines?: InputMaybe>; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; + /** @deprecated Use the `amount` field instead */ + shipping?: InputMaybe; +}; + +export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundAmountError | RefundOrderStateError | RefundStateTransitionError; /** Returned if an attempting to refund an Order which is not in the expected state */ export type RefundOrderStateError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; /** @@ -5191,836 +5366,815 @@ export type RefundOrderStateError = ErrorResult & { * though the price has decreased as a result of the changes. */ export type RefundPaymentIdMissingError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Refund state */ export type RefundStateTransitionError = ErrorResult & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RelationCustomFieldConfig = CustomField & { - description?: Maybe>; - entity: Scalars['String']['output']; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type Release = Node & - StockMovement & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; - }; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type Release = Node & StockMovement & { + 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; -export type RemoveOrderItemsResult = Order | OrderModificationError; +export type RemoveOrderItemsResult = Order | OrderInterceptorError | 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 & { - 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 & { + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; +}; export type Role = Node & { - channels: Array; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export type RoleList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type RoleListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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 & { + 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 = { - success: Scalars['Boolean']['output']; + success: Scalars['Boolean']['output']; }; export type SearchResponse = { - collections: Array; - facetValues: Array; - items: Array; - totalItems: Scalars['Int']['output']; + collections: Array; + facetValues: Array; + items: Array; + totalItems: Scalars['Int']['output']; }; export type 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']; + /** 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 = { - focalPoint?: Maybe; - id: Scalars['ID']['output']; - preview: Scalars['String']['output']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SellerFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type SellerList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SellerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - /** - * This field is deprecated in v2.2 in favor of the entityCustomFields field, - * which allows custom fields to be defined on user-supplies entities. - */ - customFieldConfig: CustomFields; - entityCustomFields: Array; - moneyStrategyPrecision: Scalars['Int']['output']; - orderProcess: Array; - permissions: Array; - permittedAssetTypes: Array; + /** + * This field is deprecated in v2.2 in favor of the entityCustomFields field, + * which allows custom fields to be defined on user-supplies entities. + */ + customFieldConfig: CustomFields; + entityCustomFields: Array; + moneyStrategyPrecision: Scalars['Int']['output']; + orderProcess: Array; + permissions: Array; + permittedAssetTypes: Array; }; export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order; export type SetOrderCustomerInput = { - customerId: Scalars['ID']['input']; - note?: InputMaybe; - orderId: Scalars['ID']['input']; + customerId: Scalars['ID']['input']; + note?: InputMaybe; + orderId: Scalars['ID']['input']; }; -export type SetOrderShippingMethodResult = - | IneligibleShippingMethodError - | NoActiveOrderError - | Order - | OrderModificationError; +export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError; /** Returned if the Payment settlement fails */ export type SettlePaymentError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + 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 = { - discountedPrice: Scalars['Money']['output']; - discountedPriceWithTax: Scalars['Money']['output']; - discounts: Array; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - shippingMethod: ShippingMethod; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ShippingMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - value: Scalars['Money']['output']; + value: Scalars['Money']['output']; }; export enum SortOrder { - ASC = 'ASC', - DESC = 'DESC', + ASC = 'ASC', + DESC = 'DESC' } -export type StockAdjustment = Node & - StockMovement & { - 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 & { + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; +}; export type StockLevel = Node & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockLocationList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockLocationListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - items: Array; - totalItems: Scalars['Int']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + options?: Maybe>; + pattern?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StringFieldOption = { - label?: Maybe>; - value: Scalars['String']['output']; + 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 StringStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + options?: Maybe>; + pattern?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructCustomFieldConfig = CustomField & { - description?: Maybe>; - fields: Array; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + fields: Array; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructField = { - description?: Maybe>; - label?: Maybe>; - list?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type StructFieldConfig = - | BooleanStructFieldConfig - | DateTimeStructFieldConfig - | FloatStructFieldConfig - | IntStructFieldConfig - | StringStructFieldConfig - | TextStructFieldConfig; + description?: Maybe>; + label?: Maybe>; + list?: Maybe; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type StructFieldConfig = BooleanStructFieldConfig | DateTimeStructFieldConfig | FloatStructFieldConfig | IntStructFieldConfig | StringStructFieldConfig | TextStructFieldConfig; /** Indicates that an operation succeeded, where we do not want to return any more specific information. */ export type Success = { - success: Scalars['Boolean']['output']; + success: Scalars['Boolean']['output']; }; export type Surcharge = Node & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['String']['output']; }; export type TagFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TagList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TagListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isDefault: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - isDefault?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + isDefault?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxCategoryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxCategoryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - description: Scalars['String']['output']; - taxRate: Scalars['Float']['output']; + description: Scalars['String']['output']; + taxRate: Scalars['Float']['output']; }; export type TaxRate = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxRateList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxRateListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - metadata?: Maybe; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + metadata?: Maybe; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type TestShippingMethodResult = { - eligible: Scalars['Boolean']['output']; - quote?: Maybe; + eligible: Scalars['Boolean']['output']; + quote?: Maybe; }; export type TextCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TextStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError; @@ -6030,11 +6184,11 @@ 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; }; /** @@ -6045,34095 +6199,2598 @@ export type UpdateActiveAdministratorInput = { * If an invalid code is passed, the mutation will fail. */ 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 | OrderInterceptorError | 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 & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - members: Array; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + members: Array; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ZoneFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ZoneList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ZoneListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 GetAdministratorsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetAdministratorsQuery = { - administrators: { - totalItems: number; - items: Array<{ - id: string; - firstName: string; - lastName: string; - emailAddress: string; - user: { - id: string; - identifier: string; - lastLogin?: any | null; - roles: Array<{ - id: string; - code: string; - description: string; - permissions: Array; - }>; - }; - }>; - }; -}; + +export type GetAdministratorsQuery = { administrators: { totalItems: number, items: Array<{ id: string, firstName: string, lastName: string, emailAddress: string, user: { id: string, identifier: string, lastLogin?: any | null, roles: Array<{ id: string, code: string, description: string, permissions: Array }> } }> } }; export type GetAdministratorQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetAdministratorQuery = { - administrator?: { - id: string; - firstName: string; - lastName: string; - emailAddress: string; - user: { - id: string; - identifier: string; - lastLogin?: any | null; - roles: Array<{ id: string; code: string; description: string; permissions: Array }>; - }; - } | null; -}; - -export type ActiveAdministratorQueryVariables = Exact<{ [key: string]: never }>; - -export type ActiveAdministratorQuery = { - activeAdministrator?: { - id: string; - firstName: string; - lastName: string; - emailAddress: string; - user: { - id: string; - identifier: string; - lastLogin?: any | null; - roles: Array<{ id: string; code: string; description: string; permissions: Array }>; - }; - } | null; -}; + +export type GetAdministratorQuery = { administrator?: { id: string, firstName: string, lastName: string, emailAddress: string, user: { id: string, identifier: string, lastLogin?: any | null, roles: Array<{ id: string, code: string, description: string, permissions: Array }> } } | null }; + +export type ActiveAdministratorQueryVariables = Exact<{ [key: string]: never; }>; + + +export type ActiveAdministratorQuery = { activeAdministrator?: { id: string, firstName: string, lastName: string, emailAddress: string, user: { id: string, identifier: string, lastLogin?: any | null, roles: Array<{ id: string, code: string, description: string, permissions: Array }> } } | null }; export type UpdateActiveAdministratorMutationVariables = Exact<{ - input: UpdateActiveAdministratorInput; + input: UpdateActiveAdministratorInput; }>; -export type UpdateActiveAdministratorMutation = { - updateActiveAdministrator: { - id: string; - firstName: string; - lastName: string; - emailAddress: string; - user: { - id: string; - identifier: string; - lastLogin?: any | null; - roles: Array<{ id: string; code: string; description: string; permissions: Array }>; - }; - }; -}; + +export type UpdateActiveAdministratorMutation = { updateActiveAdministrator: { id: string, firstName: string, lastName: string, emailAddress: string, user: { id: string, identifier: string, lastLogin?: any | null, roles: Array<{ id: string, code: string, description: string, permissions: Array }> } } }; export type DeleteAdministratorMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteAdministratorMutation = { - deleteAdministrator: { message?: string | null; result: DeletionResult }; -}; -export type Q1QueryVariables = Exact<{ [key: string]: never }>; +export type DeleteAdministratorMutation = { deleteAdministrator: { message?: string | null, result: DeletionResult } }; + +export type Q1QueryVariables = Exact<{ [key: string]: never; }>; + -export type Q1Query = { product?: { id: string; name: string } | null }; +export type Q1Query = { product?: { id: string, name: string } | null }; -export type Q2QueryVariables = Exact<{ [key: string]: never }>; +export type Q2QueryVariables = Exact<{ [key: string]: never; }>; -export type Q2Query = { product?: { id: string; name: string } | null }; + +export type Q2Query = { product?: { id: string, name: string } | null }; export type GetCollectionWithAssetsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetCollectionWithAssetsQuery = { - collection?: { - id: string; - name: string; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - } | null; -}; + +export type GetCollectionWithAssetsQuery = { collection?: { id: string, name: string, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }> } | null }; export type AssignAssetsToChannelMutationVariables = Exact<{ - input: AssignAssetsToChannelInput; + input: AssignAssetsToChannelInput; }>; -export type AssignAssetsToChannelMutation = { - assignAssetsToChannel: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; -}; + +export type AssignAssetsToChannelMutation = { assignAssetsToChannel: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }> }; export type AuthenticateMutationVariables = Exact<{ - input: AuthenticationInput; + input: AuthenticationInput; }>; -export type AuthenticateMutation = { - authenticate: - | { - id: string; - identifier: string; - channels: Array<{ code: string; token: string; permissions: Array }>; - } - | { authenticationError: string; errorCode: ErrorCode; message: string }; -}; -export type GetCustomersQueryVariables = Exact<{ [key: string]: never }>; +export type AuthenticateMutation = { authenticate: { id: string, identifier: string, channels: Array<{ code: string, token: string, permissions: Array }> } | { authenticationError: string, errorCode: ErrorCode, message: string } }; -export type GetCustomersQuery = { - customers: { totalItems: number; items: Array<{ id: string; emailAddress: string }> }; -}; +export type GetCustomersQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetCustomersQuery = { customers: { totalItems: number, items: Array<{ id: string, emailAddress: string }> } }; export type GetCustomerUserAuthQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetCustomerUserAuthQuery = { - customer?: { - id: string; - user?: { - id: string; - verified: boolean; - authenticationMethods: Array<{ id: string; strategy: string }>; - } | null; - } | null; -}; + +export type GetCustomerUserAuthQuery = { customer?: { id: string, user?: { id: string, verified: boolean, authenticationMethods: Array<{ id: string, strategy: string }> } | null } | null }; export type DeleteChannelMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteChannelMutation = { deleteChannel: { message?: string | null; result: DeletionResult } }; + +export type DeleteChannelMutation = { deleteChannel: { message?: string | null, result: DeletionResult } }; export type GetChannelQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetChannelQuery = { - channel?: { - id: string; - code: string; - token: string; - defaultCurrencyCode: CurrencyCode; - availableCurrencyCodes: Array; - defaultLanguageCode: LanguageCode; - availableLanguageCodes?: Array | null; - outOfStockThreshold?: number | null; - pricesIncludeTax: boolean; - } | null; -}; + +export type GetChannelQuery = { channel?: { id: string, code: string, token: string, defaultCurrencyCode: CurrencyCode, availableCurrencyCodes: Array, defaultLanguageCode: LanguageCode, availableLanguageCodes?: Array | null, outOfStockThreshold?: number | null, pricesIncludeTax: boolean } | null }; export type UpdateGlobalLanguagesMutationVariables = Exact<{ - input: UpdateGlobalSettingsInput; + input: UpdateGlobalSettingsInput; }>; -export type UpdateGlobalLanguagesMutation = { - updateGlobalSettings: { id: string; availableLanguages: Array } | {}; -}; -export type GetCollectionsWithAssetsQueryVariables = Exact<{ [key: string]: never }>; +export type UpdateGlobalLanguagesMutation = { updateGlobalSettings: { id: string, availableLanguages: Array } | {} }; -export type GetCollectionsWithAssetsQuery = { - collections: { items: Array<{ assets: Array<{ name: string }> }> }; -}; +export type GetCollectionsWithAssetsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetProductsWithVariantIdsQueryVariables = Exact<{ [key: string]: never }>; -export type GetProductsWithVariantIdsQuery = { - products: { items: Array<{ id: string; name: string; variants: Array<{ id: string; name: string }> }> }; -}; +export type GetCollectionsWithAssetsQuery = { collections: { items: Array<{ assets: Array<{ name: string }> }> } }; + +export type GetProductsWithVariantIdsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetProductsWithVariantIdsQuery = { products: { items: Array<{ id: string, name: string, variants: Array<{ id: string, name: string }> }> } }; export type GetCollectionListAdminQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetCollectionListAdminQuery = { - collections: { - totalItems: number; - items: Array<{ - id: string; - name: string; - slug: string; - description: string; - isPrivate: boolean; - languageCode?: LanguageCode | null; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - filters: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - }>; - parent?: { id: string; name: string } | null; - children?: Array<{ id: string; name: string; position: number }> | null; - }>; - }; -}; + +export type GetCollectionListAdminQuery = { collections: { totalItems: number, items: Array<{ id: string, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, filters: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { id: string, name: string } | null, children?: Array<{ id: string, name: string, position: number }> | null }> } }; export type GetCollectionListWithTranslationsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetCollectionListWithTranslationsQuery = { - collections: { - items: Array<{ id: string; name: string; translations: Array<{ id: string; name: string }> }>; - }; -}; + +export type GetCollectionListWithTranslationsQuery = { collections: { items: Array<{ id: string, name: string, translations: Array<{ id: string, name: string }> }> } }; export type MoveCollectionMutationVariables = Exact<{ - input: MoveCollectionInput; + input: MoveCollectionInput; }>; -export type MoveCollectionMutation = { - moveCollection: { - id: string; - name: string; - slug: string; - description: string; - isPrivate: boolean; - languageCode?: LanguageCode | null; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - filters: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - }>; - parent?: { id: string; name: string } | null; - children?: Array<{ id: string; name: string; position: number }> | null; - }; -}; - -export type GetFacetValuesQueryVariables = Exact<{ [key: string]: never }>; - -export type GetFacetValuesQuery = { - facets: { - items: Array<{ - values: Array<{ - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; - }>; - }>; - }; -}; + +export type MoveCollectionMutation = { moveCollection: { id: string, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, filters: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { id: string, name: string } | null, children?: Array<{ id: string, name: string, position: number }> | null } }; + +export type GetFacetValuesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetFacetValuesQuery = { facets: { items: Array<{ values: Array<{ id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }> }> } }; export type GetCollectionProductsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetCollectionProductsQuery = { - collection?: { - productVariants: { - items: Array<{ - id: string; - name: string; - productId: string; - facetValues: Array<{ code: string }>; - }>; - }; - } | null; -}; + +export type GetCollectionProductsQuery = { collection?: { productVariants: { items: Array<{ id: string, name: string, productId: string, facetValues: Array<{ code: string }> }> } } | null }; export type CreateCollectionSelectVariantsMutationVariables = Exact<{ - input: CreateCollectionInput; + input: CreateCollectionInput; }>; -export type CreateCollectionSelectVariantsMutation = { - createCollection: { id: string; productVariants: { totalItems: number; items: Array<{ name: string }> } }; -}; + +export type CreateCollectionSelectVariantsMutation = { createCollection: { id: string, productVariants: { totalItems: number, items: Array<{ name: string }> } } }; export type GetCollectionBreadcrumbsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetCollectionBreadcrumbsQuery = { - collection?: { breadcrumbs: Array<{ id: string; name: string; slug: string }> } | null; -}; + +export type GetCollectionBreadcrumbsQuery = { collection?: { breadcrumbs: Array<{ id: string, name: string, slug: string }> } | null }; export type GetCollectionsForProductsQueryVariables = Exact<{ - term: Scalars['String']['input']; + term: Scalars['String']['input']; }>; -export type GetCollectionsForProductsQuery = { - products: { - items: Array<{ id: string; name: string; collections: Array<{ id: string; name: string }> }>; - }; -}; + +export type GetCollectionsForProductsQuery = { products: { items: Array<{ id: string, name: string, collections: Array<{ id: string, name: string }> }> } }; export type DeleteCollectionMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteCollectionMutation = { - deleteCollection: { result: DeletionResult; message?: string | null }; -}; + +export type DeleteCollectionMutation = { deleteCollection: { result: DeletionResult, message?: string | null } }; export type GetProductCollectionsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetProductCollectionsQuery = { - product?: { id: string; collections: Array<{ id: string; name: string }> } | null; -}; + +export type GetProductCollectionsQuery = { product?: { id: string, collections: Array<{ id: string, name: string }> } | null }; export type GetProductCollectionsWithParentQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetProductCollectionsWithParentQuery = { - product?: { - id: string; - collections: Array<{ id: string; name: string; parent?: { id: string; name: string } | null }>; - } | null; -}; -export type GetCollectionNestedParentsQueryVariables = Exact<{ [key: string]: never }>; +export type GetProductCollectionsWithParentQuery = { product?: { id: string, collections: Array<{ id: string, name: string, parent?: { id: string, name: string } | null }> } | null }; + +export type GetCollectionNestedParentsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetCollectionNestedParentsQuery = { - collections: { - items: Array<{ - id: string; - name: string; - parent?: { - name: string; - parent?: { name: string; parent?: { name: string } | null } | null; - } | null; - }>; - }; -}; + +export type GetCollectionNestedParentsQuery = { collections: { items: Array<{ id: string, name: string, parent?: { name: string, parent?: { name: string, parent?: { name: string } | null } | null } | null }> } }; export type PreviewCollectionVariantsQueryVariables = Exact<{ - input: PreviewCollectionVariantsInput; - options?: InputMaybe; + input: PreviewCollectionVariantsInput; + options?: InputMaybe; }>; -export type PreviewCollectionVariantsQuery = { - previewCollectionVariants: { totalItems: number; items: Array<{ id: string; name: string }> }; -}; + +export type PreviewCollectionVariantsQuery = { previewCollectionVariants: { totalItems: number, items: Array<{ id: string, name: string }> } }; export type RemoveCollectionsFromChannelMutationVariables = Exact<{ - input: RemoveCollectionsFromChannelInput; + input: RemoveCollectionsFromChannelInput; }>; -export type RemoveCollectionsFromChannelMutation = { - removeCollectionsFromChannel: Array<{ - id: string; - name: string; - slug: string; - description: string; - isPrivate: boolean; - languageCode?: LanguageCode | null; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - filters: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - }>; - parent?: { id: string; name: string } | null; - children?: Array<{ id: string; name: string; position: number }> | null; - }>; -}; + +export type RemoveCollectionsFromChannelMutation = { removeCollectionsFromChannel: Array<{ id: string, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, filters: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { id: string, name: string } | null, children?: Array<{ id: string, name: string, position: number }> | null }> }; export type DeleteCollectionsBulkMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; + ids: Array | Scalars['ID']['input']; }>; -export type DeleteCollectionsBulkMutation = { - deleteCollections: Array<{ message?: string | null; result: DeletionResult }>; -}; -export type GetCheckersQueryVariables = Exact<{ [key: string]: never }>; +export type DeleteCollectionsBulkMutation = { deleteCollections: Array<{ message?: string | null, result: DeletionResult }> }; -export type GetCheckersQuery = { - shippingEligibilityCheckers: Array<{ - code: string; - args: Array<{ - defaultValue?: any | null; - description?: string | null; - label?: string | null; - list: boolean; - name: string; - required: boolean; - type: string; - }>; - }>; -}; +export type GetCheckersQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetCheckersQuery = { shippingEligibilityCheckers: Array<{ code: string, args: Array<{ defaultValue?: any | null, description?: string | null, label?: string | null, list: boolean, name: string, required: boolean, type: string }> }> }; export type DeleteCountryMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteCountryMutation = { deleteCountry: { result: DeletionResult; message?: string | null } }; + +export type DeleteCountryMutation = { deleteCountry: { result: DeletionResult, message?: string | null } }; export type GetCountryQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetCountryQuery = { - country?: { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } | null; -}; + +export type GetCountryQuery = { country?: { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } | null }; export type CreateCountryMutationVariables = Exact<{ - input: CreateCountryInput; + input: CreateCountryInput; }>; -export type CreateCountryMutation = { - createCountry: { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - }; -}; + +export type CreateCountryMutation = { createCountry: { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } }; export type DeleteCustomerAddressMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; + export type DeleteCustomerAddressMutation = { deleteCustomerAddress: { success: boolean } }; export type GetCustomerWithUserQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetCustomerWithUserQuery = { - customer?: { id: string; user?: { id: string; identifier: string; verified: boolean } | null } | null; -}; + +export type GetCustomerWithUserQuery = { customer?: { id: string, user?: { id: string, identifier: string, verified: boolean } | null } | null }; export type GetCustomerOrdersQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetCustomerOrdersQuery = { - customer?: { orders: { totalItems: number; items: Array<{ id: string }> } } | null; -}; + +export type GetCustomerOrdersQuery = { customer?: { orders: { totalItems: number, items: Array<{ id: string }> } } | null }; export type AddNoteToCustomerMutationVariables = Exact<{ - input: AddNoteToCustomerInput; + input: AddNoteToCustomerInput; }>; -export type AddNoteToCustomerMutation = { - addNoteToCustomer: { - id: string; - title?: string | null; - firstName: string; - lastName: string; - phoneNumber?: string | null; - emailAddress: string; - user?: { id: string; identifier: string; verified: boolean; lastLogin?: any | null } | null; - addresses?: Array<{ - id: string; - 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: { id: string; code: string; name: string }; - }> | null; - }; -}; - -export type ReindexMutationVariables = Exact<{ [key: string]: never }>; + +export type AddNoteToCustomerMutation = { addNoteToCustomer: { id: string, title?: string | null, firstName: string, lastName: string, phoneNumber?: string | null, emailAddress: string, user?: { id: string, identifier: string, verified: boolean, lastLogin?: any | null } | null, addresses?: Array<{ id: string, 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: { id: string, code: string, name: string } }> | null } }; + +export type ReindexMutationVariables = Exact<{ [key: string]: never; }>; + export type ReindexMutation = { reindex: { id: string } }; export type SearchFacetValuesQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; -export type SearchFacetValuesQuery = { - search: { - totalItems: number; - facetValues: Array<{ count: number; facetValue: { id: string; name: string } }>; - }; -}; + +export type SearchFacetValuesQuery = { search: { totalItems: number, facetValues: Array<{ count: number, facetValue: { id: string, name: string } }> } }; export type SearchCollectionsQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; -export type SearchCollectionsQuery = { - search: { - totalItems: number; - collections: Array<{ count: number; collection: { id: string; name: string } }>; - }; -}; + +export type SearchCollectionsQuery = { search: { totalItems: number, collections: Array<{ count: number, collection: { id: string, name: string } }> } }; export type SearchGetAssetsQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; -export type SearchGetAssetsQuery = { - search: { - totalItems: number; - items: Array<{ - productId: string; - productVariantId: string; - productName: string; - productVariantName: string; - productAsset?: { - id: string; - preview: string; - focalPoint?: { x: number; y: number } | null; - } | null; - productVariantAsset?: { - id: string; - preview: string; - focalPoint?: { x: number; y: number } | null; - } | null; - }>; - }; -}; + +export type SearchGetAssetsQuery = { search: { totalItems: number, items: Array<{ productId: string, productVariantId: string, productName: string, productVariantName: string, productAsset?: { id: string, preview: string, focalPoint?: { x: number, y: number } | null } | null, productVariantAsset?: { id: string, preview: string, focalPoint?: { x: number, y: number } | null } | null }> } }; export type SearchGetPricesQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; -export type SearchGetPricesQuery = { - search: { - items: Array<{ - price: { min: number; max: number } | { value: number }; - priceWithTax: { min: number; max: number } | { value: number }; - }>; - }; -}; - -export type CreateDraftOrderMutationVariables = Exact<{ [key: string]: never }>; - -export type CreateDraftOrderMutation = { - createDraftOrder: { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - }; -}; + +export type SearchGetPricesQuery = { search: { items: Array<{ price: { min: number, max: number } | { value: number }, priceWithTax: { min: number, max: number } | { value: number } }> } }; + +export type CreateDraftOrderMutationVariables = Exact<{ [key: string]: never; }>; + + +export type CreateDraftOrderMutation = { createDraftOrder: { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } }; export type AddItemToDraftOrderMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - input: AddItemToDraftOrderInput; + orderId: Scalars['ID']['input']; + input: AddItemToDraftOrderInput; }>; -export type AddItemToDraftOrderMutation = { - addItemToDraftOrder: - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string }; -}; + +export type AddItemToDraftOrderMutation = { addItemToDraftOrder: { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } }; export type AdjustDraftOrderLineMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - input: AdjustDraftOrderLineInput; + orderId: Scalars['ID']['input']; + input: AdjustDraftOrderLineInput; }>; -export type AdjustDraftOrderLineMutation = { - adjustDraftOrderLine: - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string }; -}; + +export type AdjustDraftOrderLineMutation = { adjustDraftOrderLine: { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { 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: - | { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - } - | { errorCode: ErrorCode; message: string }; -}; + +export type RemoveDraftOrderLineMutation = { removeDraftOrderLine: { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } | { errorCode: ErrorCode, message: string } | { 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: - | { errorCode: ErrorCode; message: string } - | { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - }; -}; + +export type SetCustomerForDraftOrderMutation = { setCustomerForDraftOrder: { errorCode: ErrorCode, message: string } | { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } }; export type SetDraftOrderShippingAddressMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - input: CreateAddressInput; + orderId: Scalars['ID']['input']; + input: CreateAddressInput; }>; -export type SetDraftOrderShippingAddressMutation = { - setDraftOrderShippingAddress: { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - }; -}; + +export type SetDraftOrderShippingAddressMutation = { setDraftOrderShippingAddress: { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } }; export type SetDraftOrderBillingAddressMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; - input: CreateAddressInput; + orderId: Scalars['ID']['input']; + input: CreateAddressInput; }>; -export type SetDraftOrderBillingAddressMutation = { - setDraftOrderBillingAddress: { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - billingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - }; -}; + +export type SetDraftOrderBillingAddressMutation = { setDraftOrderBillingAddress: { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, billingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } }; export type UnsetDraftOrderShippingAddressMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }>; -export type UnsetDraftOrderShippingAddressMutation = { - unsetDraftOrderShippingAddress: { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - }; -}; + +export type UnsetDraftOrderShippingAddressMutation = { unsetDraftOrderShippingAddress: { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } }; export type UnsetDraftOrderBillingAddressMutationVariables = Exact<{ - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }>; -export type UnsetDraftOrderBillingAddressMutation = { - unsetDraftOrderBillingAddress: { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - billingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - }; -}; + +export type UnsetDraftOrderBillingAddressMutation = { unsetDraftOrderBillingAddress: { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, billingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | 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: - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { - couponCodes: Array; - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - }; -}; + +export type ApplyCouponCodeToDraftOrderMutation = { applyCouponCodeToDraftOrder: { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { couponCodes: Array, id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | 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?: { - couponCodes: Array; - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - } | null; -}; + +export type RemoveCouponCodeFromDraftOrderMutation = { removeCouponCodeFromDraftOrder?: { couponCodes: Array, id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } | null }; export type DraftOrderEligibleShippingMethodsQueryVariables = Exact<{ - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }>; -export type DraftOrderEligibleShippingMethodsQuery = { - eligibleShippingMethodsForDraftOrder: Array<{ - id: string; - name: string; - code: string; - description: string; - price: number; - priceWithTax: number; - metadata?: any | null; - }>; -}; + +export type DraftOrderEligibleShippingMethodsQuery = { eligibleShippingMethodsForDraftOrder: Array<{ 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: - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - } - | { errorCode: ErrorCode; message: string }; -}; + +export type SetDraftOrderShippingMethodMutation = { setDraftOrderShippingMethod: { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } | { errorCode: ErrorCode, message: string } }; export type GetOrderPlacedAtQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOrderPlacedAtQuery = { - order?: { id: string; createdAt: any; updatedAt: any; state: string; orderPlacedAt?: any | null } | null; -}; -export type GetEntityDuplicatorsQueryVariables = Exact<{ [key: string]: never }>; +export type GetOrderPlacedAtQuery = { order?: { id: string, createdAt: any, updatedAt: any, state: string, orderPlacedAt?: any | null } | null }; -export type GetEntityDuplicatorsQuery = { - entityDuplicators: Array<{ - code: string; - description: string; - requiresPermission: Array; - forEntities: Array; - args: Array<{ name: string; type: string; defaultValue?: any | null }>; - }>; -}; +export type GetEntityDuplicatorsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetEntityDuplicatorsQuery = { entityDuplicators: Array<{ code: string, description: string, requiresPermission: Array, forEntities: Array, args: Array<{ name: string, type: string, defaultValue?: any | null }> }> }; export type DuplicateEntityMutationVariables = Exact<{ - input: DuplicateEntityInput; + input: DuplicateEntityInput; }>; -export type DuplicateEntityMutation = { - duplicateEntity: { message: string; duplicationError: string } | { newEntityId: string }; -}; -export type IdTest1QueryVariables = Exact<{ [key: string]: never }>; +export type DuplicateEntityMutation = { duplicateEntity: { message: string, duplicationError: string } | { newEntityId: string } }; + +export type IdTest1QueryVariables = Exact<{ [key: string]: never; }>; + export type IdTest1Query = { products: { items: Array<{ id: string }> } }; -export type IdTest2QueryVariables = Exact<{ [key: string]: never }>; +export type IdTest2QueryVariables = Exact<{ [key: string]: never; }>; -export type IdTest2Query = { - products: { - items: Array<{ - id: string; - variants: Array<{ id: string; options: Array<{ id: string; name: string }> }>; - }>; - }; -}; -export type IdTest3QueryVariables = Exact<{ [key: string]: never }>; +export type IdTest2Query = { products: { items: Array<{ id: string, variants: Array<{ id: string, options: Array<{ id: string, name: string }> }> }> } }; + +export type IdTest3QueryVariables = Exact<{ [key: string]: never; }>; + export type IdTest3Query = { product?: { id: string } | null }; -export type IdTest4MutationVariables = Exact<{ [key: string]: never }>; +export type IdTest4MutationVariables = Exact<{ [key: string]: never; }>; -export type IdTest4Mutation = { updateProduct: { id: string; featuredAsset?: { id: string } | null } }; -export type IdTest5MutationVariables = Exact<{ [key: string]: never }>; +export type IdTest4Mutation = { updateProduct: { id: string, featuredAsset?: { id: string } | null } }; -export type IdTest5Mutation = { updateProduct: { id: string; name: string } }; +export type IdTest5MutationVariables = Exact<{ [key: string]: never; }>; + + +export type IdTest5Mutation = { updateProduct: { id: string, name: string } }; export type IdTest6QueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; + export type IdTest6Query = { product?: { id: string } | null }; export type IdTest7MutationVariables = Exact<{ - input: UpdateProductInput; + input: UpdateProductInput; }>; -export type IdTest7Mutation = { updateProduct: { id: string; featuredAsset?: { id: string } | null } }; + +export type IdTest7Mutation = { updateProduct: { id: string, featuredAsset?: { id: string } | null } }; export type IdTest8MutationVariables = Exact<{ - input: UpdateProductInput; + input: UpdateProductInput; }>; -export type IdTest8Mutation = { updateProduct: { id: string; name: string } }; -export type IdTest9QueryVariables = Exact<{ [key: string]: never }>; +export type IdTest8Mutation = { updateProduct: { id: string, name: string } }; -export type IdTest9Query = { - products: { items: Array<{ id: string; featuredAsset?: { id: string } | null }> }; -}; +export type IdTest9QueryVariables = Exact<{ [key: string]: never; }>; -export type ProdFragmentFragment = { id: string; featuredAsset?: { id: string } | null }; -export type IdTest10QueryVariables = Exact<{ [key: string]: never }>; +export type IdTest9Query = { products: { items: Array<{ id: string, featuredAsset?: { id: string } | null }> } }; -export type IdTest10Query = { - products: { items: Array<{ id: string; featuredAsset?: { id: string } | null }> }; -}; +export type ProdFragmentFragment = { id: string, featuredAsset?: { id: string } | null }; -export type ProdFragment1Fragment = { id: string; featuredAsset?: { id: string } | null }; +export type IdTest10QueryVariables = Exact<{ [key: string]: never; }>; -export type ProdFragment2Fragment = { id: string; featuredAsset?: { id: string } | null }; -export type IdTest11QueryVariables = Exact<{ [key: string]: never }>; +export type IdTest10Query = { products: { items: Array<{ id: string, featuredAsset?: { id: string } | null }> } }; -export type IdTest11Query = { - products: { items: Array<{ id: string; featuredAsset?: { id: string } | null }> }; -}; +export type ProdFragment1Fragment = { id: string, featuredAsset?: { id: string } | null }; + +export type ProdFragment2Fragment = { id: string, featuredAsset?: { id: string } | null }; -export type ProdFragment1_1Fragment = { id: string; featuredAsset?: { id: string } | null }; +export type IdTest11QueryVariables = Exact<{ [key: string]: never; }>; -export type ProdFragment2_1Fragment = { id: string; featuredAsset?: { id: string } | null }; -export type ProdFragment3_1Fragment = { id: string; featuredAsset?: { id: string } | null }; +export type IdTest11Query = { products: { items: Array<{ id: string, featuredAsset?: { id: string } | null }> } }; + +export type ProdFragment1_1Fragment = { id: string, featuredAsset?: { id: string } | null }; + +export type ProdFragment2_1Fragment = { id: string, featuredAsset?: { id: string } | null }; + +export type ProdFragment3_1Fragment = { id: string, featuredAsset?: { id: string } | null }; export type GetFacetWithValueListQueryVariables = Exact<{ - id: Scalars['ID']['input']; - options?: InputMaybe; + id: Scalars['ID']['input']; + options?: InputMaybe; }>; -export type GetFacetWithValueListQuery = { - facet?: { - id: string; - languageCode: LanguageCode; - isPrivate: boolean; - code: string; - name: string; - valueList: { - totalItems: number; - items: Array<{ - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; - }>; - }; - } | null; -}; + +export type GetFacetWithValueListQuery = { facet?: { id: string, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, valueList: { totalItems: number, items: Array<{ id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }> } } | null }; export type DeleteFacetValuesMutationVariables = Exact<{ - ids: Array | Scalars['ID']['input']; - force?: InputMaybe; + ids: Array | Scalars['ID']['input']; + force?: InputMaybe; }>; -export type DeleteFacetValuesMutation = { - deleteFacetValues: Array<{ result: DeletionResult; message?: string | null }>; -}; + +export type DeleteFacetValuesMutation = { deleteFacetValues: Array<{ result: DeletionResult, message?: string | null }> }; export type DeleteFacetMutationVariables = Exact<{ - id: Scalars['ID']['input']; - force?: InputMaybe; + id: Scalars['ID']['input']; + force?: InputMaybe; }>; -export type DeleteFacetMutation = { deleteFacet: { result: DeletionResult; message?: string | null } }; + +export type DeleteFacetMutation = { deleteFacet: { result: DeletionResult, message?: string | null } }; export type GetProductWithFacetValuesQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetProductWithFacetValuesQuery = { - product?: { - id: string; - facetValues: Array<{ id: string; name: string; code: string }>; - variants: Array<{ id: string; facetValues: Array<{ id: string; name: string; code: string }> }>; - } | null; -}; -export type GetProductListWithVariantsQueryVariables = Exact<{ [key: string]: never }>; +export type GetProductWithFacetValuesQuery = { product?: { id: string, facetValues: Array<{ id: string, name: string, code: string }>, variants: Array<{ id: string, facetValues: Array<{ id: string, name: string, code: string }> }> } | null }; + +export type GetProductListWithVariantsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetProductListWithVariantsQuery = { - products: { - totalItems: number; - items: Array<{ id: string; name: string; variants: Array<{ id: string; name: string }> }>; - }; -}; + +export type GetProductListWithVariantsQuery = { products: { totalItems: number, items: Array<{ id: string, name: string, variants: Array<{ id: string, name: string }> }> } }; export type CreateFacetValuesMutationVariables = Exact<{ - input: Array | CreateFacetValueInput; + input: Array | CreateFacetValueInput; }>; -export type CreateFacetValuesMutation = { - createFacetValues: Array<{ - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; - }>; -}; + +export type CreateFacetValuesMutation = { createFacetValues: Array<{ id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }> }; export type UpdateFacetValuesMutationVariables = Exact<{ - input: Array | UpdateFacetValueInput; + input: Array | UpdateFacetValueInput; }>; -export type UpdateFacetValuesMutation = { - updateFacetValues: Array<{ - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; - }>; -}; + +export type UpdateFacetValuesMutation = { updateFacetValues: Array<{ id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }> }; export type AssignFacetsToChannelMutationVariables = Exact<{ - input: AssignFacetsToChannelInput; + input: AssignFacetsToChannelInput; }>; -export type AssignFacetsToChannelMutation = { assignFacetsToChannel: Array<{ id: string; name: string }> }; + +export type AssignFacetsToChannelMutation = { assignFacetsToChannel: Array<{ id: string, name: string }> }; export type RemoveFacetsFromChannelMutationVariables = Exact<{ - input: RemoveFacetsFromChannelInput; + input: RemoveFacetsFromChannelInput; }>; -export type RemoveFacetsFromChannelMutation = { - removeFacetsFromChannel: Array< - | { id: string; name: string } - | { errorCode: ErrorCode; message: string; productCount: number; variantCount: number } - >; -}; - -export type GetGlobalSettingsQueryVariables = Exact<{ [key: string]: never }>; - -export type GetGlobalSettingsQuery = { - globalSettings: { - id: string; - availableLanguages: Array; - trackInventory: boolean; - outOfStockThreshold: number; - serverConfig: { - permittedAssetTypes: Array; - orderProcess: Array<{ name: string; to: Array }>; - permissions: Array<{ name: string; description: string; assignable: boolean }>; - customFieldConfig: { - Customer: Array< - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - >; - }; - }; - }; -}; + +export type RemoveFacetsFromChannelMutation = { removeFacetsFromChannel: Array<{ id: string, name: string } | { errorCode: ErrorCode, message: string, productCount: number, variantCount: number }> }; + +export type GetGlobalSettingsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetGlobalSettingsQuery = { globalSettings: { id: string, availableLanguages: Array, trackInventory: boolean, outOfStockThreshold: number, serverConfig: { permittedAssetTypes: Array, orderProcess: Array<{ name: string, to: Array }>, permissions: Array<{ name: string, description: string, assignable: boolean }>, customFieldConfig: { Customer: Array<{ name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string }> } } } }; export type SearchProductsAdminQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; -export type SearchProductsAdminQuery = { - search: { - totalItems: number; - items: Array<{ - enabled: boolean; - productId: string; - productName: string; - slug: string; - description: string; - productVariantId: string; - productVariantName: string; - sku: string; - }>; - }; -}; + +export type SearchProductsAdminQuery = { search: { totalItems: number, items: Array<{ enabled: boolean, productId: string, productName: string, slug: string, description: string, productVariantId: string, productVariantName: string, sku: string }> } }; export type GetOrderWithSellerOrdersQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOrderWithSellerOrdersQuery = { - order?: { - id: string; - code: string; - state: string; - sellerOrders?: Array<{ - id: string; - aggregateOrderId?: string | null; - lines: Array<{ id: string; productVariant: { id: string; name: string } }>; - shippingLines: Array<{ id: string; shippingMethod: { id: string; code: string } }>; - }> | null; - lines: Array<{ id: string; productVariant: { id: string; name: string } }>; - shippingLines: Array<{ id: string; shippingMethod: { id: string; code: string } }>; - } | null; -}; - -export type AdministratorFragment = { - id: string; - firstName: string; - lastName: string; - emailAddress: string; - user: { - id: string; - identifier: string; - lastLogin?: any | null; - roles: Array<{ id: string; code: string; description: string; permissions: Array }>; - }; -}; - -export type AssetFragment = { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; -}; - -export type ProductVariantFragment = { - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ id: string; code: string; languageCode: LanguageCode; groupId: string; name: string }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; -}; - -export type ProductWithVariantsFragment = { - id: string; - enabled: boolean; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ languageCode: LanguageCode; name: string; slug: string; description: string }>; - optionGroups: Array<{ id: string; languageCode: LanguageCode; code: string; name: string }>; - variants: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - channels: Array<{ id: string; code: string }>; -}; - -export type RoleFragment = { - id: string; - code: string; - description: string; - permissions: Array; - channels: Array<{ id: string; code: string; token: string }>; -}; - -export type ConfigurableOperationFragment = { code: string; args: Array<{ name: string; value: string }> }; - -export type CollectionFragment = { - id: string; - name: string; - slug: string; - description: string; - isPrivate: boolean; - languageCode?: LanguageCode | null; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - filters: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - }>; - parent?: { id: string; name: string } | null; - children?: Array<{ id: string; name: string; position: number }> | null; -}; - -export type FacetValueFragment = { - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; -}; - -export type FacetWithValuesFragment = { - id: string; - languageCode: LanguageCode; - isPrivate: boolean; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - values: Array<{ - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; - }>; -}; - -type Country_Country_Fragment = { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; -}; - -type Country_Province_Fragment = { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; -}; + +export type GetOrderWithSellerOrdersQuery = { order?: { id: string, code: string, state: string, sellerOrders?: Array<{ id: string, aggregateOrderId?: string | null, lines: Array<{ id: string, productVariant: { id: string, name: string } }>, shippingLines: Array<{ id: string, shippingMethod: { id: string, code: string } }> }> | null, lines: Array<{ id: string, productVariant: { id: string, name: string } }>, shippingLines: Array<{ id: string, shippingMethod: { id: string, code: string } }> } | null }; + +export type AdministratorFragment = { id: string, firstName: string, lastName: string, emailAddress: string, user: { id: string, identifier: string, lastLogin?: any | null, roles: Array<{ id: string, code: string, description: string, permissions: Array }> } }; + +export type AssetFragment = { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }; + +export type ProductVariantFragment = { id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }; + +export type ProductWithVariantsFragment = { id: string, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ id: string, languageCode: LanguageCode, code: string, name: string }>, variants: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, channels: Array<{ id: string, code: string }> }; + +export type RoleFragment = { id: string, code: string, description: string, permissions: Array, channels: Array<{ id: string, code: string, token: string }> }; + +export type ConfigurableOperationFragment = { code: string, args: Array<{ name: string, value: string }> }; + +export type CollectionFragment = { id: string, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, filters: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { id: string, name: string } | null, children?: Array<{ id: string, name: string, position: number }> | null }; + +export type FacetValueFragment = { id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }; + +export type FacetWithValuesFragment = { id: string, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, values: Array<{ id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }> }; + +type Country_Country_Fragment = { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> }; + +type Country_Province_Fragment = { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> }; export type CountryFragment = Country_Country_Fragment | Country_Province_Fragment; -export type AddressFragment = { - id: string; - 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: { id: string; code: string; name: string }; -}; - -export type CustomerFragment = { - id: string; - title?: string | null; - firstName: string; - lastName: string; - phoneNumber?: string | null; - emailAddress: string; - user?: { id: string; identifier: string; verified: boolean; lastLogin?: any | null } | null; - addresses?: Array<{ - id: string; - 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: { id: string; code: string; name: string }; - }> | null; -}; - -export type AdjustmentFragment = { - adjustmentSource: string; - amount: number; - description: string; - type: AdjustmentType; -}; - -export type ShippingAddressFragment = { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; -}; - -export type OrderFragment = { - id: string; - createdAt: any; - updatedAt: any; - code: string; - active: boolean; - state: string; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - customer?: { id: string; firstName: string; lastName: string } | null; -}; - -export type PaymentFragment = { - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; -}; - -export type OrderWithLinesFragment = { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; -}; - -export type PromotionFragment = { - id: string; - createdAt: any; - updatedAt: any; - couponCode?: string | null; - startsAt?: any | null; - endsAt?: any | null; - name: string; - description: string; - enabled: boolean; - perCustomerUsageLimit?: number | null; - usageLimit?: number | null; - conditions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - actions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string; description: string }>; -}; - -export type ZoneFragment = { - id: string; - name: string; - members: Array< - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - >; -}; - -export type TaxRateFragment = { - id: string; - name: string; - enabled: boolean; - value: number; - category: { id: string; name: string }; - zone: { id: string; name: string }; - customerGroup?: { id: string; name: string } | null; -}; - -export type CurrentUserFragment = { - id: string; - identifier: string; - channels: Array<{ code: string; token: string; permissions: Array }>; -}; - -export type VariantWithStockFragment = { - id: string; - stockOnHand: number; - stockAllocated: number; - stockMovements: { - totalItems: number; - items: Array< - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - >; - }; -}; - -export type FulfillmentFragment = { - id: string; - state: string; - nextStates: Array; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; -}; - -export type ChannelFragment = { - id: string; - code: string; - token: string; - currencyCode: CurrencyCode; - availableCurrencyCodes: Array; - defaultCurrencyCode: CurrencyCode; - defaultLanguageCode: LanguageCode; - pricesIncludeTax: boolean; - defaultShippingZone?: { id: string } | null; - defaultTaxZone?: { id: string } | null; -}; - -export type GlobalSettingsFragment = { - id: string; - availableLanguages: Array; - trackInventory: boolean; - outOfStockThreshold: number; - serverConfig: { - permittedAssetTypes: Array; - orderProcess: Array<{ name: string; to: Array }>; - permissions: Array<{ name: string; description: string; assignable: boolean }>; - customFieldConfig: { - Customer: Array< - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - >; - }; - }; -}; - -export type CustomerGroupFragment = { - id: string; - name: string; - customers: { totalItems: number; items: Array<{ id: string }> }; -}; - -export type ProductOptionGroupFragment = { - id: string; - code: string; - name: string; - options: Array<{ id: string; code: string; name: string }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; -}; - -export type ProductWithOptionsFragment = { - id: string; - optionGroups: Array<{ id: string; code: string; options: Array<{ id: string; code: string }> }>; -}; - -export type ShippingMethodFragment = { - id: string; - code: string; - name: string; - description: string; - calculator: { code: string; args: Array<{ name: string; value: string }> }; - checker: { code: string; args: Array<{ name: string; value: string }> }; -}; +export type AddressFragment = { id: string, 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: { id: string, code: string, name: string } }; + +export type CustomerFragment = { id: string, title?: string | null, firstName: string, lastName: string, phoneNumber?: string | null, emailAddress: string, user?: { id: string, identifier: string, verified: boolean, lastLogin?: any | null } | null, addresses?: Array<{ id: string, 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: { id: string, code: string, name: string } }> | null }; + +export type AdjustmentFragment = { adjustmentSource: string, amount: number, description: string, type: AdjustmentType }; + +export type ShippingAddressFragment = { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null }; + +export type OrderFragment = { id: string, createdAt: any, updatedAt: any, code: string, active: boolean, state: string, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, customer?: { id: string, firstName: string, lastName: string } | null }; + +export type PaymentFragment = { id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }; + +export type OrderWithLinesFragment = { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null }; + +export type PromotionFragment = { id: string, createdAt: any, updatedAt: any, couponCode?: string | null, startsAt?: any | null, endsAt?: any | null, name: string, description: string, enabled: boolean, perCustomerUsageLimit?: number | null, usageLimit?: number | null, conditions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, actions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> }; + +export type ZoneFragment = { id: string, name: string, members: Array<{ id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } | { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> }> }; + +export type TaxRateFragment = { id: string, name: string, enabled: boolean, value: number, category: { id: string, name: string }, zone: { id: string, name: string }, customerGroup?: { id: string, name: string } | null }; + +export type CurrentUserFragment = { id: string, identifier: string, channels: Array<{ code: string, token: string, permissions: Array }> }; + +export type VariantWithStockFragment = { id: string, stockOnHand: number, stockAllocated: number, stockMovements: { totalItems: number, items: Array<{ id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number }> } }; + +export type FulfillmentFragment = { id: string, state: string, nextStates: Array, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }; + +export type ChannelFragment = { id: string, code: string, token: string, currencyCode: CurrencyCode, availableCurrencyCodes: Array, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, pricesIncludeTax: boolean, defaultShippingZone?: { id: string } | null, defaultTaxZone?: { id: string } | null }; + +export type GlobalSettingsFragment = { id: string, availableLanguages: Array, trackInventory: boolean, outOfStockThreshold: number, serverConfig: { permittedAssetTypes: Array, orderProcess: Array<{ name: string, to: Array }>, permissions: Array<{ name: string, description: string, assignable: boolean }>, customFieldConfig: { Customer: Array<{ name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string }> } } }; + +export type CustomerGroupFragment = { id: string, name: string, customers: { totalItems: number, items: Array<{ id: string }> } }; + +export type ProductOptionGroupFragment = { id: string, code: string, name: string, options: Array<{ id: string, code: string, name: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> }; + +export type ProductWithOptionsFragment = { id: string, optionGroups: Array<{ id: string, code: string, options: Array<{ id: string, code: string }> }> }; + +export type ShippingMethodFragment = { id: string, code: string, name: string, description: string, calculator: { code: string, args: Array<{ name: string, value: string }> }, checker: { code: string, args: Array<{ name: string, value: string }> } }; export type CreateAdministratorMutationVariables = Exact<{ - input: CreateAdministratorInput; + input: CreateAdministratorInput; }>; -export type CreateAdministratorMutation = { - createAdministrator: { - id: string; - firstName: string; - lastName: string; - emailAddress: string; - user: { - id: string; - identifier: string; - lastLogin?: any | null; - roles: Array<{ id: string; code: string; description: string; permissions: Array }>; - }; - }; -}; + +export type CreateAdministratorMutation = { createAdministrator: { id: string, firstName: string, lastName: string, emailAddress: string, user: { id: string, identifier: string, lastLogin?: any | null, roles: Array<{ id: string, code: string, description: string, permissions: Array }> } } }; export type UpdateProductMutationVariables = Exact<{ - input: UpdateProductInput; + input: UpdateProductInput; }>; -export type UpdateProductMutation = { - updateProduct: { - id: string; - enabled: boolean; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ languageCode: LanguageCode; name: string; slug: string; description: string }>; - optionGroups: Array<{ id: string; languageCode: LanguageCode; code: string; name: string }>; - variants: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ - id: string; - code: string; - name: string; - facet: { id: string; name: string }; - }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - channels: Array<{ id: string; code: string }>; - }; -}; + +export type UpdateProductMutation = { updateProduct: { id: string, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ id: string, languageCode: LanguageCode, code: string, name: string }>, variants: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, channels: Array<{ id: string, code: string }> } }; export type CreateProductMutationVariables = Exact<{ - input: CreateProductInput; + input: CreateProductInput; }>; -export type CreateProductMutation = { - createProduct: { - id: string; - enabled: boolean; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ languageCode: LanguageCode; name: string; slug: string; description: string }>; - optionGroups: Array<{ id: string; languageCode: LanguageCode; code: string; name: string }>; - variants: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ - id: string; - code: string; - name: string; - facet: { id: string; name: string }; - }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - channels: Array<{ id: string; code: string }>; - }; -}; + +export type CreateProductMutation = { createProduct: { id: string, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ id: string, languageCode: LanguageCode, code: string, name: string }>, variants: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, channels: Array<{ id: string, code: string }> } }; export type GetProductWithVariantsQueryVariables = Exact<{ - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }>; -export type GetProductWithVariantsQuery = { - product?: { - id: string; - enabled: boolean; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ languageCode: LanguageCode; name: string; slug: string; description: string }>; - optionGroups: Array<{ id: string; languageCode: LanguageCode; code: string; name: string }>; - variants: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ - id: string; - code: string; - name: string; - facet: { id: string; name: string }; - }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - channels: Array<{ id: string; code: string }>; - } | null; -}; + +export type GetProductWithVariantsQuery = { product?: { id: string, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ id: string, languageCode: LanguageCode, code: string, name: string }>, variants: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, channels: Array<{ id: string, code: string }> } | null }; export type GetProductListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetProductListQuery = { - products: { - totalItems: number; - items: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - slug: string; - featuredAsset?: { id: string; preview: string } | null; - }>; - }; -}; + +export type GetProductListQuery = { products: { totalItems: number, items: Array<{ id: string, languageCode: LanguageCode, name: string, slug: string, featuredAsset?: { id: string, preview: string } | null }> } }; export type CreateProductVariantsMutationVariables = Exact<{ - input: Array | CreateProductVariantInput; + input: Array | CreateProductVariantInput; }>; -export type CreateProductVariantsMutation = { - createProductVariants: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - } | null>; -}; + +export type CreateProductVariantsMutation = { createProductVariants: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> } | null> }; export type UpdateProductVariantsMutationVariables = Exact<{ - input: Array | UpdateProductVariantInput; + input: Array | UpdateProductVariantInput; }>; -export type UpdateProductVariantsMutation = { - updateProductVariants: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - } | null>; -}; + +export type UpdateProductVariantsMutation = { updateProductVariants: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> } | null> }; export type UpdateTaxRateMutationVariables = Exact<{ - input: UpdateTaxRateInput; + input: UpdateTaxRateInput; }>; -export type UpdateTaxRateMutation = { - updateTaxRate: { - id: string; - name: string; - enabled: boolean; - value: number; - category: { id: string; name: string }; - zone: { id: string; name: string }; - customerGroup?: { id: string; name: string } | null; - }; -}; + +export type UpdateTaxRateMutation = { updateTaxRate: { id: string, name: string, enabled: boolean, value: number, category: { id: string, name: string }, zone: { id: string, name: string }, customerGroup?: { id: string, name: string } | null } }; export type CreateFacetMutationVariables = Exact<{ - input: CreateFacetInput; + input: CreateFacetInput; }>; -export type CreateFacetMutation = { - createFacet: { - id: string; - languageCode: LanguageCode; - isPrivate: boolean; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - values: Array<{ - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; - }>; - }; -}; + +export type CreateFacetMutation = { createFacet: { id: string, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, values: Array<{ id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }> } }; export type UpdateFacetMutationVariables = Exact<{ - input: UpdateFacetInput; + input: UpdateFacetInput; }>; -export type UpdateFacetMutation = { - updateFacet: { - id: string; - languageCode: LanguageCode; - isPrivate: boolean; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - values: Array<{ - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; - }>; - }; -}; + +export type UpdateFacetMutation = { updateFacet: { id: string, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, values: Array<{ id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }> } }; export type GetCustomerListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetCustomerListQuery = { - customers: { - totalItems: number; - items: Array<{ - id: string; - title?: string | null; - firstName: string; - lastName: string; - emailAddress: string; - phoneNumber?: string | null; - user?: { id: string; identifier: string; verified: boolean } | null; - }>; - }; -}; + +export type GetCustomerListQuery = { customers: { totalItems: number, items: Array<{ id: string, title?: string | null, firstName: string, lastName: string, emailAddress: string, phoneNumber?: string | null, user?: { id: string, identifier: string, verified: boolean } | null }> } }; export type GetAssetListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetAssetListQuery = { - assets: { - totalItems: number; - items: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - }; -}; + +export type GetAssetListQuery = { assets: { totalItems: number, items: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }> } }; export type CreateRoleMutationVariables = Exact<{ - input: CreateRoleInput; + input: CreateRoleInput; }>; -export type CreateRoleMutation = { - createRole: { - id: string; - code: string; - description: string; - permissions: Array; - channels: Array<{ id: string; code: string; token: string }>; - }; -}; + +export type CreateRoleMutation = { createRole: { id: string, code: string, description: string, permissions: Array, channels: Array<{ id: string, code: string, token: string }> } }; export type CreateCollectionMutationVariables = Exact<{ - input: CreateCollectionInput; + input: CreateCollectionInput; }>; -export type CreateCollectionMutation = { - createCollection: { - id: string; - name: string; - slug: string; - description: string; - isPrivate: boolean; - languageCode?: LanguageCode | null; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - filters: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - }>; - parent?: { id: string; name: string } | null; - children?: Array<{ id: string; name: string; position: number }> | null; - }; -}; + +export type CreateCollectionMutation = { createCollection: { id: string, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, filters: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { id: string, name: string } | null, children?: Array<{ id: string, name: string, position: number }> | null } }; export type UpdateCollectionMutationVariables = Exact<{ - input: UpdateCollectionInput; + input: UpdateCollectionInput; }>; -export type UpdateCollectionMutation = { - updateCollection: { - id: string; - name: string; - slug: string; - description: string; - isPrivate: boolean; - languageCode?: LanguageCode | null; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - filters: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - }>; - parent?: { id: string; name: string } | null; - children?: Array<{ id: string; name: string; position: number }> | null; - }; -}; + +export type UpdateCollectionMutation = { updateCollection: { id: string, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, filters: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { id: string, name: string } | null, children?: Array<{ id: string, name: string, position: number }> | null } }; export type GetCustomerQueryVariables = Exact<{ - id: Scalars['ID']['input']; - orderListOptions?: InputMaybe; + id: Scalars['ID']['input']; + orderListOptions?: InputMaybe; }>; -export type GetCustomerQuery = { - customer?: { - id: string; - title?: string | null; - firstName: string; - lastName: string; - phoneNumber?: string | null; - emailAddress: string; - orders: { - totalItems: number; - items: Array<{ - id: string; - code: string; - state: string; - total: number; - currencyCode: CurrencyCode; - updatedAt: any; - }>; - }; - user?: { id: string; identifier: string; verified: boolean; lastLogin?: any | null } | null; - addresses?: Array<{ - id: string; - 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: { id: string; code: string; name: string }; - }> | null; - } | null; -}; + +export type GetCustomerQuery = { customer?: { id: string, title?: string | null, firstName: string, lastName: string, phoneNumber?: string | null, emailAddress: string, orders: { totalItems: number, items: Array<{ id: string, code: string, state: string, total: number, currencyCode: CurrencyCode, updatedAt: any }> }, user?: { id: string, identifier: string, verified: boolean, lastLogin?: any | null } | null, addresses?: Array<{ id: string, 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: { id: string, code: string, name: string } }> | null } | null }; export type AttemptLoginMutationVariables = Exact<{ - username: Scalars['String']['input']; - password: Scalars['String']['input']; - rememberMe?: InputMaybe; + username: Scalars['String']['input']; + password: Scalars['String']['input']; + rememberMe?: InputMaybe; }>; -export type AttemptLoginMutation = { - login: - | { - id: string; - identifier: string; - channels: Array<{ code: string; token: string; permissions: Array }>; - } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string }; -}; + +export type AttemptLoginMutation = { login: { id: string, identifier: string, channels: Array<{ code: string, token: string, permissions: Array }> } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } }; export type GetCountryListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetCountryListQuery = { - countries: { - totalItems: number; - items: Array<{ id: string; code: string; name: string; enabled: boolean }>; - }; -}; + +export type GetCountryListQuery = { countries: { totalItems: number, items: Array<{ id: string, code: string, name: string, enabled: boolean }> } }; export type UpdateCountryMutationVariables = Exact<{ - input: UpdateCountryInput; + input: UpdateCountryInput; }>; -export type UpdateCountryMutation = { - updateCountry: { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - }; -}; + +export type UpdateCountryMutation = { updateCountry: { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } }; export type GetFacetListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetFacetListQuery = { - facets: { - totalItems: number; - items: Array<{ - id: string; - languageCode: LanguageCode; - isPrivate: boolean; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - values: Array<{ - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; - }>; - }>; - }; -}; + +export type GetFacetListQuery = { facets: { totalItems: number, items: Array<{ id: string, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, values: Array<{ id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }> }> } }; export type GetFacetListSimpleQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetFacetListSimpleQuery = { - facets: { totalItems: number; items: Array<{ id: string; name: string }> }; -}; + +export type GetFacetListSimpleQuery = { facets: { totalItems: number, items: Array<{ id: string, name: string }> } }; export type DeleteProductMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; + export type DeleteProductMutation = { deleteProduct: { result: DeletionResult } }; export type GetProductSimpleQueryVariables = Exact<{ - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }>; -export type GetProductSimpleQuery = { product?: { id: string; slug: string } | null }; + +export type GetProductSimpleQuery = { product?: { id: string, slug: string } | null }; export type GetStockMovementQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetStockMovementQuery = { - product?: { - id: string; - variants: Array<{ - id: string; - stockOnHand: number; - stockAllocated: number; - stockMovements: { - totalItems: number; - items: Array< - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - >; - }; - }>; - } | null; -}; + +export type GetStockMovementQuery = { product?: { id: string, variants: Array<{ id: string, stockOnHand: number, stockAllocated: number, stockMovements: { totalItems: number, items: Array<{ id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number }> } }> } | null }; export type GetRunningJobsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetRunningJobsQuery = { - jobs: { - totalItems: number; - items: Array<{ - id: string; - queueName: string; - state: JobState; - isSettled: boolean; - duration: number; - }>; - }; -}; + +export type GetRunningJobsQuery = { jobs: { totalItems: number, items: Array<{ id: string, queueName: string, state: JobState, isSettled: boolean, duration: number }> } }; export type CreatePromotionMutationVariables = Exact<{ - input: CreatePromotionInput; + input: CreatePromotionInput; }>; -export type CreatePromotionMutation = { - createPromotion: - | { errorCode: ErrorCode; message: string } - | { - id: string; - createdAt: any; - updatedAt: any; - couponCode?: string | null; - startsAt?: any | null; - endsAt?: any | null; - name: string; - description: string; - enabled: boolean; - perCustomerUsageLimit?: number | null; - usageLimit?: number | null; - conditions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - actions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - description: string; - }>; - }; -}; - -export type MeQueryVariables = Exact<{ [key: string]: never }>; - -export type MeQuery = { - me?: { - id: string; - identifier: string; - channels: Array<{ code: string; token: string; permissions: Array }>; - } | null; -}; + +export type CreatePromotionMutation = { createPromotion: { errorCode: ErrorCode, message: string } | { id: string, createdAt: any, updatedAt: any, couponCode?: string | null, startsAt?: any | null, endsAt?: any | null, name: string, description: string, enabled: boolean, perCustomerUsageLimit?: number | null, usageLimit?: number | null, conditions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, actions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> } }; + +export type MeQueryVariables = Exact<{ [key: string]: never; }>; + + +export type MeQuery = { me?: { id: string, identifier: string, channels: Array<{ code: string, token: string, permissions: Array }> } | null }; export type CreateChannelMutationVariables = Exact<{ - input: CreateChannelInput; + input: CreateChannelInput; }>; -export type CreateChannelMutation = { - createChannel: - | { - id: string; - code: string; - token: string; - currencyCode: CurrencyCode; - availableCurrencyCodes: Array; - defaultCurrencyCode: CurrencyCode; - defaultLanguageCode: LanguageCode; - pricesIncludeTax: boolean; - defaultShippingZone?: { id: string } | null; - defaultTaxZone?: { id: string } | null; - } - | { errorCode: ErrorCode; message: string; languageCode: string }; -}; + +export type CreateChannelMutation = { createChannel: { id: string, code: string, token: string, currencyCode: CurrencyCode, availableCurrencyCodes: Array, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, pricesIncludeTax: boolean, defaultShippingZone?: { id: string } | null, defaultTaxZone?: { id: string } | null } | { errorCode: ErrorCode, message: string, languageCode: string } }; export type DeleteProductVariantMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteProductVariantMutation = { - deleteProductVariant: { result: DeletionResult; message?: string | null }; -}; + +export type DeleteProductVariantMutation = { deleteProductVariant: { result: DeletionResult, message?: string | null } }; export type AssignProductsToChannelMutationVariables = Exact<{ - input: AssignProductsToChannelInput; + input: AssignProductsToChannelInput; }>; -export type AssignProductsToChannelMutation = { - assignProductsToChannel: Array<{ - id: string; - enabled: boolean; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ languageCode: LanguageCode; name: string; slug: string; description: string }>; - optionGroups: Array<{ id: string; languageCode: LanguageCode; code: string; name: string }>; - variants: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ - id: string; - code: string; - name: string; - facet: { id: string; name: string }; - }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - channels: Array<{ id: string; code: string }>; - }>; -}; + +export type AssignProductsToChannelMutation = { assignProductsToChannel: Array<{ id: string, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ id: string, languageCode: LanguageCode, code: string, name: string }>, variants: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, channels: Array<{ id: string, code: string }> }> }; export type RemoveProductsFromChannelMutationVariables = Exact<{ - input: RemoveProductsFromChannelInput; + input: RemoveProductsFromChannelInput; }>; -export type RemoveProductsFromChannelMutation = { - removeProductsFromChannel: Array<{ - id: string; - enabled: boolean; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ languageCode: LanguageCode; name: string; slug: string; description: string }>; - optionGroups: Array<{ id: string; languageCode: LanguageCode; code: string; name: string }>; - variants: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ - id: string; - code: string; - name: string; - facet: { id: string; name: string }; - }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - channels: Array<{ id: string; code: string }>; - }>; -}; + +export type RemoveProductsFromChannelMutation = { removeProductsFromChannel: Array<{ id: string, enabled: boolean, languageCode: LanguageCode, name: string, slug: string, description: string, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ languageCode: LanguageCode, name: string, slug: string, description: string }>, optionGroups: Array<{ id: string, languageCode: LanguageCode, code: string, name: string }>, variants: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, channels: Array<{ id: string, code: string }> }> }; export type AssignProductVariantsToChannelMutationVariables = Exact<{ - input: AssignProductVariantsToChannelInput; + input: AssignProductVariantsToChannelInput; }>; -export type AssignProductVariantsToChannelMutation = { - assignProductVariantsToChannel: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - }>; -}; + +export type AssignProductVariantsToChannelMutation = { assignProductVariantsToChannel: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }> }; export type RemoveProductVariantsFromChannelMutationVariables = Exact<{ - input: RemoveProductVariantsFromChannelInput; + input: RemoveProductVariantsFromChannelInput; }>; -export type RemoveProductVariantsFromChannelMutation = { - removeProductVariantsFromChannel: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ id: string; code: string; name: string; facet: { id: string; name: string } }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - }>; -}; + +export type RemoveProductVariantsFromChannelMutation = { removeProductVariantsFromChannel: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }> }; export type UpdateAssetMutationVariables = Exact<{ - input: UpdateAssetInput; + input: UpdateAssetInput; }>; -export type UpdateAssetMutation = { - updateAsset: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - tags: Array<{ id: string; value: string }>; - focalPoint?: { x: number; y: number } | null; - }; -}; + +export type UpdateAssetMutation = { updateAsset: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, tags: Array<{ id: string, value: string }>, focalPoint?: { x: number, y: number } | null } }; export type DeleteAssetMutationVariables = Exact<{ - input: DeleteAssetInput; + input: DeleteAssetInput; }>; -export type DeleteAssetMutation = { deleteAsset: { result: DeletionResult; message?: string | null } }; + +export type DeleteAssetMutation = { deleteAsset: { result: DeletionResult, message?: string | null } }; export type UpdateChannelMutationVariables = Exact<{ - input: UpdateChannelInput; + input: UpdateChannelInput; }>; -export type UpdateChannelMutation = { - updateChannel: - | { - id: string; - code: string; - token: string; - currencyCode: CurrencyCode; - availableCurrencyCodes: Array; - defaultCurrencyCode: CurrencyCode; - defaultLanguageCode: LanguageCode; - pricesIncludeTax: boolean; - defaultShippingZone?: { id: string } | null; - defaultTaxZone?: { id: string } | null; - } - | { errorCode: ErrorCode; message: string; languageCode: string }; -}; + +export type UpdateChannelMutation = { updateChannel: { id: string, code: string, token: string, currencyCode: CurrencyCode, availableCurrencyCodes: Array, defaultCurrencyCode: CurrencyCode, defaultLanguageCode: LanguageCode, pricesIncludeTax: boolean, defaultShippingZone?: { id: string } | null, defaultTaxZone?: { id: string } | null } | { errorCode: ErrorCode, message: string, languageCode: string } }; export type GetCustomerHistoryQueryVariables = Exact<{ - id: Scalars['ID']['input']; - options?: InputMaybe; + id: Scalars['ID']['input']; + options?: InputMaybe; }>; -export type GetCustomerHistoryQuery = { - customer?: { - id: string; - history: { - totalItems: number; - items: Array<{ - id: string; - type: HistoryEntryType; - data: any; - administrator?: { id: string } | null; - }>; - }; - } | null; -}; + +export type GetCustomerHistoryQuery = { customer?: { id: string, history: { totalItems: number, items: Array<{ id: string, type: HistoryEntryType, data: any, administrator?: { id: string } | null }> } } | null }; export type GetOrderQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOrderQuery = { - order?: { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - } | null; -}; + +export type GetOrderQuery = { order?: { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } | null }; export type CreateCustomerGroupMutationVariables = Exact<{ - input: CreateCustomerGroupInput; + input: CreateCustomerGroupInput; }>; -export type CreateCustomerGroupMutation = { - createCustomerGroup: { - id: string; - name: string; - customers: { totalItems: number; items: Array<{ id: string }> }; - }; -}; + +export type CreateCustomerGroupMutation = { createCustomerGroup: { id: string, name: string, customers: { totalItems: number, items: Array<{ id: 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: { - id: string; - name: string; - customers: { totalItems: number; items: Array<{ id: string }> }; - }; -}; + +export type RemoveCustomersFromGroupMutation = { removeCustomersFromGroup: { id: string, name: string, customers: { totalItems: number, items: Array<{ id: string }> } } }; export type CreateFulfillmentMutationVariables = Exact<{ - input: FulfillOrderInput; + input: FulfillOrderInput; }>; -export type CreateFulfillmentMutation = { - addFulfillmentToOrder: - | { errorCode: ErrorCode; message: string; fulfillmentHandlerError: string } - | { errorCode: ErrorCode; message: string } - | { - id: string; - state: string; - nextStates: Array; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string }; -}; + +export type CreateFulfillmentMutation = { addFulfillmentToOrder: { errorCode: ErrorCode, message: string, fulfillmentHandlerError: string } | { errorCode: ErrorCode, message: string } | { id: string, state: string, nextStates: Array, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } }; export type TransitFulfillmentMutationVariables = Exact<{ - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }>; -export type TransitFulfillmentMutation = { - transitionFulfillmentToState: - | { - id: string; - state: string; - nextStates: Array; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - } - | { - errorCode: ErrorCode; - message: string; - transitionError: string; - fromState: string; - toState: string; - }; -}; + +export type TransitFulfillmentMutation = { transitionFulfillmentToState: { id: string, state: string, nextStates: Array, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> } | { errorCode: ErrorCode, message: string, transitionError: string, fromState: string, toState: string } }; export type GetOrderFulfillmentsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOrderFulfillmentsQuery = { - order?: { - id: string; - state: string; - fulfillments?: Array<{ - id: string; - state: string; - nextStates: Array; - method: string; - summary: Array<{ quantity: number; orderLine: { id: string } }>; - }> | null; - } | null; -}; + +export type GetOrderFulfillmentsQuery = { order?: { id: string, state: string, fulfillments?: Array<{ id: string, state: string, nextStates: Array, method: string, summary: Array<{ quantity: number, orderLine: { id: string } }> }> | null } | null }; export type GetOrderListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetOrderListQuery = { - orders: { - totalItems: number; - items: Array<{ - id: string; - createdAt: any; - updatedAt: any; - code: string; - active: boolean; - state: string; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - customer?: { id: string; firstName: string; lastName: string } | null; - }>; - }; -}; + +export type GetOrderListQuery = { orders: { totalItems: number, items: Array<{ id: string, createdAt: any, updatedAt: any, code: string, active: boolean, state: string, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, customer?: { id: string, firstName: string, lastName: string } | null }> } }; export type CreateAddressMutationVariables = Exact<{ - id: Scalars['ID']['input']; - input: CreateAddressInput; + id: Scalars['ID']['input']; + input: CreateAddressInput; }>; -export type CreateAddressMutation = { - createCustomerAddress: { - id: string; - 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: { code: string; name: string }; - }; -}; + +export type CreateAddressMutation = { createCustomerAddress: { id: string, 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: { code: string, name: string } } }; export type UpdateAddressMutationVariables = Exact<{ - input: UpdateAddressInput; + input: UpdateAddressInput; }>; -export type UpdateAddressMutation = { - updateCustomerAddress: { - id: string; - defaultShippingAddress?: boolean | null; - defaultBillingAddress?: boolean | null; - country: { code: string; name: string }; - }; -}; + +export type UpdateAddressMutation = { updateCustomerAddress: { id: string, defaultShippingAddress?: boolean | null, defaultBillingAddress?: boolean | null, country: { code: string, name: string } } }; export type CreateCustomerMutationVariables = Exact<{ - input: CreateCustomerInput; - password?: InputMaybe; + input: CreateCustomerInput; + password?: InputMaybe; }>; -export type CreateCustomerMutation = { - createCustomer: - | { - id: string; - title?: string | null; - firstName: string; - lastName: string; - phoneNumber?: string | null; - emailAddress: string; - user?: { id: string; identifier: string; verified: boolean; lastLogin?: any | null } | null; - addresses?: Array<{ - id: string; - 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: { id: string; code: string; name: string }; - }> | null; - } - | { errorCode: ErrorCode; message: string }; -}; + +export type CreateCustomerMutation = { createCustomer: { id: string, title?: string | null, firstName: string, lastName: string, phoneNumber?: string | null, emailAddress: string, user?: { id: string, identifier: string, verified: boolean, lastLogin?: any | null } | null, addresses?: Array<{ id: string, 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: { id: string, code: string, name: string } }> | null } | { errorCode: ErrorCode, message: string } }; export type UpdateCustomerMutationVariables = Exact<{ - input: UpdateCustomerInput; + input: UpdateCustomerInput; }>; -export type UpdateCustomerMutation = { - updateCustomer: - | { - id: string; - title?: string | null; - firstName: string; - lastName: string; - phoneNumber?: string | null; - emailAddress: string; - user?: { id: string; identifier: string; verified: boolean; lastLogin?: any | null } | null; - addresses?: Array<{ - id: string; - 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: { id: string; code: string; name: string }; - }> | null; - } - | { errorCode: ErrorCode; message: string }; -}; + +export type UpdateCustomerMutation = { updateCustomer: { id: string, title?: string | null, firstName: string, lastName: string, phoneNumber?: string | null, emailAddress: string, user?: { id: string, identifier: string, verified: boolean, lastLogin?: any | null } | null, addresses?: Array<{ id: string, 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: { id: string, code: string, name: string } }> | null } | { errorCode: ErrorCode, message: string } }; export type DeleteCustomerMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; + export type DeleteCustomerMutation = { deleteCustomer: { result: DeletionResult } }; export type UpdateCustomerNoteMutationVariables = Exact<{ - input: UpdateCustomerNoteInput; + input: UpdateCustomerNoteInput; }>; -export type UpdateCustomerNoteMutation = { updateCustomerNote: { id: string; data: any; isPublic: boolean } }; + +export type UpdateCustomerNoteMutation = { updateCustomerNote: { id: string, data: any, isPublic: boolean } }; export type DeleteCustomerNoteMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteCustomerNoteMutation = { - deleteCustomerNote: { result: DeletionResult; message?: string | null }; -}; + +export type DeleteCustomerNoteMutation = { deleteCustomerNote: { result: DeletionResult, message?: string | null } }; export type UpdateCustomerGroupMutationVariables = Exact<{ - input: UpdateCustomerGroupInput; + input: UpdateCustomerGroupInput; }>; -export type UpdateCustomerGroupMutation = { - updateCustomerGroup: { - id: string; - name: string; - customers: { totalItems: number; items: Array<{ id: string }> }; - }; -}; + +export type UpdateCustomerGroupMutation = { updateCustomerGroup: { id: string, name: string, customers: { totalItems: number, items: Array<{ id: string }> } } }; export type DeleteCustomerGroupMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteCustomerGroupMutation = { - deleteCustomerGroup: { result: DeletionResult; message?: string | null }; -}; + +export type DeleteCustomerGroupMutation = { deleteCustomerGroup: { result: DeletionResult, message?: string | null } }; export type GetCustomerGroupsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetCustomerGroupsQuery = { - customerGroups: { totalItems: number; items: Array<{ id: string; name: string }> }; -}; + +export type GetCustomerGroupsQuery = { customerGroups: { totalItems: number, items: Array<{ id: string, name: string }> } }; export type GetCustomerGroupQueryVariables = Exact<{ - id: Scalars['ID']['input']; - options?: InputMaybe; + id: Scalars['ID']['input']; + options?: InputMaybe; }>; -export type GetCustomerGroupQuery = { - customerGroup?: { - id: string; - name: string; - customers: { totalItems: number; items: Array<{ id: string }> }; - } | null; -}; + +export type GetCustomerGroupQuery = { customerGroup?: { id: string, name: string, customers: { totalItems: number, items: Array<{ id: string }> } } | 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: { - id: string; - name: string; - customers: { totalItems: number; items: Array<{ id: string }> }; - }; -}; + +export type AddCustomersToGroupMutation = { addCustomersToGroup: { id: string, name: string, customers: { totalItems: number, items: Array<{ id: string }> } } }; export type GetCustomerWithGroupsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetCustomerWithGroupsQuery = { - customer?: { id: string; groups: Array<{ id: string; name: string }> } | null; -}; + +export type GetCustomerWithGroupsQuery = { customer?: { id: string, groups: Array<{ id: string, name: string }> } | null }; export type AdminTransitionMutationVariables = Exact<{ - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }>; -export type AdminTransitionMutation = { - transitionOrderToState?: - | { - id: string; - createdAt: any; - updatedAt: any; - code: string; - active: boolean; - state: string; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - customer?: { id: string; firstName: string; lastName: string } | null; - } - | { - errorCode: ErrorCode; - message: string; - transitionError: string; - fromState: string; - toState: string; - } - | null; -}; + +export type AdminTransitionMutation = { transitionOrderToState?: { id: string, createdAt: any, updatedAt: any, code: string, active: boolean, state: string, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, customer?: { id: string, firstName: string, lastName: string } | null } | { errorCode: ErrorCode, message: string, transitionError: string, fromState: string, toState: string } | null }; export type CancelOrderMutationVariables = Exact<{ - input: CancelOrderInput; + input: CancelOrderInput; }>; -export type CancelOrderMutation = { - cancelOrder: - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { id: string; state: string; lines: Array<{ id: string; quantity: number }> } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string }; -}; -export type CanceledOrderFragment = { - id: string; - state: string; - lines: Array<{ id: string; quantity: number }>; -}; +export type CancelOrderMutation = { cancelOrder: { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { id: string, state: string, lines: Array<{ id: string, quantity: number }> } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } }; + +export type CanceledOrderFragment = { id: string, state: string, lines: Array<{ id: string, quantity: number }> }; export type UpdateGlobalSettingsMutationVariables = Exact<{ - input: UpdateGlobalSettingsInput; + input: UpdateGlobalSettingsInput; }>; -export type UpdateGlobalSettingsMutation = { - updateGlobalSettings: - | { errorCode: ErrorCode; message: string } - | { - id: string; - availableLanguages: Array; - trackInventory: boolean; - outOfStockThreshold: number; - serverConfig: { - permittedAssetTypes: Array; - orderProcess: Array<{ name: string; to: Array }>; - permissions: Array<{ name: string; description: string; assignable: boolean }>; - customFieldConfig: { - Customer: Array< - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - | { name: string } - >; - }; - }; - }; -}; + +export type UpdateGlobalSettingsMutation = { updateGlobalSettings: { errorCode: ErrorCode, message: string } | { id: string, availableLanguages: Array, trackInventory: boolean, outOfStockThreshold: number, serverConfig: { permittedAssetTypes: Array, orderProcess: Array<{ name: string, to: Array }>, permissions: Array<{ name: string, description: string, assignable: boolean }>, customFieldConfig: { Customer: Array<{ name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string } | { name: string }> } } } }; export type UpdateRoleMutationVariables = Exact<{ - input: UpdateRoleInput; + input: UpdateRoleInput; }>; -export type UpdateRoleMutation = { - updateRole: { - id: string; - code: string; - description: string; - permissions: Array; - channels: Array<{ id: string; code: string; token: string }>; - }; -}; - -export type GetProductsWithVariantPricesQueryVariables = Exact<{ [key: string]: never }>; - -export type GetProductsWithVariantPricesQuery = { - products: { - items: Array<{ - id: string; - slug: string; - variants: Array<{ - id: string; - price: number; - priceWithTax: number; - currencyCode: CurrencyCode; - sku: string; - facetValues: Array<{ id: string; code: string }>; - }>; - }>; - }; -}; + +export type UpdateRoleMutation = { updateRole: { id: string, code: string, description: string, permissions: Array, channels: Array<{ id: string, code: string, token: string }> } }; + +export type GetProductsWithVariantPricesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetProductsWithVariantPricesQuery = { products: { items: Array<{ id: string, slug: string, variants: Array<{ id: string, price: number, priceWithTax: number, currencyCode: CurrencyCode, sku: string, facetValues: Array<{ id: string, code: string }> }> }> } }; export type CreateProductOptionGroupMutationVariables = Exact<{ - input: CreateProductOptionGroupInput; + input: CreateProductOptionGroupInput; }>; -export type CreateProductOptionGroupMutation = { - createProductOptionGroup: { - id: string; - code: string; - name: string; - options: Array<{ id: string; code: string; name: string }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - }; -}; + +export type CreateProductOptionGroupMutation = { createProductOptionGroup: { id: string, code: string, name: string, options: Array<{ id: string, code: string, name: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: 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: { - id: string; - optionGroups: Array<{ id: string; code: string; options: Array<{ id: string; code: string }> }>; - }; -}; + +export type AddOptionGroupToProductMutation = { addOptionGroupToProduct: { id: string, optionGroups: Array<{ id: string, code: string, options: Array<{ id: string, code: string }> }> } }; export type CreateShippingMethodMutationVariables = Exact<{ - input: CreateShippingMethodInput; + input: CreateShippingMethodInput; }>; -export type CreateShippingMethodMutation = { - createShippingMethod: { - id: string; - code: string; - name: string; - description: string; - calculator: { code: string; args: Array<{ name: string; value: string }> }; - checker: { code: string; args: Array<{ name: string; value: string }> }; - }; -}; + +export type CreateShippingMethodMutation = { createShippingMethod: { id: string, code: string, name: string, description: string, calculator: { code: string, args: Array<{ name: string, value: string }> }, checker: { code: string, args: Array<{ name: string, value: string }> } } }; export type SettlePaymentMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type SettlePaymentMutation = { - settlePayment: - | { errorCode: ErrorCode; message: string } - | { - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string; paymentErrorMessage: string }; -}; + +export type SettlePaymentMutation = { settlePayment: { errorCode: ErrorCode, message: string } | { id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string, paymentErrorMessage: string } }; export type GetOrderHistoryQueryVariables = Exact<{ - id: Scalars['ID']['input']; - options?: InputMaybe; + id: Scalars['ID']['input']; + options?: InputMaybe; }>; -export type GetOrderHistoryQuery = { - order?: { - id: string; - history: { - totalItems: number; - items: Array<{ - id: string; - type: HistoryEntryType; - data: any; - administrator?: { id: string } | null; - }>; - }; - } | null; -}; + +export type GetOrderHistoryQuery = { order?: { id: string, history: { totalItems: number, items: Array<{ id: string, type: HistoryEntryType, data: any, administrator?: { id: string } | null }> } } | null }; export type UpdateShippingMethodMutationVariables = Exact<{ - input: UpdateShippingMethodInput; + input: UpdateShippingMethodInput; }>; -export type UpdateShippingMethodMutation = { - updateShippingMethod: { - id: string; - code: string; - name: string; - description: string; - calculator: { code: string; args: Array<{ name: string; value: string }> }; - checker: { code: string; args: Array<{ name: string; value: string }> }; - }; -}; + +export type UpdateShippingMethodMutation = { updateShippingMethod: { id: string, code: string, name: string, description: string, calculator: { code: string, args: Array<{ name: string, value: string }> }, checker: { code: string, args: Array<{ name: string, value: string }> } } }; export type GetAssetQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetAssetQuery = { - asset?: { - width: number; - height: number; - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; -}; -export type AssetFragFirstFragment = { id: string; preview: string }; +export type GetAssetQuery = { asset?: { width: number, height: number, id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null }; + +export type AssetFragFirstFragment = { id: string, preview: string }; export type GetAssetFragmentFirstQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetAssetFragmentFirstQuery = { asset?: { id: string; preview: string } | null }; -export type AssetWithTagsAndFocalPointFragment = { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - focalPoint?: { x: number; y: number } | null; - tags: Array<{ id: string; value: string }>; -}; +export type GetAssetFragmentFirstQuery = { asset?: { id: string, preview: string } | null }; + +export type AssetWithTagsAndFocalPointFragment = { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, focalPoint?: { x: number, y: number } | null, tags: Array<{ id: string, value: string }> }; export type CreateAssetsMutationVariables = Exact<{ - input: Array | CreateAssetInput; + input: Array | CreateAssetInput; }>; -export type CreateAssetsMutation = { - createAssets: Array< - | { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - focalPoint?: { x: number; y: number } | null; - tags: Array<{ id: string; value: string }>; - } - | { message: string; fileName: string; mimeType: string } - >; -}; + +export type CreateAssetsMutation = { createAssets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string, focalPoint?: { x: number, y: number } | null, tags: Array<{ id: string, value: string }> } | { message: string, fileName: string, mimeType: string }> }; export type DeleteShippingMethodMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteShippingMethodMutation = { - deleteShippingMethod: { result: DeletionResult; message?: string | null }; -}; + +export type DeleteShippingMethodMutation = { deleteShippingMethod: { result: DeletionResult, message?: string | null } }; export type AssignPromotionToChannelMutationVariables = Exact<{ - input: AssignPromotionsToChannelInput; + input: AssignPromotionsToChannelInput; }>; -export type AssignPromotionToChannelMutation = { - assignPromotionsToChannel: Array<{ id: string; name: string }>; -}; + +export type AssignPromotionToChannelMutation = { assignPromotionsToChannel: Array<{ id: string, name: string }> }; export type RemovePromotionFromChannelMutationVariables = Exact<{ - input: RemovePromotionsFromChannelInput; + input: RemovePromotionsFromChannelInput; }>; -export type RemovePromotionFromChannelMutation = { - removePromotionsFromChannel: Array<{ id: string; name: string }>; -}; + +export type RemovePromotionFromChannelMutation = { removePromotionsFromChannel: Array<{ id: string, name: string }> }; export type GetTaxRatesQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetTaxRatesQuery = { - taxRates: { - totalItems: number; - items: Array<{ - id: string; - name: string; - enabled: boolean; - value: number; - category: { id: string; name: string }; - zone: { id: string; name: string }; - customerGroup?: { id: string; name: string } | null; - }>; - }; -}; - -export type GetShippingMethodListQueryVariables = Exact<{ [key: string]: never }>; - -export type GetShippingMethodListQuery = { - shippingMethods: { - totalItems: number; - items: Array<{ - id: string; - code: string; - name: string; - description: string; - calculator: { code: string; args: Array<{ name: string; value: string }> }; - checker: { code: string; args: Array<{ name: string; value: string }> }; - }>; - }; -}; - -export type GetCollectionsQueryVariables = Exact<{ [key: string]: never }>; - -export type GetCollectionsQuery = { - collections: { - items: Array<{ - id: string; - name: string; - position: number; - parent?: { id: string; name: string } | null; - }>; - }; -}; + +export type GetTaxRatesQuery = { taxRates: { totalItems: number, items: Array<{ id: string, name: string, enabled: boolean, value: number, category: { id: string, name: string }, zone: { id: string, name: string }, customerGroup?: { id: string, name: string } | null }> } }; + +export type GetShippingMethodListQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetShippingMethodListQuery = { shippingMethods: { totalItems: number, items: Array<{ id: string, code: string, name: string, description: string, calculator: { code: string, args: Array<{ name: string, value: string }> }, checker: { code: string, args: Array<{ name: string, value: string }> } }> } }; + +export type GetCollectionsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetCollectionsQuery = { collections: { items: Array<{ id: string, name: string, position: number, parent?: { id: string, name: string } | null }> } }; export type TransitionPaymentToStateMutationVariables = Exact<{ - id: Scalars['ID']['input']; - state: Scalars['String']['input']; + id: Scalars['ID']['input']; + state: Scalars['String']['input']; }>; -export type TransitionPaymentToStateMutation = { - transitionPaymentToState: - | { - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - } - | { errorCode: ErrorCode; message: string; transitionError: string }; -}; + +export type TransitionPaymentToStateMutation = { transitionPaymentToState: { id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> } | { errorCode: ErrorCode, message: string, transitionError: string } }; export type GetProductVariantListQueryVariables = Exact<{ - options?: InputMaybe; - productId?: InputMaybe; + options?: InputMaybe; + productId?: InputMaybe; }>; -export type GetProductVariantListQuery = { - productVariants: { - totalItems: number; - items: Array<{ - id: string; - name: string; - sku: string; - price: number; - priceWithTax: number; - currencyCode: CurrencyCode; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - }>; - }; -}; + +export type GetProductVariantListQuery = { productVariants: { totalItems: number, items: Array<{ id: string, name: string, sku: string, price: number, priceWithTax: number, currencyCode: CurrencyCode, prices: Array<{ currencyCode: CurrencyCode, price: number }> }> } }; export type DeletePromotionMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; + export type DeletePromotionMutation = { deletePromotion: { result: DeletionResult } }; -export type GetChannelsQueryVariables = Exact<{ [key: string]: never }>; +export type GetChannelsQueryVariables = Exact<{ [key: string]: never; }>; + -export type GetChannelsQuery = { channels: { items: Array<{ id: string; code: string; token: string }> } }; +export type GetChannelsQuery = { channels: { items: Array<{ id: string, code: string, token: string }> } }; export type UpdateAdministratorMutationVariables = Exact<{ - input: UpdateAdministratorInput; + input: UpdateAdministratorInput; }>; -export type UpdateAdministratorMutation = { - updateAdministrator: { - id: string; - firstName: string; - lastName: string; - emailAddress: string; - user: { - id: string; - identifier: string; - lastLogin?: any | null; - roles: Array<{ id: string; code: string; description: string; permissions: Array }>; - }; - }; -}; + +export type UpdateAdministratorMutation = { updateAdministrator: { id: string, firstName: string, lastName: string, emailAddress: string, user: { id: string, identifier: string, lastLogin?: any | null, roles: Array<{ id: string, code: string, description: string, permissions: Array }> } } }; export type AssignCollectionsToChannelMutationVariables = Exact<{ - input: AssignCollectionsToChannelInput; + input: AssignCollectionsToChannelInput; }>; -export type AssignCollectionsToChannelMutation = { - assignCollectionsToChannel: Array<{ - id: string; - name: string; - slug: string; - description: string; - isPrivate: boolean; - languageCode?: LanguageCode | null; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - filters: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - }>; - parent?: { id: string; name: string } | null; - children?: Array<{ id: string; name: string; position: number }> | null; - }>; -}; + +export type AssignCollectionsToChannelMutation = { assignCollectionsToChannel: Array<{ id: string, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, filters: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { id: string, name: string } | null, children?: Array<{ id: string, name: string, position: number }> | null }> }; export type GetCollectionQueryVariables = Exact<{ - id?: InputMaybe; - slug?: InputMaybe; - variantListOptions?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; + variantListOptions?: InputMaybe; }>; -export type GetCollectionQuery = { - collection?: { - id: string; - name: string; - slug: string; - description: string; - isPrivate: boolean; - languageCode?: LanguageCode | null; - productVariants: { items: Array<{ id: string; name: string; price: number }> }; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - filters: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - slug: string; - description: string; - }>; - parent?: { id: string; name: string } | null; - children?: Array<{ id: string; name: string; position: number }> | null; - } | null; -}; + +export type GetCollectionQuery = { collection?: { id: string, name: string, slug: string, description: string, isPrivate: boolean, languageCode?: LanguageCode | null, productVariants: { items: Array<{ id: string, name: string, price: number }> }, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, filters: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, slug: string, description: string }>, parent?: { id: string, name: string } | null, children?: Array<{ id: string, name: string, position: number }> | null } | null }; export type GetFacetWithValuesQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetFacetWithValuesQuery = { - facet?: { - id: string; - languageCode: LanguageCode; - isPrivate: boolean; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - values: Array<{ - id: string; - languageCode: LanguageCode; - code: string; - name: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - facet: { id: string; name: string }; - }>; - } | null; -}; + +export type GetFacetWithValuesQuery = { facet?: { id: string, languageCode: LanguageCode, isPrivate: boolean, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, values: Array<{ id: string, languageCode: LanguageCode, code: string, name: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, facet: { id: string, name: string } }> } | null }; export type GetPromotionQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetPromotionQuery = { - promotion?: { - id: string; - createdAt: any; - updatedAt: any; - couponCode?: string | null; - startsAt?: any | null; - endsAt?: any | null; - name: string; - description: string; - enabled: boolean; - perCustomerUsageLimit?: number | null; - usageLimit?: number | null; - conditions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - actions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string; description: string }>; - } | null; -}; + +export type GetPromotionQuery = { promotion?: { id: string, createdAt: any, updatedAt: any, couponCode?: string | null, startsAt?: any | null, endsAt?: any | null, name: string, description: string, enabled: boolean, perCustomerUsageLimit?: number | null, usageLimit?: number | null, conditions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, actions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> } | null }; export type CancelJobMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type CancelJobMutation = { - cancelJob: { id: string; state: JobState; isSettled: boolean; settledAt?: any | null }; -}; + +export type CancelJobMutation = { cancelJob: { id: string, state: JobState, isSettled: boolean, settledAt?: any | null } }; export type UpdateOptionGroupMutationVariables = Exact<{ - input: UpdateProductOptionGroupInput; + input: UpdateProductOptionGroupInput; }>; + export type UpdateOptionGroupMutation = { updateProductOptionGroup: { id: string } }; -export type GetFulfillmentHandlersQueryVariables = Exact<{ [key: string]: never }>; - -export type GetFulfillmentHandlersQuery = { - fulfillmentHandlers: Array<{ - code: string; - description: string; - args: Array<{ - name: string; - type: string; - description?: string | null; - label?: string | null; - ui?: any | null; - }>; - }>; -}; - -export type OrderWithModificationsFragment = { - id: string; - state: string; - subTotal: number; - subTotalWithTax: number; - shipping: number; - shippingWithTax: number; - total: number; - totalWithTax: number; - lines: Array<{ - id: string; - quantity: number; - orderPlacedQuantity: number; - linePrice: number; - linePriceWithTax: number; - unitPriceWithTax: number; - discountedLinePriceWithTax: number; - proratedLinePriceWithTax: number; - proratedUnitPriceWithTax: number; - discounts: Array<{ description: string; amountWithTax: number }>; - productVariant: { id: string; name: string }; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - taxRate: number; - }>; - payments?: Array<{ - id: string; - transactionId?: string | null; - state: string; - amount: number; - method: string; - metadata?: any | null; - refunds: Array<{ id: string; state: string; total: number; paymentId: string }>; - }> | null; - modifications: Array<{ - id: string; - note: string; - priceChange: number; - isSettled: boolean; - lines: Array<{ orderLineId: string; quantity: number }>; - surcharges?: Array<{ id: string }> | null; - payment?: { id: string; state: string; amount: number; method: string } | null; - refund?: { id: string; state: string; total: number; paymentId: string } | null; - }>; - promotions: Array<{ id: string; name: string; couponCode?: string | null }>; - discounts: Array<{ - description: string; - adjustmentSource: string; - amount: number; - amountWithTax: number; - }>; - shippingAddress?: { - streetLine1?: string | null; - city?: string | null; - postalCode?: string | null; - province?: string | null; - countryCode?: string | null; - country?: string | null; - } | null; - billingAddress?: { - streetLine1?: string | null; - city?: string | null; - postalCode?: string | null; - province?: string | null; - countryCode?: string | null; - country?: string | null; - } | null; - shippingLines: Array<{ - id: string; - discountedPriceWithTax: number; - shippingMethod: { id: string; name: string }; - }>; -}; +export type GetFulfillmentHandlersQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetFulfillmentHandlersQuery = { fulfillmentHandlers: Array<{ code: string, description: string, args: Array<{ name: string, type: string, description?: string | null, label?: string | null, ui?: any | null }> }> }; + +export type OrderWithModificationsFragment = { id: string, state: string, subTotal: number, subTotalWithTax: number, shipping: number, shippingWithTax: number, total: number, totalWithTax: number, lines: Array<{ id: string, quantity: number, orderPlacedQuantity: number, linePrice: number, linePriceWithTax: number, unitPriceWithTax: number, discountedLinePriceWithTax: number, proratedLinePriceWithTax: number, proratedUnitPriceWithTax: number, discounts: Array<{ description: string, amountWithTax: number }>, productVariant: { id: string, name: string } }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number, taxRate: number }>, payments?: Array<{ id: string, transactionId?: string | null, state: string, amount: number, method: string, metadata?: any | null, refunds: Array<{ id: string, state: string, total: number, paymentId: string }> }> | null, modifications: Array<{ id: string, note: string, priceChange: number, isSettled: boolean, lines: Array<{ orderLineId: string, quantity: number }>, surcharges?: Array<{ id: string }> | null, payment?: { id: string, state: string, amount: number, method: string } | null, refund?: { id: string, state: string, total: number, paymentId: string } | null }>, promotions: Array<{ id: string, name: string, couponCode?: string | null }>, discounts: Array<{ description: string, adjustmentSource: string, amount: number, amountWithTax: number }>, shippingAddress?: { streetLine1?: string | null, city?: string | null, postalCode?: string | null, province?: string | null, countryCode?: string | null, country?: string | null } | null, billingAddress?: { streetLine1?: string | null, city?: string | null, postalCode?: string | null, province?: string | null, countryCode?: string | null, country?: string | null } | null, shippingLines: Array<{ id: string, discountedPriceWithTax: number, shippingMethod: { id: string, name: string } }> }; export type GetOrderWithModificationsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOrderWithModificationsQuery = { - order?: { - id: string; - state: string; - subTotal: number; - subTotalWithTax: number; - shipping: number; - shippingWithTax: number; - total: number; - totalWithTax: number; - lines: Array<{ - id: string; - quantity: number; - orderPlacedQuantity: number; - linePrice: number; - linePriceWithTax: number; - unitPriceWithTax: number; - discountedLinePriceWithTax: number; - proratedLinePriceWithTax: number; - proratedUnitPriceWithTax: number; - discounts: Array<{ description: string; amountWithTax: number }>; - productVariant: { id: string; name: string }; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - taxRate: number; - }>; - payments?: Array<{ - id: string; - transactionId?: string | null; - state: string; - amount: number; - method: string; - metadata?: any | null; - refunds: Array<{ id: string; state: string; total: number; paymentId: string }>; - }> | null; - modifications: Array<{ - id: string; - note: string; - priceChange: number; - isSettled: boolean; - lines: Array<{ orderLineId: string; quantity: number }>; - surcharges?: Array<{ id: string }> | null; - payment?: { id: string; state: string; amount: number; method: string } | null; - refund?: { id: string; state: string; total: number; paymentId: string } | null; - }>; - promotions: Array<{ id: string; name: string; couponCode?: string | null }>; - discounts: Array<{ - description: string; - adjustmentSource: string; - amount: number; - amountWithTax: number; - }>; - shippingAddress?: { - streetLine1?: string | null; - city?: string | null; - postalCode?: string | null; - province?: string | null; - countryCode?: string | null; - country?: string | null; - } | null; - billingAddress?: { - streetLine1?: string | null; - city?: string | null; - postalCode?: string | null; - province?: string | null; - countryCode?: string | null; - country?: string | null; - } | null; - shippingLines: Array<{ - id: string; - discountedPriceWithTax: number; - shippingMethod: { id: string; name: string }; - }>; - } | null; -}; + +export type GetOrderWithModificationsQuery = { order?: { id: string, state: string, subTotal: number, subTotalWithTax: number, shipping: number, shippingWithTax: number, total: number, totalWithTax: number, lines: Array<{ id: string, quantity: number, orderPlacedQuantity: number, linePrice: number, linePriceWithTax: number, unitPriceWithTax: number, discountedLinePriceWithTax: number, proratedLinePriceWithTax: number, proratedUnitPriceWithTax: number, discounts: Array<{ description: string, amountWithTax: number }>, productVariant: { id: string, name: string } }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number, taxRate: number }>, payments?: Array<{ id: string, transactionId?: string | null, state: string, amount: number, method: string, metadata?: any | null, refunds: Array<{ id: string, state: string, total: number, paymentId: string }> }> | null, modifications: Array<{ id: string, note: string, priceChange: number, isSettled: boolean, lines: Array<{ orderLineId: string, quantity: number }>, surcharges?: Array<{ id: string }> | null, payment?: { id: string, state: string, amount: number, method: string } | null, refund?: { id: string, state: string, total: number, paymentId: string } | null }>, promotions: Array<{ id: string, name: string, couponCode?: string | null }>, discounts: Array<{ description: string, adjustmentSource: string, amount: number, amountWithTax: number }>, shippingAddress?: { streetLine1?: string | null, city?: string | null, postalCode?: string | null, province?: string | null, countryCode?: string | null, country?: string | null } | null, billingAddress?: { streetLine1?: string | null, city?: string | null, postalCode?: string | null, province?: string | null, countryCode?: string | null, country?: string | null } | null, shippingLines: Array<{ id: string, discountedPriceWithTax: number, shippingMethod: { id: string, name: string } }> } | null }; export type ModifyOrderMutationVariables = Exact<{ - input: ModifyOrderInput; + input: ModifyOrderInput; }>; -export type ModifyOrderMutation = { - modifyOrder: - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { - id: string; - state: string; - subTotal: number; - subTotalWithTax: number; - shipping: number; - shippingWithTax: number; - total: number; - totalWithTax: number; - lines: Array<{ - id: string; - quantity: number; - orderPlacedQuantity: number; - linePrice: number; - linePriceWithTax: number; - unitPriceWithTax: number; - discountedLinePriceWithTax: number; - proratedLinePriceWithTax: number; - proratedUnitPriceWithTax: number; - discounts: Array<{ description: string; amountWithTax: number }>; - productVariant: { id: string; name: string }; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - taxRate: number; - }>; - payments?: Array<{ - id: string; - transactionId?: string | null; - state: string; - amount: number; - method: string; - metadata?: any | null; - refunds: Array<{ id: string; state: string; total: number; paymentId: string }>; - }> | null; - modifications: Array<{ - id: string; - note: string; - priceChange: number; - isSettled: boolean; - lines: Array<{ orderLineId: string; quantity: number }>; - surcharges?: Array<{ id: string }> | null; - payment?: { id: string; state: string; amount: number; method: string } | null; - refund?: { id: string; state: string; total: number; paymentId: string } | null; - }>; - promotions: Array<{ id: string; name: string; couponCode?: string | null }>; - discounts: Array<{ - description: string; - adjustmentSource: string; - amount: number; - amountWithTax: number; - }>; - shippingAddress?: { - streetLine1?: string | null; - city?: string | null; - postalCode?: string | null; - province?: string | null; - countryCode?: string | null; - country?: string | null; - } | null; - billingAddress?: { - streetLine1?: string | null; - city?: string | null; - postalCode?: string | null; - province?: string | null; - countryCode?: string | null; - country?: string | null; - } | null; - shippingLines: Array<{ - id: string; - discountedPriceWithTax: number; - shippingMethod: { id: string; name: string }; - }>; - } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string }; -}; + +export type ModifyOrderMutation = { modifyOrder: { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { id: string, state: string, subTotal: number, subTotalWithTax: number, shipping: number, shippingWithTax: number, total: number, totalWithTax: number, lines: Array<{ id: string, quantity: number, orderPlacedQuantity: number, linePrice: number, linePriceWithTax: number, unitPriceWithTax: number, discountedLinePriceWithTax: number, proratedLinePriceWithTax: number, proratedUnitPriceWithTax: number, discounts: Array<{ description: string, amountWithTax: number }>, productVariant: { id: string, name: string } }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number, taxRate: number }>, payments?: Array<{ id: string, transactionId?: string | null, state: string, amount: number, method: string, metadata?: any | null, refunds: Array<{ id: string, state: string, total: number, paymentId: string }> }> | null, modifications: Array<{ id: string, note: string, priceChange: number, isSettled: boolean, lines: Array<{ orderLineId: string, quantity: number }>, surcharges?: Array<{ id: string }> | null, payment?: { id: string, state: string, amount: number, method: string } | null, refund?: { id: string, state: string, total: number, paymentId: string } | null }>, promotions: Array<{ id: string, name: string, couponCode?: string | null }>, discounts: Array<{ description: string, adjustmentSource: string, amount: number, amountWithTax: number }>, shippingAddress?: { streetLine1?: string | null, city?: string | null, postalCode?: string | null, province?: string | null, countryCode?: string | null, country?: string | null } | null, billingAddress?: { streetLine1?: string | null, city?: string | null, postalCode?: string | null, province?: string | null, countryCode?: string | null, country?: string | null } | null, shippingLines: Array<{ id: string, discountedPriceWithTax: number, shippingMethod: { id: string, name: string } }> } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } }; export type AddManualPaymentMutationVariables = Exact<{ - input: ManualPaymentInput; + input: ManualPaymentInput; }>; -export type AddManualPaymentMutation = { - addManualPaymentToOrder: - | { errorCode: ErrorCode; message: string } - | { - id: string; - state: string; - subTotal: number; - subTotalWithTax: number; - shipping: number; - shippingWithTax: number; - total: number; - totalWithTax: number; - lines: Array<{ - id: string; - quantity: number; - orderPlacedQuantity: number; - linePrice: number; - linePriceWithTax: number; - unitPriceWithTax: number; - discountedLinePriceWithTax: number; - proratedLinePriceWithTax: number; - proratedUnitPriceWithTax: number; - discounts: Array<{ description: string; amountWithTax: number }>; - productVariant: { id: string; name: string }; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - taxRate: number; - }>; - payments?: Array<{ - id: string; - transactionId?: string | null; - state: string; - amount: number; - method: string; - metadata?: any | null; - refunds: Array<{ id: string; state: string; total: number; paymentId: string }>; - }> | null; - modifications: Array<{ - id: string; - note: string; - priceChange: number; - isSettled: boolean; - lines: Array<{ orderLineId: string; quantity: number }>; - surcharges?: Array<{ id: string }> | null; - payment?: { id: string; state: string; amount: number; method: string } | null; - refund?: { id: string; state: string; total: number; paymentId: string } | null; - }>; - promotions: Array<{ id: string; name: string; couponCode?: string | null }>; - discounts: Array<{ - description: string; - adjustmentSource: string; - amount: number; - amountWithTax: number; - }>; - shippingAddress?: { - streetLine1?: string | null; - city?: string | null; - postalCode?: string | null; - province?: string | null; - countryCode?: string | null; - country?: string | null; - } | null; - billingAddress?: { - streetLine1?: string | null; - city?: string | null; - postalCode?: string | null; - province?: string | null; - countryCode?: string | null; - country?: string | null; - } | null; - shippingLines: Array<{ - id: string; - discountedPriceWithTax: number; - shippingMethod: { id: string; name: string }; - }>; - }; -}; - -export type DeletePromotionAdHoc1MutationVariables = Exact<{ [key: string]: never }>; + +export type AddManualPaymentMutation = { addManualPaymentToOrder: { errorCode: ErrorCode, message: string } | { id: string, state: string, subTotal: number, subTotalWithTax: number, shipping: number, shippingWithTax: number, total: number, totalWithTax: number, lines: Array<{ id: string, quantity: number, orderPlacedQuantity: number, linePrice: number, linePriceWithTax: number, unitPriceWithTax: number, discountedLinePriceWithTax: number, proratedLinePriceWithTax: number, proratedUnitPriceWithTax: number, discounts: Array<{ description: string, amountWithTax: number }>, productVariant: { id: string, name: string } }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number, taxRate: number }>, payments?: Array<{ id: string, transactionId?: string | null, state: string, amount: number, method: string, metadata?: any | null, refunds: Array<{ id: string, state: string, total: number, paymentId: string }> }> | null, modifications: Array<{ id: string, note: string, priceChange: number, isSettled: boolean, lines: Array<{ orderLineId: string, quantity: number }>, surcharges?: Array<{ id: string }> | null, payment?: { id: string, state: string, amount: number, method: string } | null, refund?: { id: string, state: string, total: number, paymentId: string } | null }>, promotions: Array<{ id: string, name: string, couponCode?: string | null }>, discounts: Array<{ description: string, adjustmentSource: string, amount: number, amountWithTax: number }>, shippingAddress?: { streetLine1?: string | null, city?: string | null, postalCode?: string | null, province?: string | null, countryCode?: string | null, country?: string | null } | null, billingAddress?: { streetLine1?: string | null, city?: string | null, postalCode?: string | null, province?: string | null, countryCode?: string | null, country?: string | null } | null, shippingLines: Array<{ id: string, discountedPriceWithTax: number, shippingMethod: { id: string, name: string } }> } }; + +export type DeletePromotionAdHoc1MutationVariables = Exact<{ [key: string]: never; }>; + export type DeletePromotionAdHoc1Mutation = { deletePromotion: { result: DeletionResult } }; export type GetTaxRateListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetTaxRateListQuery = { - taxRates: { - totalItems: number; - items: Array<{ - id: string; - name: string; - enabled: boolean; - value: number; - category: { id: string; name: string }; - zone: { id: string; name: string }; - }>; - }; -}; + +export type GetTaxRateListQuery = { taxRates: { totalItems: number, items: Array<{ id: string, name: string, enabled: boolean, value: number, category: { id: string, name: string }, zone: { id: string, name: string } }> } }; export type GetOrderWithLineCalculatedPropsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOrderWithLineCalculatedPropsQuery = { - order?: { id: string; lines: Array<{ id: string; linePriceWithTax: number; quantity: number }> } | null; -}; -export type GetOrderListFulfillmentsQueryVariables = Exact<{ [key: string]: never }>; +export type GetOrderWithLineCalculatedPropsQuery = { order?: { id: string, lines: Array<{ id: string, linePriceWithTax: number, quantity: number }> } | null }; -export type GetOrderListFulfillmentsQuery = { - orders: { - items: Array<{ - id: string; - state: string; - fulfillments?: Array<{ - id: string; - state: string; - nextStates: Array; - method: string; - }> | null; - }>; - }; -}; +export type GetOrderListFulfillmentsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetOrderListFulfillmentsQuery = { orders: { items: Array<{ id: string, state: string, fulfillments?: Array<{ id: string, state: string, nextStates: Array, method: string }> | null }> } }; export type GetOrderFulfillmentItemsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOrderFulfillmentItemsQuery = { - order?: { - id: string; - state: string; - fulfillments?: Array<{ - id: string; - state: string; - nextStates: Array; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - } | null; -}; - -export type RefundFragment = { - id: string; - state: string; - items: number; - transactionId?: string | null; - shipping: number; - total: number; - metadata?: any | null; -}; + +export type GetOrderFulfillmentItemsQuery = { order?: { id: string, state: string, fulfillments?: Array<{ id: string, state: string, nextStates: Array, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } | null }; + +export type RefundFragment = { id: string, state: string, items: number, transactionId?: string | null, shipping: number, total: number, metadata?: any | null }; export type RefundOrderMutationVariables = Exact<{ - input: RefundOrderInput; + input: RefundOrderInput; }>; -export type RefundOrderMutation = { - refundOrder: - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { - id: string; - state: string; - items: number; - transactionId?: string | null; - shipping: number; - total: number; - metadata?: any | null; - } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string }; -}; + +export type RefundOrderMutation = { refundOrder: { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { id: string, state: string, items: number, transactionId?: string | null, shipping: number, total: number, metadata?: any | null } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } }; export type SettleRefundMutationVariables = Exact<{ - input: SettleRefundInput; + input: SettleRefundInput; }>; -export type SettleRefundMutation = { - settleRefund: - | { - id: string; - state: string; - items: number; - transactionId?: string | null; - shipping: number; - total: number; - metadata?: any | null; - } - | { errorCode: ErrorCode; message: string }; -}; + +export type SettleRefundMutation = { settleRefund: { id: string, state: string, items: number, transactionId?: string | null, shipping: number, total: number, metadata?: any | null } | { errorCode: ErrorCode, message: string } }; export type AddNoteToOrderMutationVariables = Exact<{ - input: AddNoteToOrderInput; + input: AddNoteToOrderInput; }>; + export type AddNoteToOrderMutation = { addNoteToOrder: { id: string } }; export type UpdateOrderNoteMutationVariables = Exact<{ - input: UpdateOrderNoteInput; + input: UpdateOrderNoteInput; }>; -export type UpdateOrderNoteMutation = { updateOrderNote: { id: string; data: any; isPublic: boolean } }; + +export type UpdateOrderNoteMutation = { updateOrderNote: { id: string, data: any, isPublic: boolean } }; export type DeleteOrderNoteMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteOrderNoteMutation = { - deleteOrderNote: { result: DeletionResult; message?: string | null }; -}; + +export type DeleteOrderNoteMutation = { deleteOrderNote: { result: DeletionResult, message?: string | null } }; export type GetOrderWithPaymentsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOrderWithPaymentsQuery = { - order?: { - id: string; - payments?: Array<{ - id: string; - errorMessage?: string | null; - metadata?: any | null; - refunds: Array<{ id: string; total: number }>; - }> | null; - } | null; -}; + +export type GetOrderWithPaymentsQuery = { order?: { id: string, payments?: Array<{ id: string, errorMessage?: string | null, metadata?: any | null, refunds: Array<{ id: string, total: number }> }> | null } | null }; export type GetOrderLineFulfillmentsQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOrderLineFulfillmentsQuery = { - order?: { - id: string; - lines: Array<{ - id: string; - fulfillmentLines?: Array<{ - orderLineId: string; - quantity: number; - fulfillment: { id: string; state: string }; - }> | null; - }>; - } | null; -}; + +export type GetOrderLineFulfillmentsQuery = { order?: { id: string, lines: Array<{ id: string, fulfillmentLines?: Array<{ orderLineId: string, quantity: number, fulfillment: { id: string, state: string } }> | null }> } | null }; export type GetOrderListWithQtyQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetOrderListWithQtyQuery = { - orders: { - items: Array<{ - id: string; - code: string; - totalQuantity: number; - lines: Array<{ id: string; quantity: number }>; - }>; - }; -}; + +export type GetOrderListWithQtyQuery = { orders: { items: Array<{ id: string, code: string, totalQuantity: number, lines: Array<{ id: string, quantity: number }> }> } }; export type CancelPaymentMutationVariables = Exact<{ - paymentId: Scalars['ID']['input']; + paymentId: Scalars['ID']['input']; }>; -export type CancelPaymentMutation = { - cancelPayment: - | { errorCode: ErrorCode; message: string; paymentErrorMessage: string } - | { - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - } - | { errorCode: ErrorCode; message: string; transitionError: string }; -}; + +export type CancelPaymentMutation = { cancelPayment: { errorCode: ErrorCode, message: string, paymentErrorMessage: string } | { id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> } | { errorCode: ErrorCode, message: string, transitionError: string } }; export type SetOrderCustomerMutationVariables = Exact<{ - input: SetOrderCustomerInput; + input: SetOrderCustomerInput; }>; -export type SetOrderCustomerMutation = { - setOrderCustomer?: { id: string; customer?: { id: string } | null } | null; -}; -export type PaymentMethodFragment = { - id: string; - code: string; - name: string; - description: string; - enabled: boolean; - checker?: { code: string; args: Array<{ name: string; value: string }> } | null; - handler: { code: string; args: Array<{ name: string; value: string }> }; - translations: Array<{ id: string; languageCode: LanguageCode; name: string; description: string }>; -}; +export type SetOrderCustomerMutation = { setOrderCustomer?: { id: string, customer?: { id: string } | null } | null }; + +export type PaymentMethodFragment = { id: string, code: string, name: string, description: string, enabled: boolean, checker?: { code: string, args: Array<{ name: string, value: string }> } | null, handler: { code: string, args: Array<{ name: string, value: string }> }, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> }; export type CreatePaymentMethodMutationVariables = Exact<{ - input: CreatePaymentMethodInput; + input: CreatePaymentMethodInput; }>; -export type CreatePaymentMethodMutation = { - createPaymentMethod: { - id: string; - code: string; - name: string; - description: string; - enabled: boolean; - checker?: { code: string; args: Array<{ name: string; value: string }> } | null; - handler: { code: string; args: Array<{ name: string; value: string }> }; - translations: Array<{ id: string; languageCode: LanguageCode; name: string; description: string }>; - }; -}; + +export type CreatePaymentMethodMutation = { createPaymentMethod: { id: string, code: string, name: string, description: string, enabled: boolean, checker?: { code: string, args: Array<{ name: string, value: string }> } | null, handler: { code: string, args: Array<{ name: string, value: string }> }, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> } }; export type UpdatePaymentMethodMutationVariables = Exact<{ - input: UpdatePaymentMethodInput; + input: UpdatePaymentMethodInput; }>; -export type UpdatePaymentMethodMutation = { - updatePaymentMethod: { - id: string; - code: string; - name: string; - description: string; - enabled: boolean; - checker?: { code: string; args: Array<{ name: string; value: string }> } | null; - handler: { code: string; args: Array<{ name: string; value: string }> }; - translations: Array<{ id: string; languageCode: LanguageCode; name: string; description: string }>; - }; -}; -export type GetPaymentMethodHandlersQueryVariables = Exact<{ [key: string]: never }>; +export type UpdatePaymentMethodMutation = { updatePaymentMethod: { id: string, code: string, name: string, description: string, enabled: boolean, checker?: { code: string, args: Array<{ name: string, value: string }> } | null, handler: { code: string, args: Array<{ name: string, value: string }> }, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> } }; -export type GetPaymentMethodHandlersQuery = { - paymentMethodHandlers: Array<{ code: string; args: Array<{ name: string; type: string }> }>; -}; +export type GetPaymentMethodHandlersQueryVariables = Exact<{ [key: string]: never; }>; -export type GetPaymentMethodCheckersQueryVariables = Exact<{ [key: string]: never }>; -export type GetPaymentMethodCheckersQuery = { - paymentMethodEligibilityCheckers: Array<{ code: string; args: Array<{ name: string; type: string }> }>; -}; +export type GetPaymentMethodHandlersQuery = { paymentMethodHandlers: Array<{ code: string, args: Array<{ name: string, type: string }> }> }; + +export type GetPaymentMethodCheckersQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetPaymentMethodCheckersQuery = { paymentMethodEligibilityCheckers: Array<{ code: string, args: Array<{ name: string, type: string }> }> }; export type GetPaymentMethodQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetPaymentMethodQuery = { - paymentMethod?: { - id: string; - code: string; - name: string; - description: string; - enabled: boolean; - checker?: { code: string; args: Array<{ name: string; value: string }> } | null; - handler: { code: string; args: Array<{ name: string; value: string }> }; - translations: Array<{ id: string; languageCode: LanguageCode; name: string; description: string }>; - } | null; -}; + +export type GetPaymentMethodQuery = { paymentMethod?: { id: string, code: string, name: string, description: string, enabled: boolean, checker?: { code: string, args: Array<{ name: string, value: string }> } | null, handler: { code: string, args: Array<{ name: string, value: string }> }, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> } | null }; export type GetPaymentMethodListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetPaymentMethodListQuery = { - paymentMethods: { - totalItems: number; - items: Array<{ - id: string; - code: string; - name: string; - description: string; - enabled: boolean; - checker?: { code: string; args: Array<{ name: string; value: string }> } | null; - handler: { code: string; args: Array<{ name: string; value: string }> }; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - description: string; - }>; - }>; - }; -}; + +export type GetPaymentMethodListQuery = { paymentMethods: { totalItems: number, items: Array<{ id: string, code: string, name: string, description: string, enabled: boolean, checker?: { code: string, args: Array<{ name: string, value: string }> } | null, handler: { code: string, args: Array<{ name: string, value: string }> }, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> }> } }; export type DeletePaymentMethodMutationVariables = Exact<{ - id: Scalars['ID']['input']; - force?: InputMaybe; + id: Scalars['ID']['input']; + force?: InputMaybe; }>; -export type DeletePaymentMethodMutation = { - deletePaymentMethod: { message?: string | null; result: DeletionResult }; -}; + +export type DeletePaymentMethodMutation = { deletePaymentMethod: { message?: string | null, result: DeletionResult } }; export type AddManualPayment2MutationVariables = Exact<{ - input: ManualPaymentInput; + input: ManualPaymentInput; }>; -export type AddManualPayment2Mutation = { - addManualPaymentToOrder: - | { errorCode: ErrorCode; message: string } - | { - id: string; - createdAt: any; - updatedAt: any; - code: string; - state: string; - active: boolean; - subTotal: number; - subTotalWithTax: number; - total: number; - totalWithTax: number; - totalQuantity: number; - currencyCode: CurrencyCode; - shipping: number; - shippingWithTax: number; - customer?: { id: string; firstName: string; lastName: string } | null; - lines: Array<{ - id: string; - unitPrice: number; - unitPriceWithTax: number; - quantity: number; - taxRate: number; - linePriceWithTax: number; - featuredAsset?: { preview: string } | null; - productVariant: { id: string; name: string; sku: string }; - taxLines: Array<{ description: string; taxRate: number }>; - }>; - surcharges: Array<{ - id: string; - description: string; - sku?: string | null; - price: number; - priceWithTax: number; - }>; - shippingLines: Array<{ - priceWithTax: number; - shippingMethod: { id: string; code: string; name: string; description: string }; - }>; - shippingAddress?: { - fullName?: string | null; - company?: string | null; - streetLine1?: string | null; - streetLine2?: string | null; - city?: string | null; - province?: string | null; - postalCode?: string | null; - country?: string | null; - phoneNumber?: string | null; - } | null; - payments?: Array<{ - id: string; - transactionId?: string | null; - amount: number; - method: string; - state: string; - nextStates: Array; - metadata?: any | null; - refunds: Array<{ id: string; total: number; reason?: string | null }>; - }> | null; - fulfillments?: Array<{ - id: string; - state: string; - method: string; - trackingCode?: string | null; - lines: Array<{ orderLineId: string; quantity: number }>; - }> | null; - }; -}; + +export type AddManualPayment2Mutation = { addManualPaymentToOrder: { errorCode: ErrorCode, message: string } | { id: string, createdAt: any, updatedAt: any, code: string, state: string, active: boolean, subTotal: number, subTotalWithTax: number, total: number, totalWithTax: number, totalQuantity: number, currencyCode: CurrencyCode, shipping: number, shippingWithTax: number, customer?: { id: string, firstName: string, lastName: string } | null, lines: Array<{ id: string, unitPrice: number, unitPriceWithTax: number, quantity: number, taxRate: number, linePriceWithTax: number, featuredAsset?: { preview: string } | null, productVariant: { id: string, name: string, sku: string }, taxLines: Array<{ description: string, taxRate: number }> }>, surcharges: Array<{ id: string, description: string, sku?: string | null, price: number, priceWithTax: number }>, shippingLines: Array<{ priceWithTax: number, shippingMethod: { id: string, code: string, name: string, description: string } }>, shippingAddress?: { fullName?: string | null, company?: string | null, streetLine1?: string | null, streetLine2?: string | null, city?: string | null, province?: string | null, postalCode?: string | null, country?: string | null, phoneNumber?: string | null } | null, payments?: Array<{ id: string, transactionId?: string | null, amount: number, method: string, state: string, nextStates: Array, metadata?: any | null, refunds: Array<{ id: string, total: number, reason?: string | null }> }> | null, fulfillments?: Array<{ id: string, state: string, method: string, trackingCode?: string | null, lines: Array<{ orderLineId: string, quantity: number }> }> | null } }; export type GetProductOptionGroupQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetProductOptionGroupQuery = { - productOptionGroup?: { - id: string; - code: string; - name: string; - options: Array<{ id: string; code: string; name: string }>; - } | null; -}; + +export type GetProductOptionGroupQuery = { productOptionGroup?: { id: string, code: string, name: string, options: Array<{ id: string, code: string, name: string }> } | null }; export type UpdateProductOptionGroupMutationVariables = Exact<{ - input: UpdateProductOptionGroupInput; + input: UpdateProductOptionGroupInput; }>; -export type UpdateProductOptionGroupMutation = { - updateProductOptionGroup: { - id: string; - code: string; - name: string; - options: Array<{ id: string; code: string; name: string }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - }; -}; + +export type UpdateProductOptionGroupMutation = { updateProductOptionGroup: { id: string, code: string, name: string, options: Array<{ id: string, code: string, name: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } }; export type CreateProductOptionMutationVariables = Exact<{ - input: CreateProductOptionInput; + input: CreateProductOptionInput; }>; -export type CreateProductOptionMutation = { - createProductOption: { - id: string; - code: string; - name: string; - groupId: string; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - }; -}; + +export type CreateProductOptionMutation = { createProductOption: { id: string, code: string, name: string, groupId: string, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } }; export type UpdateProductOptionMutationVariables = Exact<{ - input: UpdateProductOptionInput; + input: UpdateProductOptionInput; }>; -export type UpdateProductOptionMutation = { - updateProductOption: { id: string; code: string; name: string; groupId: string }; -}; + +export type UpdateProductOptionMutation = { updateProductOption: { id: string, code: string, name: string, groupId: string } }; export type DeleteProductOptionMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteProductOptionMutation = { - deleteProductOption: { result: DeletionResult; message?: string | null }; -}; + +export type DeleteProductOptionMutation = { deleteProductOption: { result: DeletionResult, message?: string | null } }; 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: - | { - id: string; - optionGroups: Array<{ id: string; code: string; options: Array<{ id: string; code: string }> }>; - } - | { errorCode: ErrorCode; message: string; optionGroupCode: string; productVariantCount: number }; -}; + +export type RemoveOptionGroupFromProductMutation = { removeOptionGroupFromProduct: { id: string, optionGroups: Array<{ id: string, code: string, options: Array<{ id: string, code: string }> }> } | { errorCode: ErrorCode, message: string, optionGroupCode: string, productVariantCount: number } }; export type GetOptionGroupQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetOptionGroupQuery = { - productOptionGroup?: { id: string; code: string; options: Array<{ id: string; code: string }> } | null; -}; + +export type GetOptionGroupQuery = { productOptionGroup?: { id: string, code: string, options: Array<{ id: string, code: string }> } | null }; export type GetProductVariantQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetProductVariantQuery = { productVariant?: { id: string; name: string } | null }; + +export type GetProductVariantQuery = { productVariant?: { id: string, name: string } | null }; export type GetProductWithVariantListQueryVariables = Exact<{ - id?: InputMaybe; - variantListOptions?: InputMaybe; + id?: InputMaybe; + variantListOptions?: InputMaybe; }>; -export type GetProductWithVariantListQuery = { - product?: { - id: string; - variantList: { - totalItems: number; - items: Array<{ - id: string; - createdAt: any; - updatedAt: any; - enabled: boolean; - languageCode: LanguageCode; - name: string; - currencyCode: CurrencyCode; - price: number; - priceWithTax: number; - stockOnHand: number; - trackInventory: GlobalFlag; - sku: string; - prices: Array<{ currencyCode: CurrencyCode; price: number }>; - taxRateApplied: { id: string; name: string; value: number }; - taxCategory: { id: string; name: string }; - options: Array<{ - id: string; - code: string; - languageCode: LanguageCode; - groupId: string; - name: string; - }>; - facetValues: Array<{ - id: string; - code: string; - name: string; - facet: { id: string; name: string }; - }>; - featuredAsset?: { - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - } | null; - assets: Array<{ - id: string; - name: string; - fileSize: number; - mimeType: string; - type: AssetType; - preview: string; - source: string; - }>; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - channels: Array<{ id: string; code: string }>; - }>; - }; - } | null; -}; + +export type GetProductWithVariantListQuery = { product?: { id: string, variantList: { totalItems: number, items: Array<{ id: string, createdAt: any, updatedAt: any, enabled: boolean, languageCode: LanguageCode, name: string, currencyCode: CurrencyCode, price: number, priceWithTax: number, stockOnHand: number, trackInventory: GlobalFlag, sku: string, prices: Array<{ currencyCode: CurrencyCode, price: number }>, taxRateApplied: { id: string, name: string, value: number }, taxCategory: { id: string, name: string }, options: Array<{ id: string, code: string, languageCode: LanguageCode, groupId: string, name: string }>, facetValues: Array<{ id: string, code: string, name: string, facet: { id: string, name: string } }>, featuredAsset?: { id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string } | null, assets: Array<{ id: string, name: string, fileSize: number, mimeType: string, type: AssetType, preview: string, source: string }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string }>, channels: Array<{ id: string, code: string }> }> } } | null }; export type GetPromotionListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetPromotionListQuery = { - promotions: { - totalItems: number; - items: Array<{ - id: string; - createdAt: any; - updatedAt: any; - couponCode?: string | null; - startsAt?: any | null; - endsAt?: any | null; - name: string; - description: string; - enabled: boolean; - perCustomerUsageLimit?: number | null; - usageLimit?: number | null; - conditions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - actions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - description: string; - }>; - }>; - }; -}; + +export type GetPromotionListQuery = { promotions: { totalItems: number, items: Array<{ id: string, createdAt: any, updatedAt: any, couponCode?: string | null, startsAt?: any | null, endsAt?: any | null, name: string, description: string, enabled: boolean, perCustomerUsageLimit?: number | null, usageLimit?: number | null, conditions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, actions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> }> } }; export type UpdatePromotionMutationVariables = Exact<{ - input: UpdatePromotionInput; + input: UpdatePromotionInput; }>; -export type UpdatePromotionMutation = { - updatePromotion: - | { errorCode: ErrorCode; message: string } - | { - id: string; - createdAt: any; - updatedAt: any; - couponCode?: string | null; - startsAt?: any | null; - endsAt?: any | null; - name: string; - description: string; - enabled: boolean; - perCustomerUsageLimit?: number | null; - usageLimit?: number | null; - conditions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - actions: Array<{ code: string; args: Array<{ name: string; value: string }> }>; - translations: Array<{ - id: string; - languageCode: LanguageCode; - name: string; - description: string; - }>; - }; -}; - -export type ConfigurableOperationDefFragment = { - code: string; - description: string; - args: Array<{ name: string; type: string; ui?: any | null }>; -}; - -export type GetAdjustmentOperationsQueryVariables = Exact<{ [key: string]: never }>; - -export type GetAdjustmentOperationsQuery = { - promotionActions: Array<{ - code: string; - description: string; - args: Array<{ name: string; type: string; ui?: any | null }>; - }>; - promotionConditions: Array<{ - code: string; - description: string; - args: Array<{ name: string; type: string; ui?: any | null }>; - }>; -}; + +export type UpdatePromotionMutation = { updatePromotion: { errorCode: ErrorCode, message: string } | { id: string, createdAt: any, updatedAt: any, couponCode?: string | null, startsAt?: any | null, endsAt?: any | null, name: string, description: string, enabled: boolean, perCustomerUsageLimit?: number | null, usageLimit?: number | null, conditions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, actions: Array<{ code: string, args: Array<{ name: string, value: string }> }>, translations: Array<{ id: string, languageCode: LanguageCode, name: string, description: string }> } }; + +export type ConfigurableOperationDefFragment = { code: string, description: string, args: Array<{ name: string, type: string, ui?: any | null }> }; + +export type GetAdjustmentOperationsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetAdjustmentOperationsQuery = { promotionActions: Array<{ code: string, description: string, args: Array<{ name: string, type: string, ui?: any | null }> }>, promotionConditions: Array<{ code: string, description: string, args: Array<{ name: string, type: string, ui?: any | null }> }> }; export type GetRolesQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetRolesQuery = { - roles: { - totalItems: number; - items: Array<{ - id: string; - code: string; - description: string; - permissions: Array; - channels: Array<{ id: string; code: string; token: string }>; - }>; - }; -}; + +export type GetRolesQuery = { roles: { totalItems: number, items: Array<{ id: string, code: string, description: string, permissions: Array, channels: Array<{ id: string, code: string, token: string }> }> } }; export type GetRoleQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetRoleQuery = { - role?: { - id: string; - code: string; - description: string; - permissions: Array; - channels: Array<{ id: string; code: string; token: string }>; - } | null; -}; + +export type GetRoleQuery = { role?: { id: string, code: string, description: string, permissions: Array, channels: Array<{ id: string, code: string, token: string }> } | null }; export type DeleteRoleMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteRoleMutation = { deleteRole: { result: DeletionResult; message?: string | null } }; -export type LogoutMutationVariables = Exact<{ [key: string]: never }>; +export type DeleteRoleMutation = { deleteRole: { result: DeletionResult, message?: string | null } }; + +export type LogoutMutationVariables = Exact<{ [key: string]: never; }>; + export type LogoutMutation = { logout: { success: boolean } }; export type GetShippingMethodQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetShippingMethodQuery = { - shippingMethod?: { - id: string; - code: string; - name: string; - description: string; - calculator: { code: string; args: Array<{ name: string; value: string }> }; - checker: { code: string; args: Array<{ name: string; value: string }> }; - } | null; -}; - -export type GetEligibilityCheckersQueryVariables = Exact<{ [key: string]: never }>; - -export type GetEligibilityCheckersQuery = { - shippingEligibilityCheckers: Array<{ - code: string; - description: string; - args: Array<{ - name: string; - type: string; - description?: string | null; - label?: string | null; - ui?: any | null; - }>; - }>; -}; - -export type GetCalculatorsQueryVariables = Exact<{ [key: string]: never }>; - -export type GetCalculatorsQuery = { - shippingCalculators: Array<{ - code: string; - description: string; - args: Array<{ - name: string; - type: string; - description?: string | null; - label?: string | null; - ui?: any | null; - }>; - }>; -}; + +export type GetShippingMethodQuery = { shippingMethod?: { id: string, code: string, name: string, description: string, calculator: { code: string, args: Array<{ name: string, value: string }> }, checker: { code: string, args: Array<{ name: string, value: string }> } } | null }; + +export type GetEligibilityCheckersQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetEligibilityCheckersQuery = { shippingEligibilityCheckers: Array<{ code: string, description: string, args: Array<{ name: string, type: string, description?: string | null, label?: string | null, ui?: any | null }> }> }; + +export type GetCalculatorsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetCalculatorsQuery = { shippingCalculators: Array<{ code: string, description: string, args: Array<{ name: string, type: string, description?: string | null, label?: string | null, ui?: any | null }> }> }; export type TestShippingMethodQueryVariables = Exact<{ - input: TestShippingMethodInput; + input: TestShippingMethodInput; }>; -export type TestShippingMethodQuery = { - testShippingMethod: { - eligible: boolean; - quote?: { price: number; priceWithTax: number; metadata?: any | null } | null; - }; -}; + +export type TestShippingMethodQuery = { testShippingMethod: { eligible: boolean, quote?: { price: number, priceWithTax: number, metadata?: any | null } | null } }; export type TestEligibleMethodsQueryVariables = Exact<{ - input: TestEligibleShippingMethodsInput; + input: TestEligibleShippingMethodsInput; }>; -export type TestEligibleMethodsQuery = { - testEligibleShippingMethods: Array<{ - id: string; - name: string; - description: string; - price: number; - priceWithTax: number; - metadata?: any | null; - }>; -}; -export type GetMeQueryVariables = Exact<{ [key: string]: never }>; +export type TestEligibleMethodsQuery = { testEligibleShippingMethods: Array<{ id: string, name: string, description: string, price: number, priceWithTax: number, metadata?: any | null }> }; + +export type GetMeQueryVariables = Exact<{ [key: string]: never; }>; + export type GetMeQuery = { me?: { identifier: string } | null }; -export type GetProductsTake3QueryVariables = Exact<{ [key: string]: never }>; +export type GetProductsTake3QueryVariables = Exact<{ [key: string]: never; }>; + export type GetProductsTake3Query = { products: { items: Array<{ id: string }> } }; -export type GetProduct1QueryVariables = Exact<{ [key: string]: never }>; +export type GetProduct1QueryVariables = Exact<{ [key: string]: never; }>; + export type GetProduct1Query = { product?: { id: string } | null }; -export type GetProduct2VariantsQueryVariables = Exact<{ [key: string]: never }>; +export type GetProduct2VariantsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetProduct2VariantsQuery = { - product?: { id: string; variants: Array<{ id: string; name: string }> } | null; -}; -export type GetProductCollectionQueryVariables = Exact<{ [key: string]: never }>; +export type GetProduct2VariantsQuery = { product?: { id: string, variants: Array<{ id: string, name: string }> } | null }; -export type GetProductCollectionQuery = { - product?: { collections: Array<{ id: string; name: string }> } | null; -}; +export type GetProductCollectionQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetProductCollectionQuery = { product?: { collections: Array<{ id: string, name: string }> } | null }; export type GetCollectionShopQueryVariables = Exact<{ - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }>; -export type GetCollectionShopQuery = { - collection?: { - id: string; - name: string; - slug: string; - description: string; - parent?: { id: string; name: string } | null; - children?: Array<{ id: string; name: string }> | null; - } | null; -}; + +export type GetCollectionShopQuery = { collection?: { id: string, name: string, slug: string, description: string, parent?: { id: string, name: string } | null, children?: Array<{ id: string, name: string }> | null } | null }; export type DisableProductMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; + export type DisableProductMutation = { updateProduct: { id: string } }; export type GetCollectionVariantsQueryVariables = Exact<{ - id?: InputMaybe; - slug?: InputMaybe; + id?: InputMaybe; + slug?: InputMaybe; }>; -export type GetCollectionVariantsQuery = { - collection?: { id: string; productVariants: { items: Array<{ id: string; name: string }> } } | null; -}; -export type GetCollectionListQueryVariables = Exact<{ [key: string]: never }>; +export type GetCollectionVariantsQuery = { collection?: { id: string, productVariants: { items: Array<{ id: string, name: string }> } } | null }; + +export type GetCollectionListQueryVariables = Exact<{ [key: string]: never; }>; + -export type GetCollectionListQuery = { collections: { items: Array<{ id: string; name: string }> } }; +export type GetCollectionListQuery = { collections: { items: Array<{ id: string, name: string }> } }; export type GetProductFacetValuesQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetProductFacetValuesQuery = { - product?: { id: string; name: string; facetValues: Array<{ name: string }> } | null; -}; + +export type GetProductFacetValuesQuery = { product?: { id: string, name: string, facetValues: Array<{ name: string }> } | null }; export type GetVariantFacetValuesQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetVariantFacetValuesQuery = { - product?: { - id: string; - name: string; - variants: Array<{ id: string; facetValues: Array<{ name: string }> }>; - } | null; -}; -export type GetCustomerIdsQueryVariables = Exact<{ [key: string]: never }>; +export type GetVariantFacetValuesQuery = { product?: { id: string, name: string, variants: Array<{ id: string, facetValues: Array<{ name: string }> }> } | null }; + +export type GetCustomerIdsQueryVariables = Exact<{ [key: string]: never; }>; + export type GetCustomerIdsQuery = { customers: { items: Array<{ id: string }> } }; -export type StockLocationFragment = { id: string; name: string; description: string }; +export type StockLocationFragment = { id: string, name: string, description: string }; export type GetStockLocationQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetStockLocationQuery = { - stockLocation?: { id: string; name: string; description: string } | null; -}; + +export type GetStockLocationQuery = { stockLocation?: { id: string, name: string, description: string } | null }; export type GetStockLocationsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetStockLocationsQuery = { - stockLocations: { totalItems: number; items: Array<{ id: string; name: string; description: string }> }; -}; + +export type GetStockLocationsQuery = { stockLocations: { totalItems: number, items: Array<{ id: string, name: string, description: string }> } }; export type CreateStockLocationMutationVariables = Exact<{ - input: CreateStockLocationInput; + input: CreateStockLocationInput; }>; -export type CreateStockLocationMutation = { - createStockLocation: { id: string; name: string; description: string }; -}; + +export type CreateStockLocationMutation = { createStockLocation: { id: string, name: string, description: string } }; export type UpdateStockLocationMutationVariables = Exact<{ - input: UpdateStockLocationInput; + input: UpdateStockLocationInput; }>; -export type UpdateStockLocationMutation = { - updateStockLocation: { id: string; name: string; description: string }; -}; + +export type UpdateStockLocationMutation = { updateStockLocation: { id: string, name: string, description: string } }; export type GetVariantStockLevelsQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetVariantStockLevelsQuery = { - productVariants: { - items: Array<{ - id: string; - name: string; - stockOnHand: number; - stockAllocated: number; - stockLevels: Array<{ stockLocationId: string; stockOnHand: number; stockAllocated: number }>; - }>; - }; -}; + +export type GetVariantStockLevelsQuery = { productVariants: { items: Array<{ id: string, name: string, stockOnHand: number, stockAllocated: number, stockLevels: Array<{ stockLocationId: string, stockOnHand: number, stockAllocated: number }> }> } }; export type UpdateStockMutationVariables = Exact<{ - input: Array | UpdateProductVariantInput; + input: Array | UpdateProductVariantInput; }>; -export type UpdateStockMutation = { - updateProductVariants: Array<{ - id: string; - stockOnHand: number; - stockAllocated: number; - stockMovements: { - totalItems: number; - items: Array< - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - | { id: string; type: StockMovementType; quantity: number } - >; - }; - } | null>; -}; + +export type UpdateStockMutation = { updateProductVariants: Array<{ id: string, stockOnHand: number, stockAllocated: number, stockMovements: { totalItems: number, items: Array<{ id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number } | { id: string, type: StockMovementType, quantity: number }> } } | 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: - | { id: string; state: string; nextStates: Array; createdAt: any } - | { errorCode: ErrorCode; message: string; transitionError: string }; -}; + +export type TransitionFulfillmentToStateMutation = { transitionFulfillmentToState: { id: string, state: string, nextStates: Array, createdAt: any } | { errorCode: ErrorCode, message: string, transitionError: string } }; export type UpdateOrderCustomFieldsMutationVariables = Exact<{ - input: UpdateOrderInput; + input: UpdateOrderInput; }>; + export type UpdateOrderCustomFieldsMutation = { setOrderCustomFields?: { id: string } | null }; export type TestGetStockLocationsListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type TestGetStockLocationsListQuery = { - stockLocations: { totalItems: number; items: Array<{ id: string; name: string; description: string }> }; -}; + +export type TestGetStockLocationsListQuery = { stockLocations: { totalItems: number, items: Array<{ id: string, name: string, description: string }> } }; export type TestGetStockLocationQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type TestGetStockLocationQuery = { - stockLocation?: { id: string; name: string; description: string } | null; -}; + +export type TestGetStockLocationQuery = { stockLocation?: { id: string, name: string, description: string } | null }; export type TestCreateStockLocationMutationVariables = Exact<{ - input: CreateStockLocationInput; + input: CreateStockLocationInput; }>; -export type TestCreateStockLocationMutation = { - createStockLocation: { id: string; name: string; description: string }; -}; + +export type TestCreateStockLocationMutation = { createStockLocation: { id: string, name: string, description: string } }; export type TestUpdateStockLocationMutationVariables = Exact<{ - input: UpdateStockLocationInput; + input: UpdateStockLocationInput; }>; -export type TestUpdateStockLocationMutation = { - updateStockLocation: { id: string; name: string; description: string }; -}; + +export type TestUpdateStockLocationMutation = { updateStockLocation: { id: string, name: string, description: string } }; export type TestDeleteStockLocationMutationVariables = Exact<{ - input: DeleteStockLocationInput; + input: DeleteStockLocationInput; }>; -export type TestDeleteStockLocationMutation = { - deleteStockLocation: { result: DeletionResult; message?: string | null }; -}; + +export type TestDeleteStockLocationMutation = { deleteStockLocation: { result: DeletionResult, message?: string | null } }; export type TestGetStockLevelsForVariantQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type TestGetStockLevelsForVariantQuery = { - productVariant?: { - id: string; - stockLevels: Array<{ stockOnHand: number; stockAllocated: number; stockLocationId: string }>; - } | null; -}; + +export type TestGetStockLevelsForVariantQuery = { productVariant?: { id: string, stockLevels: Array<{ stockOnHand: number, stockAllocated: number, stockLocationId: string }> } | null }; export type TestSetStockLevelInLocationMutationVariables = Exact<{ - input: UpdateProductVariantInput; + input: UpdateProductVariantInput; }>; -export type TestSetStockLevelInLocationMutation = { - updateProductVariants: Array<{ - id: string; - stockLevels: Array<{ stockOnHand: number; stockAllocated: number; stockLocationId: string }>; - } | null>; -}; + +export type TestSetStockLevelInLocationMutation = { updateProductVariants: Array<{ id: string, stockLevels: Array<{ stockOnHand: number, stockAllocated: number, stockLocationId: string }> } | null> }; export type TestAssignStockLocationToChannelMutationVariables = Exact<{ - input: AssignStockLocationsToChannelInput; + input: AssignStockLocationsToChannelInput; }>; -export type TestAssignStockLocationToChannelMutation = { - assignStockLocationsToChannel: Array<{ id: string; name: string }>; -}; + +export type TestAssignStockLocationToChannelMutation = { assignStockLocationsToChannel: Array<{ id: string, name: string }> }; export type TestRemoveStockLocationsFromChannelMutationVariables = Exact<{ - input: RemoveStockLocationsFromChannelInput; + input: RemoveStockLocationsFromChannelInput; }>; -export type TestRemoveStockLocationsFromChannelMutation = { - removeStockLocationsFromChannel: Array<{ id: string; name: string }>; -}; + +export type TestRemoveStockLocationsFromChannelMutation = { removeStockLocationsFromChannel: Array<{ id: string, name: string }> }; export type GetTagListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetTagListQuery = { tags: { totalItems: number; items: Array<{ id: string; value: string }> } }; + +export type GetTagListQuery = { tags: { totalItems: number, items: Array<{ id: string, value: string }> } }; export type GetTagQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetTagQuery = { tag: { id: string; value: string } }; + +export type GetTagQuery = { tag: { id: string, value: string } }; export type CreateTagMutationVariables = Exact<{ - input: CreateTagInput; + input: CreateTagInput; }>; -export type CreateTagMutation = { createTag: { id: string; value: string } }; + +export type CreateTagMutation = { createTag: { id: string, value: string } }; export type UpdateTagMutationVariables = Exact<{ - input: UpdateTagInput; + input: UpdateTagInput; }>; -export type UpdateTagMutation = { updateTag: { id: string; value: string } }; + +export type UpdateTagMutation = { updateTag: { id: string, value: string } }; export type DeleteTagMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteTagMutation = { deleteTag: { message?: string | null; result: DeletionResult } }; -export type GetTaxCategoryListQueryVariables = Exact<{ [key: string]: never }>; +export type DeleteTagMutation = { deleteTag: { message?: string | null, result: DeletionResult } }; + +export type GetTaxCategoryListQueryVariables = Exact<{ [key: string]: never; }>; -export type GetTaxCategoryListQuery = { - taxCategories: { items: Array<{ id: string; name: string; isDefault: boolean }> }; -}; + +export type GetTaxCategoryListQuery = { taxCategories: { items: Array<{ id: string, name: string, isDefault: boolean }> } }; export type GetTaxCategoryQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetTaxCategoryQuery = { taxCategory?: { id: string; name: string; isDefault: boolean } | null }; + +export type GetTaxCategoryQuery = { taxCategory?: { id: string, name: string, isDefault: boolean } | null }; export type CreateTaxCategoryMutationVariables = Exact<{ - input: CreateTaxCategoryInput; + input: CreateTaxCategoryInput; }>; -export type CreateTaxCategoryMutation = { - createTaxCategory: { id: string; name: string; isDefault: boolean }; -}; + +export type CreateTaxCategoryMutation = { createTaxCategory: { id: string, name: string, isDefault: boolean } }; export type UpdateTaxCategoryMutationVariables = Exact<{ - input: UpdateTaxCategoryInput; + input: UpdateTaxCategoryInput; }>; -export type UpdateTaxCategoryMutation = { - updateTaxCategory: { id: string; name: string; isDefault: boolean }; -}; + +export type UpdateTaxCategoryMutation = { updateTaxCategory: { id: string, name: string, isDefault: boolean } }; export type DeleteTaxCategoryMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteTaxCategoryMutation = { - deleteTaxCategory: { result: DeletionResult; message?: string | null }; -}; + +export type DeleteTaxCategoryMutation = { deleteTaxCategory: { result: DeletionResult, message?: string | null } }; export type GetTaxRateQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetTaxRateQuery = { - taxRate?: { - id: string; - name: string; - enabled: boolean; - value: number; - category: { id: string; name: string }; - zone: { id: string; name: string }; - customerGroup?: { id: string; name: string } | null; - } | null; -}; + +export type GetTaxRateQuery = { taxRate?: { id: string, name: string, enabled: boolean, value: number, category: { id: string, name: string }, zone: { id: string, name: string }, customerGroup?: { id: string, name: string } | null } | null }; export type CreateTaxRateMutationVariables = Exact<{ - input: CreateTaxRateInput; + input: CreateTaxRateInput; }>; -export type CreateTaxRateMutation = { - createTaxRate: { - id: string; - name: string; - enabled: boolean; - value: number; - category: { id: string; name: string }; - zone: { id: string; name: string }; - customerGroup?: { id: string; name: string } | null; - }; -}; + +export type CreateTaxRateMutation = { createTaxRate: { id: string, name: string, enabled: boolean, value: number, category: { id: string, name: string }, zone: { id: string, name: string }, customerGroup?: { id: string, name: string } | null } }; export type DeleteTaxRateMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteTaxRateMutation = { deleteTaxRate: { result: DeletionResult; message?: string | null } }; + +export type DeleteTaxRateMutation = { deleteTaxRate: { result: DeletionResult, message?: string | null } }; export type DeleteZoneMutationVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type DeleteZoneMutation = { deleteZone: { result: DeletionResult; message?: string | null } }; + +export type DeleteZoneMutation = { deleteZone: { result: DeletionResult, message?: string | null } }; export type GetZonesQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetZonesQuery = { zones: { totalItems: number; items: Array<{ id: string; name: string }> } }; + +export type GetZonesQuery = { zones: { totalItems: number, items: Array<{ id: string, name: string }> } }; export type GetZoneQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetZoneQuery = { - zone?: { - id: string; - name: string; - members: Array< - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - >; - } | null; -}; - -export type GetActiveChannelWithZoneMembersQueryVariables = Exact<{ [key: string]: never }>; - -export type GetActiveChannelWithZoneMembersQuery = { - activeChannel: { - id: string; - defaultShippingZone?: { id: string; members: Array<{ name: string } | { name: string }> } | null; - }; -}; + +export type GetZoneQuery = { zone?: { id: string, name: string, members: Array<{ id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } | { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> }> } | null }; + +export type GetActiveChannelWithZoneMembersQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetActiveChannelWithZoneMembersQuery = { activeChannel: { id: string, defaultShippingZone?: { id: string, members: Array<{ name: string } | { name: string }> } | null } }; export type CreateZoneMutationVariables = Exact<{ - input: CreateZoneInput; + input: CreateZoneInput; }>; -export type CreateZoneMutation = { - createZone: { - id: string; - name: string; - members: Array< - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - >; - }; -}; + +export type CreateZoneMutation = { createZone: { id: string, name: string, members: Array<{ id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } | { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> }> } }; export type UpdateZoneMutationVariables = Exact<{ - input: UpdateZoneInput; + input: UpdateZoneInput; }>; -export type UpdateZoneMutation = { - updateZone: { - id: string; - name: string; - members: Array< - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - >; - }; -}; + +export type UpdateZoneMutation = { updateZone: { id: string, name: string, members: Array<{ id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } | { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> }> } }; 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: { - id: string; - name: string; - members: Array< - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - >; - }; -}; -export type RemoveMembersFromZoneMutationVariables = Exact<{ - zoneId: Scalars['ID']['input']; - memberIds: Array | Scalars['ID']['input']; -}>; +export type AddMembersToZoneMutation = { addMembersToZone: { id: string, name: string, members: Array<{ id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } | { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> }> } }; -export type RemoveMembersFromZoneMutation = { - removeMembersFromZone: { - id: string; - name: string; - members: Array< - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - | { - id: string; - code: string; - name: string; - enabled: boolean; - translations: Array<{ id: string; languageCode: LanguageCode; name: string }>; - } - >; - }; -}; - -export const ProdFragmentFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment' }, - 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: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProdFragment2FragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment2' }, - 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: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProdFragment1FragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment1' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProdFragment2' } }], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment2' }, - 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: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProdFragment3_1FragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment3_1' }, - 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: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProdFragment2_1FragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment2_1' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProdFragment3_1' } }], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment3_1' }, - 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: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProdFragment1_1FragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment1_1' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProdFragment2_1' } }], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment3_1' }, - 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: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment2_1' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProdFragment3_1' } }], - }, - }, - ], -} 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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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' } }, - ], - }, - }, - ], -} 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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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: '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: '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' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProductWithVariantsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProductWithVariants' }, - 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: '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: '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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, - ], - }, - }, - { - 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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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 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: '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: '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: '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: 'Field', name: { kind: 'Name', value: 'position' } }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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 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: '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: '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: '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: '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: 'name' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: '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 AdjustmentFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'Adjustment' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Adjustment' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'adjustmentSource' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - ], -} 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { 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: 'totalQuantity' } }, - { 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 ShippingAddressFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - ], -} 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const OrderWithLinesFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'couponCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, - { 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: 'perCustomerUsageLimit' } }, - { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, - { - 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: 'Region' } }, - 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' } }, - { - 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: '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: 'Region' } }, - 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' } }, - { - 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 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: '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 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'token' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const VariantWithStockFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VariantWithStock' }, - 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: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockMovements' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'StockMovement' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'quantity' }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'token' } }, - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, - { 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: 'defaultTaxZone' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, - ], - }, - }, - ], -} 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: '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: 'Customer' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CustomField' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'customers' }, - 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: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProductWithOptionsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProductWithOptions' }, - 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: 'optionGroups' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'code' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'calculator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CanceledOrderFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CanceledOrder' }, - 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: 'state' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AssetFragFirstFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AssetFragFirst' }, - 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: 'preview' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AssetWithTagsAndFocalPointFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AssetWithTagsAndFocalPoint' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }, - { - 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: 'tags' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'value' } }, - ], - }, - }, - ], - }, - }, - { - 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: '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' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const OrderWithModificationsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithModifications' }, - 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: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, - { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedQuantity' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'discountedLinePriceWithTax' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'proratedLinePriceWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'discounts' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, - ], - }, - }, - { - 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: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: 'taxRate' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { 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: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'modifications' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'note' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, - { - 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: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payment' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - ], - }, - }, - { - kind: 'Field', - 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'promotions' }, - 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: 'discounts' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, - { kind: 'Field', name: { kind: 'Name', value: 'city' } }, - { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'province' } }, - { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'country' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'billingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, - { kind: 'Field', name: { kind: 'Name', value: 'city' } }, - { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'province' } }, - { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'country' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'discountedPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingMethod' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, - ], - }, - }, - ], -} 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: 'code' } }, - { 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'handler' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: '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 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: 'ui' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const StockLocationFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'StockLocation' }, - 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: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetAdministratorsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAdministrators' }, - 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: 'Administrator' }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - { - 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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetAdministratorDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAdministrator' }, - 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: '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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ActiveAdministratorDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'ActiveAdministrator' }, - 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: '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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'message' } }, - { kind: 'Field', name: { kind: 'Name', value: 'result' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const Q1Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Q1' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'product' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'StringValue', value: 'T_1', block: false }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const Q2Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Q2' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'product' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'StringValue', value: 'T_1', block: false }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionWithAssetsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionWithAssets' }, - 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: '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: '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: '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' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AssignAssetsToChannelDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'assignAssetsToChannel' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'AssignAssetsToChannelInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'assignAssetsToChannel' }, - 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: '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: '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' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AuthenticateDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'Authenticate' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'AuthenticationInput' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'authenticate' }, - 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: 'CurrentUser' } }, - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'InvalidCredentialsError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'authenticationError' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'message' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'token' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCustomersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCustomers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'customers' }, - 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: 'emailAddress' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCustomerUserAuthDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCustomerUserAuth' }, - 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: '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: '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: 'authenticationMethods' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'strategy' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'message' } }, - { kind: 'Field', name: { kind: 'Name', value: 'result' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetChannelDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetChannel' }, - 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: '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: 'defaultCurrencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, - { kind: 'Field', name: { kind: 'Name', value: 'defaultLanguageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'availableLanguageCodes' } }, - { kind: 'Field', name: { kind: 'Name', value: 'outOfStockThreshold' } }, - { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UpdateGlobalLanguagesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateGlobalLanguages' }, - 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: 'InlineFragment', - 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' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionsWithAssetsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionsWithAssets' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'collections' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'assets' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetProductsWithVariantIdsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductsWithVariantIds' }, - 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: 'sort' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'EnumValue', value: 'ASC' }, - }, - ], - }, - }, - ], - }, - }, - ], - 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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionListAdminDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionListAdmin' }, - 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: 'Collection' }, - }, - ], - }, - }, - { 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: '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: '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: '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: '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: '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: 'Field', name: { kind: 'Name', value: 'position' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionListWithTranslationsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionListWithTranslations' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - GetCollectionListWithTranslationsQuery, - GetCollectionListWithTranslationsQueryVariables ->; -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: '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: '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: '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: '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: '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: 'Field', name: { kind: 'Name', value: 'position' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetFacetValuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetFacetValues' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'facets' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - 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: '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: 'name' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionProductsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionProducts' }, - 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: 'Field', - name: { kind: 'Name', value: 'productVariants' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'options' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'sort' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'EnumValue', - value: 'ASC', - }, - }, - ], - }, - }, - ], - }, - }, - ], - 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: 'code' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'productId' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CreateCollectionSelectVariantsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CreateCollectionSelectVariants' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'productVariants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - CreateCollectionSelectVariantsMutation, - CreateCollectionSelectVariantsMutationVariables ->; -export const GetCollectionBreadcrumbsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionBreadcrumbs' }, - 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: '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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionsForProductsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionsForProducts' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'term' } }, - 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: 'name' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'contains' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'term' }, - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - 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: 'collections' }, - 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 GetProductCollectionsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductCollections' }, - 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: 'collections' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetProductCollectionsWithParentDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductCollectionsWithParent' }, - 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: 'collections' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - 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' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - GetProductCollectionsWithParentQuery, - GetProductCollectionsWithParentQueryVariables ->; -export const GetCollectionNestedParentsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionNestedParents' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'collections' }, - 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: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - { - kind: 'Field', - name: { - kind: 'Name', - value: 'parent', - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { - kind: 'Name', - value: 'name', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const PreviewCollectionVariantsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'PreviewCollectionVariants' }, - 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: 'name' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: '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: '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: '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: '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: 'Field', name: { kind: 'Name', value: 'position' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - RemoveCollectionsFromChannelMutation, - RemoveCollectionsFromChannelMutationVariables ->; -export const DeleteCollectionsBulkDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeleteCollectionsBulk' }, - 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: 'message' } }, - { kind: 'Field', name: { kind: 'Name', value: 'result' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCheckersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCheckers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingEligibilityCheckers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'args' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'defaultValue' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'list' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'required' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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 GetCountryDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCountry' }, - 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: 'Region' } }, - 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' } }, - { - 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 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: 'Region' } }, - 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' } }, - { - 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 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 GetCustomerWithUserDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCustomerWithUser' }, - 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: '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: '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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCustomerOrdersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCustomerOrders' }, - 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: '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: 'orders' }, - 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: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'FragmentSpread', name: { kind: 'Name', value: 'Customer' } }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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 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: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchFacetValuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchFacetValues' }, - 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: '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: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchCollectionsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchCollections' }, - 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: 'collections' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'collection' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchGetAssetsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchGetAssets' }, - 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: 'productId' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'productVariantId' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'productName' } }, - { - 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: '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' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchGetPricesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchGetPrices' }, - 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: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'price' }, - 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: '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', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'billingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ShippingAddress' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SetDraftOrderBillingAddressMutation, - SetDraftOrderBillingAddressMutationVariables ->; -export const UnsetDraftOrderShippingAddressDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UnsetDraftOrderShippingAddress' }, - 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: 'unsetDraftOrderShippingAddress' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'orderId' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderWithLines' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ShippingAddress' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UnsetDraftOrderShippingAddressMutation, - UnsetDraftOrderShippingAddressMutationVariables ->; -export const UnsetDraftOrderBillingAddressDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UnsetDraftOrderBillingAddress' }, - 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: 'unsetDraftOrderBillingAddress' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'orderId' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'orderId' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'OrderWithLines' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'billingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ShippingAddress' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UnsetDraftOrderBillingAddressMutation, - UnsetDraftOrderBillingAddressMutationVariables ->; -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: 'OrderWithLines' } }, - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Order' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, - ], - }, - }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Order' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'couponCodes' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SetDraftOrderShippingMethodMutation, - SetDraftOrderShippingMethodMutationVariables ->; -export const GetOrderPlacedAtDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderPlacedAt' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedAt' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetEntityDuplicatorsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetEntityDuplicators' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'entityDuplicators' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'requiresPermission' } }, - { kind: 'Field', name: { kind: 'Name', value: 'forEntities' } }, - { - 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: 'defaultValue' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const DuplicateEntityDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DuplicateEntity' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'DuplicateEntityInput' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'duplicateEntity' }, - 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: 'DuplicateEntitySuccess' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'newEntityId' } }, - ], - }, - }, - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'DuplicateEntityError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'message' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'duplicationError' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest1Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'IdTest1' }, - 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: 'take' }, - value: { kind: 'IntValue', value: '5' }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest2Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'IdTest2' }, - 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: 'take' }, - value: { kind: 'IntValue', value: '1' }, - }, - ], - }, - }, - ], - 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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'options' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest3Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'IdTest3' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'product' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'StringValue', value: 'T_1', block: false }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest4Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'IdTest4' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateProduct' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'StringValue', value: 'T_1', block: false }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'featuredAssetId' }, - value: { kind: 'StringValue', value: 'T_3', block: false }, - }, - ], - }, - }, - ], - 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' } }], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest5Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'IdTest5' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateProduct' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'StringValue', value: 'T_1', block: false }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'translations' }, - value: { - kind: 'ListValue', - values: [ - { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'StringValue', - value: 'T_1', - block: false, - }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'languageCode' }, - value: { kind: 'EnumValue', value: 'en' }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'name' }, - value: { - kind: 'StringValue', - value: 'changed', - block: false, - }, - }, - ], - }, - ], - }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest6Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'IdTest6' }, - 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' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest7Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'IdTest7' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateProductInput' } }, - }, - }, - ], - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest8Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'IdTest8' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'UpdateProductInput' } }, - }, - }, - ], - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest9Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'IdTest9' }, - 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: 'take' }, - value: { kind: 'IntValue', value: '1' }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ProdFragment' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment' }, - 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: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest10Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'IdTest10' }, - 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: 'take' }, - value: { kind: 'IntValue', value: '1' }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ProdFragment1' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment2' }, - 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: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment1' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProdFragment2' } }], - }, - }, - ], -} as unknown as DocumentNode; -export const IdTest11Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'IdTest11' }, - 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: 'take' }, - value: { kind: 'IntValue', value: '1' }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ProdFragment1_1' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment3_1' }, - 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: 'featuredAsset' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment2_1' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProdFragment3_1' } }], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProdFragment1_1' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProdFragment2_1' } }], - }, - }, - ], -} as unknown as DocumentNode; -export const GetFacetWithValueListDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetFacetWithValueList' }, - 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: 'FacetValueListOptions' } }, - }, - ], - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'valueList' }, - 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: '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: '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 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 GetProductWithFacetValuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductWithFacetValues' }, - 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: '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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - 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 GetProductListWithVariantsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductListWithVariants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'products' }, - 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: '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: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: '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: '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' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - 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: 'productCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'variantCount' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: 'Customer' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CustomField' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchProductsAdminDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchProductsAdmin' }, - 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: 'description' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'productVariantId' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'productVariantName' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'sku' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetOrderWithSellerOrdersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderWithSellerOrders' }, - 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: '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: 'sellerOrders' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'aggregateOrderId' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - 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: 'shippingLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - 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: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - 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: 'shippingLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - 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' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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' } }, - }, - }, - ], - 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: 'ProductWithVariants' }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProductWithVariants' }, - 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: '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: '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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, - ], - }, - }, - { - 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 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' } }, - }, - }, - ], - 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: 'ProductWithVariants' }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProductWithVariants' }, - 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: '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: '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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, - ], - }, - }, - { - 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 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: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'product' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'slug' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - }, - { - 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: 'ProductWithVariants' }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProductWithVariants' }, - 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: '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: '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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, - ], - }, - }, - { - 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 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: '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: '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' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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 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: '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: '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: '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: '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: '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: '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 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: '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: 'phoneNumber' } }, - { - 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: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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' } }, - ], - }, - }, - ], -} 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: '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 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: '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: '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: '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: '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: '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: 'Field', name: { kind: 'Name', value: 'position' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: '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: '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: '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: 'Field', name: { kind: 'Name', value: 'position' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCustomerDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCustomer' }, - 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: '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: 'state' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'total' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'currencyCode' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'updatedAt' }, - }, - ], - }, - }, - { 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: '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: '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 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: '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: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'token' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'Region' } }, - 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' } }, - { - 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 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: 'FacetWithValues' }, - }, - ], - }, - }, - { 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: '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: '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: '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 GetFacetListSimpleDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetFacetListSimple' }, - 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: '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 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' } }], - }, - }, - ], - }, - }, - ], -} 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: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'product' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'slug' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - }, - { - 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: 'slug' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetStockMovementDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetStockMovement' }, - 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: 'FragmentSpread', - name: { kind: 'Name', value: 'VariantWithStock' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VariantWithStock' }, - 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: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockMovements' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'StockMovement' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'quantity' }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetRunningJobsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetRunningJobs' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'duration' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'couponCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, - { 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: 'perCustomerUsageLimit' } }, - { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, - { - 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 MeDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Me' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'token' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'LanguageNotAvailableError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'message' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'token' } }, - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, - { 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: 'defaultTaxZone' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, - ], - }, - }, - ], -} 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 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: 'FragmentSpread', - name: { kind: 'Name', value: 'ProductWithVariants' }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProductWithVariants' }, - 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: '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: '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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, - ], - }, - }, - { - 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 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: 'FragmentSpread', - name: { kind: 'Name', value: 'ProductWithVariants' }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProductWithVariants' }, - 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: '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: '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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, - ], - }, - }, - { - 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 AssignProductVariantsToChannelDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'AssignProductVariantsToChannel' }, - 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: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - AssignProductVariantsToChannelMutation, - AssignProductVariantsToChannelMutationVariables ->; -export const RemoveProductVariantsFromChannelDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'RemoveProductVariantsFromChannel' }, - 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: 'FragmentSpread', name: { kind: 'Name', value: 'ProductVariant' } }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - RemoveProductVariantsFromChannelMutation, - RemoveProductVariantsFromChannelMutationVariables ->; -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: '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: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'value' }, - }, - ], - }, - }, - { - 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: '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: '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' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const DeleteAssetDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeleteAsset' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'DeleteAssetInput' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deleteAsset' }, - 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 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: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'LanguageNotAvailableError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'message' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'token' } }, - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'availableCurrencyCodes' } }, - { 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: 'defaultTaxZone' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'pricesIncludeTax' } }, - ], - }, - }, - ], -} 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: 'administrator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'OrderWithLines' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'customers' }, - 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: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'customers' }, - 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: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'ErrorResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'message' } }, - ], - }, - }, - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CreateFulfillmentError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillmentHandlerError' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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 TransitFulfillmentDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'TransitFulfillment' }, - 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: '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: 'Field', name: { kind: 'Name', value: 'fromState' } }, - { kind: 'Field', name: { kind: 'Name', value: 'toState' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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 GetOrderFulfillmentsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderFulfillments' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - 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: 'method' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'summary' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'orderLine' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'quantity' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { 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: 'totalQuantity' } }, - { 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 CreateAddressDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CreateAddress' }, - 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: '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: 'id' } }, - }, - { - 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: '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: '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 UpdateAddressDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateAddress' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'defaultShippingAddress' } }, - { kind: 'Field', name: { kind: 'Name', value: 'defaultBillingAddress' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'country' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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 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: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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 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' } }], - }, - }, - ], - }, - }, - ], -} 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 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: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'customers' }, - 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: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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 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: '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 GetCustomerGroupDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCustomerGroup' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - 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: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'customers' }, - 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: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCustomerWithGroupsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCustomerWithGroups' }, - 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: '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: 'groups' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AdminTransitionDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'AdminTransition' }, - 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: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'OrderStateTransitionError' }, - }, - 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: 'Field', name: { kind: 'Name', value: 'fromState' } }, - { kind: 'Field', name: { kind: 'Name', value: 'toState' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { 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: 'totalQuantity' } }, - { 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 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: 'CanceledOrder' } }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CanceledOrder' }, - 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: 'state' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: 'Customer' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CustomField' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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 GetProductsWithVariantPricesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductsWithVariantPrices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'products' }, - 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: 'slug' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - 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: '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: '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: '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: '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: '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' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'FragmentSpread', - name: { kind: 'Name', value: 'ProductWithOptions' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProductWithOptions' }, - 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: 'optionGroups' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'code' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'calculator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'InlineFragment', - 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' } }, - ], - }, - }, - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'SettlePaymentError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'paymentErrorMessage' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'administrator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'data' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'calculator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'width' } }, - { kind: 'Field', name: { kind: 'Name', value: 'height' } }, - ], - }, - }, - ], - }, - }, - { - 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: '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' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetAssetFragmentFirstDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAssetFragmentFirst' }, - 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: 'AssetFragFirst' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AssetFragFirst' }, - 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: 'preview' } }, - ], - }, - }, - ], -} 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: 'AssetWithTagsAndFocalPoint' }, - }, - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'MimeTypeError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'message' } }, - { kind: 'Field', name: { kind: 'Name', value: 'fileName' } }, - { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: 'FragmentDefinition', - name: { kind: 'Name', value: 'AssetWithTagsAndFocalPoint' }, - typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Asset' } }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Asset' } }, - { - 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: 'tags' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'value' } }, - ], - }, - }, - ], - }, - }, - ], -} 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 AssignPromotionToChannelDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'AssignPromotionToChannel' }, - 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 RemovePromotionFromChannelDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'RemovePromotionFromChannel' }, - 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 GetTaxRatesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTaxRates' }, - 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: '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 GetShippingMethodListDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetShippingMethodList' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingMethods' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ShippingMethod' }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - { - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'calculator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollections' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'collections' }, - 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: 'position' } }, - { - 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' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'InlineFragment', - 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' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'currencyCode' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'price' }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetChannelsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetChannels' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'channels' }, - 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: 'token' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'permissions' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: '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: '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: '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: '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: 'Field', name: { kind: 'Name', value: 'position' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollection' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - { - 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: 'collection' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'slug' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Collection' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'productVariants' }, - 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: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'price' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: '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: '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: '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: '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: '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: 'Field', name: { kind: 'Name', value: 'position' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetFacetWithValuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetFacetWithValues' }, - 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: '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: '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: '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 GetPromotionDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetPromotion' }, - 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: 'couponCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, - { 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: 'perCustomerUsageLimit' } }, - { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, - { - 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 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, - { kind: 'Field', name: { kind: 'Name', value: 'settledAt' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UpdateOptionGroupDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateOptionGroup' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetFulfillmentHandlersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetFulfillmentHandlers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillmentHandlers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { - 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: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetOrderWithModificationsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderWithModifications' }, - 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: 'OrderWithModifications' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithModifications' }, - 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: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, - { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedQuantity' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'discountedLinePriceWithTax' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'proratedLinePriceWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'discounts' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, - ], - }, - }, - { - 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: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: 'taxRate' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { 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: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'modifications' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'note' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, - { - 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: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payment' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - ], - }, - }, - { - kind: 'Field', - 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'promotions' }, - 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: 'discounts' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, - { kind: 'Field', name: { kind: 'Name', value: 'city' } }, - { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'province' } }, - { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'country' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'billingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, - { kind: 'Field', name: { kind: 'Name', value: 'city' } }, - { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'province' } }, - { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'country' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'discountedPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingMethod' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'OrderWithModifications' }, - }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithModifications' }, - 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: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, - { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedQuantity' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'discountedLinePriceWithTax' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'proratedLinePriceWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'discounts' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, - ], - }, - }, - { - 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: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: 'taxRate' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { 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: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'modifications' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'note' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, - { - 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: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payment' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - ], - }, - }, - { - kind: 'Field', - 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'promotions' }, - 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: 'discounts' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, - { kind: 'Field', name: { kind: 'Name', value: 'city' } }, - { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'province' } }, - { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'country' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'billingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, - { kind: 'Field', name: { kind: 'Name', value: 'city' } }, - { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'province' } }, - { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'country' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'discountedPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingMethod' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'OrderWithModifications' }, - }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithModifications' }, - 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: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subTotal' } }, - { kind: 'Field', name: { kind: 'Name', value: 'subTotalWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shippingWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, - { kind: 'Field', name: { kind: 'Name', value: 'orderPlacedQuantity' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'discountedLinePriceWithTax' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'proratedLinePriceWithTax' } }, - { kind: 'Field', name: { kind: 'Name', value: 'proratedUnitPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'discounts' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amountWithTax' } }, - ], - }, - }, - { - 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: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: 'taxRate' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { 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: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'modifications' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'note' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceChange' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isSettled' } }, - { - 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: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payment' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - ], - }, - }, - { - kind: 'Field', - 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'paymentId' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'promotions' }, - 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: 'discounts' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, - { kind: 'Field', name: { kind: 'Name', value: 'city' } }, - { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'province' } }, - { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'country' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'billingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'streetLine1' } }, - { kind: 'Field', name: { kind: 'Name', value: 'city' } }, - { kind: 'Field', name: { kind: 'Name', value: 'postalCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'province' } }, - { kind: 'Field', name: { kind: 'Name', value: 'countryCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'country' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'discountedPriceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingMethod' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const DeletePromotionAdHoc1Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeletePromotionAdHoc1' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deletePromotion' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'StringValue', value: '', block: false }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'result' } }], - }, - }, - ], - }, - }, - ], -} 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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 GetOrderWithLineCalculatedPropsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderWithLineCalculatedProps' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'linePriceWithTax' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'quantity' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - GetOrderWithLineCalculatedPropsQuery, - GetOrderWithLineCalculatedPropsQueryVariables ->; -export const GetOrderListFulfillmentsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderListFulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'orders' }, - 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: 'state' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - 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: 'method' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetOrderFulfillmentItemsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderFulfillmentItems' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'Fulfillment' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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 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: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, - ], - }, - }, - ], -} 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: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, - ], - }, - }, - ], -} 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 GetOrderWithPaymentsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderWithPayments' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'total' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetOrderLineFulfillmentsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderLineFulfillments' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillmentLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - 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: 'orderLineId' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'quantity' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetOrderListWithQtyDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOrderListWithQty' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'totalQuantity' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'quantity' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'paymentId' } }, - 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: 'paymentId' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - { - 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: 'CancelPaymentError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'paymentErrorMessage' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SetOrderCustomerDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'SetOrderCustomer' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'SetOrderCustomerInput' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'setOrderCustomer' }, - 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: 'customer' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: 'code' } }, - { 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'handler' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: '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 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: '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: 'code' } }, - { 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'handler' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: '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 GetPaymentMethodHandlersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetPaymentMethodHandlers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'paymentMethodHandlers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetPaymentMethodCheckersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetPaymentMethodCheckers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'paymentMethodEligibilityCheckers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetPaymentMethodDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetPaymentMethod' }, - 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: '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: 'code' } }, - { 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'handler' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: '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 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: '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: 'PaymentMethod' }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - { - 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: 'code' } }, - { 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'handler' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: '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 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: 'message' } }, - { kind: 'Field', name: { kind: 'Name', value: 'result' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AddManualPayment2Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'AddManualPayment2' }, - 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: 'OrderWithLines' } }, - { - kind: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ShippingAddress' }, - 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: 'phoneNumber' } }, - ], - }, - }, - { - 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: 'nextStates' } }, - { 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: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'reason' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'OrderWithLines' }, - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { - 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: '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: 'taxLines' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'taxRate' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPrice' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unitPriceWithTax' } }, - { 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: 'taxRate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'linePriceWithTax' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'surcharges' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { 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: '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: 'totalQuantity' } }, - { 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: 'priceWithTax' } }, - { - 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: 'description' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingAddress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShippingAddress' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Payment' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'fulfillments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackingCode' } }, - { - 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: 'total' } }, - ], - }, - }, - ], -} 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: '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: 'options' }, - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CreateProductOptionDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CreateProductOption' }, - 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: 'code' } }, - { 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 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: '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: 'groupId' } }, - ], - }, - }, - ], - }, - }, - ], -} 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 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: 'FragmentSpread', - name: { kind: 'Name', value: 'ProductWithOptions' }, - }, - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'ProductOptionInUseError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'errorCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'message' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'optionGroupCode' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'productVariantCount' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProductWithOptions' }, - 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: 'optionGroups' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'code' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - RemoveOptionGroupFromProductMutation, - RemoveOptionGroupFromProductMutationVariables ->; -export const GetOptionGroupDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetOptionGroup' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: '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' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetProductWithVariantListDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductWithVariantList' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { - 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: '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: '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: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priceWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'prices' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'price' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trackInventory' } }, - { - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'languageCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'groupId' } }, - { 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' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'couponCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, - { 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: 'perCustomerUsageLimit' } }, - { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, - { - 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 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: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'couponCode' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startsAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'endsAt' } }, - { 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: 'perCustomerUsageLimit' } }, - { kind: 'Field', name: { kind: 'Name', value: 'usageLimit' } }, - { - 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 GetAdjustmentOperationsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetAdjustmentOperations' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'promotionActions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ConfigurableOperationDef' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'promotionConditions' }, - 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: 'ui' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - ], - }, - }, - ], -} 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: '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 GetRoleDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetRole' }, - 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: '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 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 GetShippingMethodDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetShippingMethod' }, - 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: '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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'calculator' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetEligibilityCheckersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetEligibilityCheckers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingEligibilityCheckers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { - 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: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCalculatorsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCalculators' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'shippingCalculators' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { - 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: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ui' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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 TestEligibleMethodsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'TestEligibleMethods' }, - 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: '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 GetMeDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetMe' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'me' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'identifier' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetProductsTake3Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductsTake3' }, - 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: 'take' }, - value: { kind: 'IntValue', value: '3' }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetProduct1Document = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProduct1' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'product' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'StringValue', value: 'T_1', block: false }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetProduct2VariantsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProduct2Variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'product' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'StringValue', value: 'T_2', block: false }, - }, - ], - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetProductCollectionDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductCollection' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'product' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'StringValue', value: 'T_12', block: false }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'collections' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionShopDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionShop' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - ], - 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' } }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'slug' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - }, - ], - 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: '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 DisableProductDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DisableProduct' }, - 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: 'updateProduct' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'ObjectValue', - fields: [ - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'id' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - }, - { - kind: 'ObjectField', - name: { kind: 'Name', value: 'enabled' }, - value: { kind: 'BooleanValue', value: false }, - }, - ], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionVariantsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionVariants' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - ], - 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' } }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'slug' }, - value: { kind: 'Variable', name: { kind: 'Name', value: 'slug' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'productVariants' }, - 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' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionListDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionList' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'collections' }, - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetProductFacetValuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetProductFacetValues' }, - 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: 'facetValues' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetVariantFacetValuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetVariantFacetValues' }, - 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: 'variants' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'facetValues' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCustomerIdsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCustomerIds' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'customers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetStockLocationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetStockLocation' }, - 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: 'StockLocation' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'StockLocation' }, - 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: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetStockLocationsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetStockLocations' }, - 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: 'StockLocation' }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'StockLocation' }, - 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: '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: 'StockLocation' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'StockLocation' }, - 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: '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: 'StockLocation' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'StockLocation' }, - 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: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetVariantStockLevelsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetVariantStockLevels' }, - variableDefinitions: [ - { - 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: '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: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockAllocated' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockLevels' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'stockLocationId' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockOnHand' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockAllocated' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UpdateStockDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateStock' }, - 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: 'VariantWithStock' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'VariantWithStock' }, - 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: 'stockOnHand' } }, - { kind: 'Field', name: { kind: 'Name', value: 'stockAllocated' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockMovements' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'StockMovement' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'type' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'quantity' }, - }, - ], - }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'InlineFragment', - 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: 'InlineFragment', - 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' } }, - ], - }, - }, - { - kind: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'FulfillmentStateTransitionError' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'transitionError' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - TransitionFulfillmentToStateMutation, - TransitionFulfillmentToStateMutationVariables ->; -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: 'InlineFragment', - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Order' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const TestGetStockLocationsListDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'TestGetStockLocationsList' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const TestGetStockLocationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'TestGetStockLocation' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const TestCreateStockLocationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'TestCreateStockLocation' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const TestUpdateStockLocationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'TestUpdateStockLocation' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const TestDeleteStockLocationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'TestDeleteStockLocation' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'DeleteStockLocationInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deleteStockLocation' }, - 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 TestGetStockLevelsForVariantDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'TestGetStockLevelsForVariant' }, - 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: 'stockLevels' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockAllocated' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockLocationId' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const TestSetStockLevelInLocationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'TestSetStockLevelInLocation' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, - 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: 'ListValue', - values: [{ kind: 'Variable', name: { kind: 'Name', value: 'input' } }], - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockLevels' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'stockOnHand' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockAllocated' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stockLocationId' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - TestSetStockLevelInLocationMutation, - TestSetStockLevelInLocationMutationVariables ->; -export const TestAssignStockLocationToChannelDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'TestAssignStockLocationToChannel' }, - 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< - TestAssignStockLocationToChannelMutation, - TestAssignStockLocationToChannelMutationVariables ->; -export const TestRemoveStockLocationsFromChannelDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'TestRemoveStockLocationsFromChannel' }, - 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< - TestRemoveStockLocationsFromChannelMutation, - TestRemoveStockLocationsFromChannelMutationVariables ->; -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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'value' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: '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: '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 GetTaxCategoryListDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTaxCategoryList' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'taxCategories' }, - 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: 'isDefault' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetTaxCategoryDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTaxCategory' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { 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 GetTaxRateDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetTaxRate' }, - 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: '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 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: '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 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: 'result' } }, - { kind: 'Field', name: { kind: 'Name', value: 'message' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetZonesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetZones' }, - 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: 'name' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'totalItems' } }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'Region' } }, - 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' } }, - { - 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: '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 GetActiveChannelWithZoneMembersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetActiveChannelWithZoneMembers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'activeChannel' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'defaultShippingZone' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'members' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - GetActiveChannelWithZoneMembersQuery, - GetActiveChannelWithZoneMembersQueryVariables ->; -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: 'Region' } }, - 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' } }, - { - 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: '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: 'Region' } }, - 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' } }, - { - 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: '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 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: 'Region' } }, - 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' } }, - { - 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: '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: 'Region' } }, - 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' } }, - { - 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: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'members' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'FragmentSpread', name: { kind: 'Name', value: 'Country' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; +export type RemoveMembersFromZoneMutationVariables = Exact<{ + zoneId: Scalars['ID']['input']; + memberIds: Array | Scalars['ID']['input']; +}>; + + +export type RemoveMembersFromZoneMutation = { removeMembersFromZone: { id: string, name: string, members: Array<{ id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> } | { id: string, code: string, name: string, enabled: boolean, translations: Array<{ id: string, languageCode: LanguageCode, name: string }> }> } }; + +export const ProdFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment"},"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":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const ProdFragment2FragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment2"},"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":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const ProdFragment1FragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment1"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment2"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment2"},"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":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const ProdFragment3_1FragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment3_1"},"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":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const ProdFragment2_1FragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment2_1"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment3_1"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment3_1"},"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":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const ProdFragment1_1FragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment1_1"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment2_1"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment3_1"},"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":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment2_1"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment3_1"}}]}}]} 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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]}}]} 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":"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"}}]}}]} 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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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":"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":"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"}}]}}]} as unknown as DocumentNode; +export const ProductWithVariantsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductWithVariants"},"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":"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":"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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"}}]}}]}}]} 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":"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 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":"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":"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":"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":"Field","name":{"kind":"Name","value":"position"}}]}}]}},{"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":"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":"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 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":"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":"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":"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":"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":"name"}}]}}]}}]} 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":"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":"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":"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 AdjustmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Adjustment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Adjustment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"adjustmentSource"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]} 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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"totalQuantity"}},{"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 ShippingAddressFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}}]} 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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}}]} as unknown as DocumentNode; +export const OrderWithLinesFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}}]} 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":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"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":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"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":"Region"}},"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"}},{"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":"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":"Region"}},"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"}},{"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 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":"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 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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; +export const VariantWithStockFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VariantWithStock"},"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":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockMovements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StockMovement"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} 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":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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 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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"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":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}}]}}]} 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":"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":"Customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} 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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"customers"},"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":"totalItems"}}]}}]}}]} 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":"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":"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"}}]}}]}}]} as unknown as DocumentNode; +export const ProductWithOptionsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductWithOptions"},"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":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"code"}}]}}]}}]}}]} 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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"calculator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const CanceledOrderFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CanceledOrder"},"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]} as unknown as DocumentNode; +export const AssetFragFirstFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AssetFragFirst"},"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":"preview"}}]}}]} as unknown as DocumentNode; +export const AssetWithTagsAndFocalPointFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AssetWithTagsAndFocalPoint"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}},{"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}},{"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":"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"}}]}}]} as unknown as DocumentNode; +export const OrderWithModificationsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithModifications"},"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedLinePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}}]}},{"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":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"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":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}}]}},{"kind":"Field","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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"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":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"discountedPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} 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":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]} 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":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"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 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":"ui"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; +export const StockLocationFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocation"},"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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; +export const GetAdministratorsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAdministrators"},"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":"Administrator"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetAdministratorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAdministrator"},"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":"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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]}}]} as unknown as DocumentNode; +export const ActiveAdministratorDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ActiveAdministrator"},"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":"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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]}}]} 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":"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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]}}]} 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":"message"}},{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} as unknown as DocumentNode; +export const Q1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Q1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"T_1","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; +export const Q2Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Q2"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"T_1","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionWithAssetsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionWithAssets"},"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":"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":"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":"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"}}]}}]} as unknown as DocumentNode; +export const AssignAssetsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"assignAssetsToChannel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AssignAssetsToChannelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignAssetsToChannel"},"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":"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":"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"}}]}}]} as unknown as DocumentNode; +export const AuthenticateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"Authenticate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AuthenticationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"authenticate"},"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":"CurrentUser"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"InvalidCredentialsError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"authenticationError"}},{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}},{"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} as unknown as DocumentNode; +export const GetCustomersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customers"},"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":"emailAddress"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCustomerUserAuthDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerUserAuth"},"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":"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":"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":"authenticationMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}}]}}]}}]}}]}}]} 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":"message"}},{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} as unknown as DocumentNode; +export const GetChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetChannel"},"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":"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":"defaultCurrencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"kind":"Field","name":{"kind":"Name","value":"defaultLanguageCode"}},{"kind":"Field","name":{"kind":"Name","value":"availableLanguageCodes"}},{"kind":"Field","name":{"kind":"Name","value":"outOfStockThreshold"}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}}]}}]}}]} as unknown as DocumentNode; +export const UpdateGlobalLanguagesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateGlobalLanguages"},"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":"InlineFragment","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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionsWithAssetsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionsWithAssets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetProductsWithVariantIdsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductsWithVariantIds"},"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":"sort"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"EnumValue","value":"ASC"}}]}}]}}],"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionListAdminDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionListAdmin"},"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":"Collection"}}]}},{"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":"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":"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":"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":"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":"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":"Field","name":{"kind":"Name","value":"position"}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionListWithTranslationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionListWithTranslations"},"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":"Field","name":{"kind":"Name","value":"id"}},{"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"}}]}}]}}]}}]}}]} 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":"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":"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":"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":"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":"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":"Field","name":{"kind":"Name","value":"position"}}]}}]}}]} as unknown as DocumentNode; +export const GetFacetValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetFacetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"facets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"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":"name"}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionProductsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionProducts"},"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":"Field","name":{"kind":"Name","value":"productVariants"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"options"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"sort"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"EnumValue","value":"ASC"}}]}}]}}],"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":"code"}}]}},{"kind":"Field","name":{"kind":"Name","value":"productId"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const CreateCollectionSelectVariantsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateCollectionSelectVariants"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionBreadcrumbsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionBreadcrumbs"},"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":"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionsForProductsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionsForProducts"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"term"}},"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":"name"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"contains"},"value":{"kind":"Variable","name":{"kind":"Name","value":"term"}}}]}}]}}]}}],"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":"collections"},"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 GetProductCollectionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductCollections"},"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":"collections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetProductCollectionsWithParentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductCollectionsWithParent"},"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":"collections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"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"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionNestedParentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionNestedParents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collections"},"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":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const PreviewCollectionVariantsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PreviewCollectionVariants"},"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":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} 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":"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":"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":"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":"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":"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":"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":"Field","name":{"kind":"Name","value":"position"}}]}}]}}]} as unknown as DocumentNode; +export const DeleteCollectionsBulkDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteCollectionsBulk"},"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":"message"}},{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} as unknown as DocumentNode; +export const GetCheckersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCheckers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingEligibilityCheckers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"args"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"list"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"required"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]}}]} 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 GetCountryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCountry"},"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":"Region"}},"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"}},{"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 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":"Region"}},"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"}},{"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 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 GetCustomerWithUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerWithUser"},"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":"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":"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCustomerOrdersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerOrders"},"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":"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":"orders"},"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":"totalItems"}}]}}]}}]}}]} 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":"FragmentSpread","name":{"kind":"Name","value":"Customer"}}]}}]}},{"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":"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":"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 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":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const SearchFacetValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchFacetValues"},"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":"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":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const SearchCollectionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchCollections"},"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":"collections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"collection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const SearchGetAssetsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchGetAssets"},"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":"productId"}},{"kind":"Field","name":{"kind":"Name","value":"productVariantId"}},{"kind":"Field","name":{"kind":"Name","value":"productName"}},{"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":"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"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const SearchGetPricesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchGetPrices"},"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":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"},"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":"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"}}]}}]}}]}}]}}]}}]} 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":"OrderWithLines"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"OrderWithLines"}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"OrderWithLines"}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"OrderWithLines"}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"OrderWithLines"}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"OrderWithLines"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"OrderWithLines"}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} as unknown as DocumentNode; +export const UnsetDraftOrderShippingAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UnsetDraftOrderShippingAddress"},"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":"unsetDraftOrderShippingAddress"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderWithLines"}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} as unknown as DocumentNode; +export const UnsetDraftOrderBillingAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UnsetDraftOrderBillingAddress"},"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":"unsetDraftOrderBillingAddress"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"orderId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"OrderWithLines"}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"OrderWithLines"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}}]}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"OrderWithLines"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"couponCodes"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"OrderWithLines"}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} as unknown as DocumentNode; +export const GetOrderPlacedAtDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderPlacedAt"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedAt"}}]}}]}}]} as unknown as DocumentNode; +export const GetEntityDuplicatorsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetEntityDuplicators"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"entityDuplicators"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"requiresPermission"}},{"kind":"Field","name":{"kind":"Name","value":"forEntities"}},{"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":"defaultValue"}}]}}]}}]}}]} as unknown as DocumentNode; +export const DuplicateEntityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DuplicateEntity"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DuplicateEntityInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"duplicateEntity"},"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":"DuplicateEntitySuccess"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"newEntityId"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"DuplicateEntityError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"duplicationError"}}]}}]}}]}}]} as unknown as DocumentNode; +export const IdTest1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IdTest1"},"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":"take"},"value":{"kind":"IntValue","value":"5"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const IdTest2Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IdTest2"},"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":"take"},"value":{"kind":"IntValue","value":"1"}}]}}],"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"options"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const IdTest3Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IdTest3"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"T_1","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const IdTest4Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"IdTest4"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProduct"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"T_1","block":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"featuredAssetId"},"value":{"kind":"StringValue","value":"T_3","block":false}}]}}],"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const IdTest5Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"IdTest5"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProduct"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"T_1","block":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"translations"},"value":{"kind":"ListValue","values":[{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"T_1","block":false}},{"kind":"ObjectField","name":{"kind":"Name","value":"languageCode"},"value":{"kind":"EnumValue","value":"en"}},{"kind":"ObjectField","name":{"kind":"Name","value":"name"},"value":{"kind":"StringValue","value":"changed","block":false}}]}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; +export const IdTest6Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IdTest6"},"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"}}]}}]}}]} as unknown as DocumentNode; +export const IdTest7Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"IdTest7"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductInput"}}}}],"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const IdTest8Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"IdTest8"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProductInput"}}}}],"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode; +export const IdTest9Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IdTest9"},"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":"take"},"value":{"kind":"IntValue","value":"1"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment"},"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":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const IdTest10Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IdTest10"},"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":"take"},"value":{"kind":"IntValue","value":"1"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment1"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment2"},"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":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment1"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment2"}}]}}]} as unknown as DocumentNode; +export const IdTest11Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IdTest11"},"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":"take"},"value":{"kind":"IntValue","value":"1"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment1_1"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment3_1"},"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":"featuredAsset"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment2_1"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment3_1"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProdFragment1_1"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Product"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProdFragment2_1"}}]}}]} as unknown as DocumentNode; +export const GetFacetWithValueListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetFacetWithValueList"},"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":"FacetValueListOptions"}}}],"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"valueList"},"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":"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":"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 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 GetProductWithFacetValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductWithFacetValues"},"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":"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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 GetProductListWithVariantsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductListWithVariants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"products"},"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":"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":"totalItems"}}]}}]}}]} 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":"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":"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":"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":"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"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} 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":"Field","name":{"kind":"Name","value":"name"}}]}},{"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":"productCount"}},{"kind":"Field","name":{"kind":"Name","value":"variantCount"}}]}}]}}]}}]} 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":"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":"Customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const SearchProductsAdminDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchProductsAdmin"},"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":"description"}},{"kind":"Field","name":{"kind":"Name","value":"productVariantId"}},{"kind":"Field","name":{"kind":"Name","value":"productVariantName"}},{"kind":"Field","name":{"kind":"Name","value":"sku"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetOrderWithSellerOrdersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderWithSellerOrders"},"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":"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":"sellerOrders"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"aggregateOrderId"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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"}}]}}]}}]}}]}}]} 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":"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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]}}]} 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"}}}}],"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":"ProductWithVariants"}}]}}]}},{"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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":"FragmentDefinition","name":{"kind":"Name","value":"ProductWithVariants"},"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":"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":"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"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 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"}}}}],"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":"ProductWithVariants"}}]}}]}},{"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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":"FragmentDefinition","name":{"kind":"Name","value":"ProductWithVariants"},"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":"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":"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"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 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":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}},{"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":"ProductWithVariants"}}]}}]}},{"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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":"FragmentDefinition","name":{"kind":"Name","value":"ProductWithVariants"},"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":"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":"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"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 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":"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":"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"}}]}}]}}]} 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":"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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"}}]}}]}}]} 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":"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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"}}]}}]}}]} 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":"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 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":"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":"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":"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":"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":"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":"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 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":"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":"phoneNumber"}},{"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":"totalItems"}}]}}]}}]} 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":"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":"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"}}]}}]} 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":"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 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":"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":"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":"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":"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":"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":"Field","name":{"kind":"Name","value":"position"}}]}}]}}]} 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":"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":"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":"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":"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":"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":"Field","name":{"kind":"Name","value":"position"}}]}}]}}]} as unknown as DocumentNode; +export const GetCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomer"},"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":"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"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":"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":"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 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":"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":"InlineFragment","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"}}]}}]}}]}},{"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} 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":"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"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} 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":"Region"}},"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"}},{"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 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":"FacetWithValues"}}]}},{"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":"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":"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":"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 GetFacetListSimpleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetFacetListSimple"},"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":"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 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"}}]}}]}}]} 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":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}},{"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":"slug"}}]}}]}}]} as unknown as DocumentNode; +export const GetStockMovementDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetStockMovement"},"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":"FragmentSpread","name":{"kind":"Name","value":"VariantWithStock"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VariantWithStock"},"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":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockMovements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StockMovement"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; +export const GetRunningJobsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetRunningJobs"},"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"duration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} 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":"InlineFragment","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"}}]}}]}}]}},{"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":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"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":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"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 MeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Me"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]} 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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LanguageNotAvailableError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}}]}}]}}]}},{"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"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":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}}]}}]} 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 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":"FragmentSpread","name":{"kind":"Name","value":"ProductWithVariants"}}]}}]}},{"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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":"FragmentDefinition","name":{"kind":"Name","value":"ProductWithVariants"},"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":"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":"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"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 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":"FragmentSpread","name":{"kind":"Name","value":"ProductWithVariants"}}]}}]}},{"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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":"FragmentDefinition","name":{"kind":"Name","value":"ProductWithVariants"},"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":"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":"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}},{"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 AssignProductVariantsToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignProductVariantsToChannel"},"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":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}}]}},{"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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"}}]}}]}}]} as unknown as DocumentNode; +export const RemoveProductVariantsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveProductVariantsFromChannel"},"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":"FragmentSpread","name":{"kind":"Name","value":"ProductVariant"}}]}}]}},{"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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"}}]}}]}}]} 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":"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"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":"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":"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"}}]}}]} as unknown as DocumentNode; +export const DeleteAssetDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteAsset"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeleteAssetInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteAsset"},"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 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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LanguageNotAvailableError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}}]}}]}}]}},{"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"availableCurrencyCodes"}},{"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":"defaultTaxZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"pricesIncludeTax"}}]}}]} 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":"administrator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"data"}}]}}]}}]}}]}}]} 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":"OrderWithLines"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"customers"},"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":"totalItems"}}]}}]}}]} 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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"customers"},"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":"totalItems"}}]}}]}}]} 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":"ErrorResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CreateFulfillmentError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlerError"}}]}}]}}]}},{"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":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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 TransitFulfillmentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TransitFulfillment"},"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":"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":"Field","name":{"kind":"Name","value":"fromState"}},{"kind":"Field","name":{"kind":"Name","value":"toState"}}]}}]}}]}},{"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":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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 GetOrderFulfillmentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderFulfillments"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"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":"method"}},{"kind":"Field","name":{"kind":"Name","value":"summary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orderLine"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}}]}}]} 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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"totalQuantity"}},{"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 CreateAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateAddress"},"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":"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":"id"}}},{"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":"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":"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 UpdateAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateAddress"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"defaultBillingAddress"}},{"kind":"Field","name":{"kind":"Name","value":"country"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} 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":"InlineFragment","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"}}]}}]}}]}},{"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":"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":"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 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":"InlineFragment","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"}}]}}]}}]}},{"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":"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":"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 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"}}]}}]}}]} 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 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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"customers"},"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":"totalItems"}}]}}]}}]} 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 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":"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 GetCustomerGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerGroup"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"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":"totalItems"}}]}}]}}]}}]} 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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"customers"},"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":"totalItems"}}]}}]}}]} as unknown as DocumentNode; +export const GetCustomerWithGroupsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerWithGroups"},"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":"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":"groups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; +export const AdminTransitionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AdminTransition"},"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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"OrderStateTransitionError"}},"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":"Field","name":{"kind":"Name","value":"fromState"}},{"kind":"Field","name":{"kind":"Name","value":"toState"}}]}}]}}]}},{"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"totalQuantity"}},{"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 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":"CanceledOrder"}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CanceledOrder"},"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]} 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":"InlineFragment","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"}}]}}]}}]}},{"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":"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":"Customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CustomField"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} 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":"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 GetProductsWithVariantPricesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductsWithVariantPrices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"products"},"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":"slug"}},{"kind":"Field","name":{"kind":"Name","value":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"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":"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":"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":"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":"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"}}]}}]}}]} 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":"FragmentSpread","name":{"kind":"Name","value":"ProductWithOptions"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductWithOptions"},"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":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"code"}}]}}]}}]}}]} 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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"calculator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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"}}]}}]}}]}}]} 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":"InlineFragment","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"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SettlePaymentError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentErrorMessage"}}]}}]}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}}]} 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":"administrator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"data"}}]}}]}}]}}]}}]} 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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"calculator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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"}}]}}]}}]}}]} 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":"width"}},{"kind":"Field","name":{"kind":"Name","value":"height"}}]}}]}},{"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":"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"}}]}}]} as unknown as DocumentNode; +export const GetAssetFragmentFirstDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAssetFragmentFirst"},"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":"AssetFragFirst"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AssetFragFirst"},"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":"preview"}}]}}]} 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":"AssetWithTagsAndFocalPoint"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"MimeTypeError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"fileName"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}}]}}]}}]}},{"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":"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":"FragmentDefinition","name":{"kind":"Name","value":"AssetWithTagsAndFocalPoint"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Asset"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Asset"}},{"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":"tags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]} 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 AssignPromotionToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignPromotionToChannel"},"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 RemovePromotionFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemovePromotionFromChannel"},"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 GetTaxRatesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxRates"},"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":"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 GetShippingMethodListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetShippingMethodList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingMethods"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingMethod"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"calculator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collections"},"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":"position"}},{"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"}}]}}]}}]}}]}}]} 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":"InlineFragment","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"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}}]} 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":"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":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} 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"}}]}}]}}]} as unknown as DocumentNode; +export const GetChannelsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetChannels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"channels"},"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":"token"}}]}}]}}]}}]} 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":"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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"permissions"}}]}}]}}]}}]} 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":"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":"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":"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":"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":"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":"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":"Field","name":{"kind":"Name","value":"position"}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollection"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"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":"collection"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Collection"}},{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}}]}}]}}]}},{"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":"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":"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":"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":"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":"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":"Field","name":{"kind":"Name","value":"position"}}]}}]}}]} as unknown as DocumentNode; +export const GetFacetWithValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetFacetWithValues"},"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":"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":"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":"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 GetPromotionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPromotion"},"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":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"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":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"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 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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"kind":"Field","name":{"kind":"Name","value":"settledAt"}}]}}]}}]} as unknown as DocumentNode; +export const UpdateOptionGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOptionGroup"},"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":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const GetFulfillmentHandlersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetFulfillmentHandlers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"fulfillmentHandlers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"description"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetOrderWithModificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderWithModifications"},"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":"OrderWithModifications"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithModifications"},"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedLinePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}}]}},{"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":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"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":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}}]}},{"kind":"Field","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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"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":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"discountedPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} 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":"OrderWithModifications"}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithModifications"},"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedLinePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}}]}},{"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":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"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":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}}]}},{"kind":"Field","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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"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":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"discountedPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} 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":"OrderWithModifications"}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithModifications"},"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"subTotal"}},{"kind":"Field","name":{"kind":"Name","value":"subTotalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"shippingWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}},{"kind":"Field","name":{"kind":"Name","value":"orderPlacedQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"linePrice"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discountedLinePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedLinePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"proratedUnitPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"amountWithTax"}}]}},{"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":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"modifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"note"}},{"kind":"Field","name":{"kind":"Name","value":"priceChange"}},{"kind":"Field","name":{"kind":"Name","value":"isSettled"}},{"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":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"method"}}]}},{"kind":"Field","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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"paymentId"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotions"},"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":"discounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"billingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streetLine1"}},{"kind":"Field","name":{"kind":"Name","value":"city"}},{"kind":"Field","name":{"kind":"Name","value":"postalCode"}},{"kind":"Field","name":{"kind":"Name","value":"province"}},{"kind":"Field","name":{"kind":"Name","value":"countryCode"}},{"kind":"Field","name":{"kind":"Name","value":"country"}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"discountedPriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"shippingMethod"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; +export const DeletePromotionAdHoc1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeletePromotionAdHoc1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deletePromotion"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} 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":"Field","name":{"kind":"Name","value":"id"}},{"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 GetOrderWithLineCalculatedPropsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderWithLineCalculatedProps"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetOrderListFulfillmentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderListFulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"orders"},"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":"state"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"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":"method"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetOrderFulfillmentItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderFulfillmentItems"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Fulfillment"}}]}}]}}]}},{"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":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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 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":"InlineFragment","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"}}]}}]}}]}},{"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":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]} 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":"InlineFragment","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"}}]}}]}}]}},{"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":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]} 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 GetOrderWithPaymentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderWithPayments"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"total"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetOrderLineFulfillmentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderLineFulfillments"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fulfillmentLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","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":"orderLineId"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetOrderListWithQtyDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOrderListWithQty"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"totalQuantity"}},{"kind":"Field","name":{"kind":"Name","value":"lines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}}]}}]}}]} 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":"paymentId"}},"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":"paymentId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}},{"kind":"InlineFragment","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"}}]}},{"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":"CancelPaymentError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentErrorMessage"}}]}}]}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}}]} as unknown as DocumentNode; +export const SetOrderCustomerDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetOrderCustomer"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SetOrderCustomerInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setOrderCustomer"},"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":"customer"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} 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":"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":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"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 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":"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":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"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 GetPaymentMethodHandlersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPaymentMethodHandlers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentMethodHandlers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetPaymentMethodCheckersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPaymentMethodCheckers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"paymentMethodEligibilityCheckers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetPaymentMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetPaymentMethod"},"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":"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":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"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 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":"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":"PaymentMethod"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"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":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"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 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":"message"}},{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} as unknown as DocumentNode; +export const AddManualPayment2Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddManualPayment2"},"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":"OrderWithLines"}},{"kind":"InlineFragment","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"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ShippingAddress"},"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":"phoneNumber"}}]}},{"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":"nextStates"}},{"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":"total"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"OrderWithLines"},"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"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":"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":"taxLines"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"taxRate"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unitPrice"}},{"kind":"Field","name":{"kind":"Name","value":"unitPriceWithTax"}},{"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":"taxRate"}},{"kind":"Field","name":{"kind":"Name","value":"linePriceWithTax"}}]}},{"kind":"Field","name":{"kind":"Name","value":"surcharges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"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":"totalQuantity"}},{"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":"priceWithTax"}},{"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":"description"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"shippingAddress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ShippingAddress"}}]}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Payment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"fulfillments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"trackingCode"}},{"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":"total"}}]}}]} 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":"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":"options"},"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"}}]}}]}}]}}]} 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":"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":"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"}}]}}]}}]} as unknown as DocumentNode; +export const CreateProductOptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateProductOption"},"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":"code"}},{"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 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":"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":"groupId"}}]}}]}}]} 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 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":"FragmentSpread","name":{"kind":"Name","value":"ProductWithOptions"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProductOptionInUseError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"errorCode"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"optionGroupCode"}},{"kind":"Field","name":{"kind":"Name","value":"productVariantCount"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProductWithOptions"},"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":"optionGroups"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"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":"code"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetOptionGroupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetOptionGroup"},"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"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"}}]}}]}}]} as unknown as DocumentNode; +export const GetProductWithVariantListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductWithVariantList"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"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":"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":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}},{"kind":"Field","name":{"kind":"Name","value":"priceWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"prices"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}},{"kind":"Field","name":{"kind":"Name","value":"price"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"trackInventory"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"languageCode"}},{"kind":"Field","name":{"kind":"Name","value":"groupId"}},{"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"}}]}}]}}]} 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":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"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":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"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 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":"InlineFragment","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"}}]}}]}}]}},{"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":"couponCode"}},{"kind":"Field","name":{"kind":"Name","value":"startsAt"}},{"kind":"Field","name":{"kind":"Name","value":"endsAt"}},{"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":"perCustomerUsageLimit"}},{"kind":"Field","name":{"kind":"Name","value":"usageLimit"}},{"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 GetAdjustmentOperationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAdjustmentOperations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"promotionActions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ConfigurableOperationDef"}}]}},{"kind":"Field","name":{"kind":"Name","value":"promotionConditions"},"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":"ui"}}]}},{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} 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":"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 GetRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetRole"},"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":"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 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 GetShippingMethodDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetShippingMethod"},"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":"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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"calculator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetEligibilityCheckersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetEligibilityCheckers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingEligibilityCheckers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"description"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCalculatorsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCalculators"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"shippingCalculators"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"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":"description"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"ui"}}]}}]}}]}}]} 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 TestEligibleMethodsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TestEligibleMethods"},"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":"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 GetMeDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetMe"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"me"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"identifier"}}]}}]}}]} as unknown as DocumentNode; +export const GetProductsTake3Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductsTake3"},"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":"take"},"value":{"kind":"IntValue","value":"3"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetProduct1Document = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProduct1"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"T_1","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const GetProduct2VariantsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProduct2Variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"T_2","block":false}}],"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetProductCollectionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"product"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"StringValue","value":"T_12","block":false}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionShopDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionShop"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"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"}}},{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"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":"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 DisableProductDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DisableProduct"},"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":"updateProduct"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"enabled"},"value":{"kind":"BooleanValue","value":false}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionVariantsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionVariants"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"slug"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"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"}}},{"kind":"Argument","name":{"kind":"Name","value":"slug"},"value":{"kind":"Variable","name":{"kind":"Name","value":"slug"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"productVariants"},"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"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collections"},"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetProductFacetValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProductFacetValues"},"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":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetVariantFacetValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetVariantFacetValues"},"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":"variants"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"facetValues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetCustomerIdsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCustomerIds"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"customers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetStockLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetStockLocation"},"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":"StockLocation"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocation"},"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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; +export const GetStockLocationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetStockLocations"},"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":"StockLocation"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocation"},"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":"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":"StockLocation"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocation"},"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":"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":"StockLocation"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"StockLocation"},"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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]} as unknown as DocumentNode; +export const GetVariantStockLevelsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetVariantStockLevels"},"variableDefinitions":[{"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":"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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}},{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const UpdateStockDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateStock"},"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":"VariantWithStock"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VariantWithStock"},"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":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockMovements"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"StockMovement"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"quantity"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} 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":"InlineFragment","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":"InlineFragment","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"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FulfillmentStateTransitionError"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"transitionError"}}]}}]}}]}}]} 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":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Order"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; +export const TestGetStockLocationsListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TestGetStockLocationsList"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} as unknown as DocumentNode; +export const TestGetStockLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TestGetStockLocation"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode; +export const TestCreateStockLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TestCreateStockLocation"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode; +export const TestUpdateStockLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TestUpdateStockLocation"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}}]}}]}}]} as unknown as DocumentNode; +export const TestDeleteStockLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TestDeleteStockLocation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"DeleteStockLocationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteStockLocation"},"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 TestGetStockLevelsForVariantDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"TestGetStockLevelsForVariant"},"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":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}}]}}]}}]}}]} as unknown as DocumentNode; +export const TestSetStockLevelInLocationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TestSetStockLevelInLocation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"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":"ListValue","values":[{"kind":"Variable","name":{"kind":"Name","value":"input"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"stockLevels"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"stockOnHand"}},{"kind":"Field","name":{"kind":"Name","value":"stockAllocated"}},{"kind":"Field","name":{"kind":"Name","value":"stockLocationId"}}]}}]}}]}}]} as unknown as DocumentNode; +export const TestAssignStockLocationToChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TestAssignStockLocationToChannel"},"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 TestRemoveStockLocationsFromChannelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TestRemoveStockLocationsFromChannel"},"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 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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} 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":"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":"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":"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 GetTaxCategoryListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxCategoryList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"taxCategories"},"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":"isDefault"}}]}}]}}]}}]} as unknown as DocumentNode; +export const GetTaxCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxCategory"},"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"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":"Field","name":{"kind":"Name","value":"id"}},{"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 GetTaxRateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTaxRate"},"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":"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 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":"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 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":"result"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]} as unknown as DocumentNode; +export const GetZonesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetZones"},"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":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"totalItems"}}]}}]}}]} 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":"Region"}},"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"}},{"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":"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 GetActiveChannelWithZoneMembersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetActiveChannelWithZoneMembers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeChannel"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"defaultShippingZone"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} 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":"Region"}},"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"}},{"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":"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":"Region"}},"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"}},{"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":"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 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":"Region"}},"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"}},{"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":"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":"Region"}},"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"}},{"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":"name"}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Country"}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/packages/core/e2e/graphql/generated-e2e-shop-types.ts b/packages/core/e2e/graphql/generated-e2e-shop-types.ts index cfee028bcb..3124556064 100644 --- a/packages/core/e2e/graphql/generated-e2e-shop-types.ts +++ b/packages/core/e2e/graphql/generated-e2e-shop-types.ts @@ -147,7 +147,6 @@ export type BooleanStructFieldConfig = StructField & { label?: Maybe>; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -877,7 +876,6 @@ export type DateTimeStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -927,6 +925,7 @@ export enum ErrorCode { NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', NOT_VERIFIED_ERROR = 'NOT_VERIFIED_ERROR', NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', + ORDER_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_ERROR', ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', ORDER_PAYMENT_STATE_ERROR = 'ORDER_PAYMENT_STATE_ERROR', @@ -1115,7 +1114,6 @@ export type FloatStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -1300,7 +1298,6 @@ export type IntStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -2059,6 +2056,13 @@ export type OrderFilterParameter = { updatedAt?: InputMaybe; }; +/** Returned when an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; +}; + /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { errorCode: ErrorCode; @@ -2953,7 +2957,7 @@ export type RelationCustomFieldConfig = CustomField & { ui?: Maybe; }; -export type RemoveOrderItemsResult = Order | OrderModificationError; +export type RemoveOrderItemsResult = Order | OrderInterceptorError | OrderModificationError; export type RequestPasswordResetResult = NativeAuthStrategyError | Success; @@ -3173,7 +3177,6 @@ export type StringStructFieldConfig = StructField & { length?: Maybe; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; options?: Maybe>; pattern?: Maybe; type: Scalars['String']['output']; @@ -3199,7 +3202,6 @@ export type StructField = { label?: Maybe>; list?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -3291,7 +3293,6 @@ export type TextStructFieldConfig = StructField & { label?: Maybe>; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -3349,6 +3350,7 @@ export type UpdateOrderItemsResult = | InsufficientStockError | NegativeQuantityError | Order + | OrderInterceptorError | OrderLimitError | OrderModificationError; @@ -3561,6 +3563,7 @@ export type AddItemToOrderMutation = { type: AdjustmentType; }>; } + | { errorCode: ErrorCode; message: string; interceptorError: string } | { errorCode: ErrorCode; message: string } | { errorCode: ErrorCode; message: string }; }; @@ -3858,6 +3861,7 @@ export type AdjustItemQuantityMutation = { customer?: { id: string; user?: { id: string; identifier: string } | null } | null; history: { items: Array<{ id: string; type: HistoryEntryType; data: any }> }; } + | { errorCode: ErrorCode; message: string; interceptorError: string } | { errorCode: ErrorCode; message: string } | { errorCode: ErrorCode; message: string }; }; @@ -3915,6 +3919,7 @@ export type RemoveItemFromOrderMutation = { customer?: { id: string; user?: { id: string; identifier: string } | null } | null; history: { items: Array<{ id: string; type: HistoryEntryType; data: any }> }; } + | { errorCode: ErrorCode; message: string; interceptorError: string } | { errorCode: ErrorCode; message: string }; }; @@ -4875,6 +4880,7 @@ export type RemoveAllOrderLinesMutation = { customer?: { id: string; user?: { id: string; identifier: string } | null } | null; history: { items: Array<{ id: string; type: HistoryEntryType; data: any }> }; } + | { errorCode: ErrorCode; message: string } | { errorCode: ErrorCode; message: string }; }; @@ -5562,6 +5568,22 @@ export const AddItemToOrderDocument = { ], }, }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'OrderInterceptorError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'interceptorError' }, + }, + ], + }, + }, ], }, }, @@ -6964,6 +6986,22 @@ export const AdjustItemQuantityDocument = { ], }, }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'OrderInterceptorError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'interceptorError' }, + }, + ], + }, + }, ], }, }, @@ -7173,6 +7211,22 @@ export const RemoveItemFromOrderDocument = { ], }, }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'OrderInterceptorError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'interceptorError' }, + }, + ], + }, + }, ], }, }, diff --git a/packages/core/e2e/graphql/shop-definitions.ts b/packages/core/e2e/graphql/shop-definitions.ts index c81fade67d..acc7aee2ad 100644 --- a/packages/core/e2e/graphql/shop-definitions.ts +++ b/packages/core/e2e/graphql/shop-definitions.ts @@ -122,6 +122,9 @@ export const ADD_ITEM_TO_ORDER = gql` ...UpdatedOrder } } + ... on OrderInterceptorError { + interceptorError + } } } ${UPDATED_ORDER_FRAGMENT} @@ -372,6 +375,9 @@ export const ADJUST_ITEM_QUANTITY = gql` errorCode message } + ... on OrderInterceptorError { + interceptorError + } } } ${TEST_ORDER_FRAGMENT} @@ -385,6 +391,9 @@ export const REMOVE_ITEM_FROM_ORDER = gql` errorCode message } + ... on OrderInterceptorError { + interceptorError + } } } ${TEST_ORDER_FRAGMENT} diff --git a/packages/core/e2e/order-interceptor.e2e-spec.ts b/packages/core/e2e/order-interceptor.e2e-spec.ts new file mode 100644 index 0000000000..b217ae049c --- /dev/null +++ b/packages/core/e2e/order-interceptor.e2e-spec.ts @@ -0,0 +1,290 @@ +import { + mergeConfig, + Order, + OrderInterceptor, + OrderLine, + RequestContext, + WillAddItemToOrderInput, + WillAdjustOrderLineInput, +} from '@vendure/core'; +import { createErrorResultGuard, createTestEnvironment, ErrorResultGuard } from '@vendure/testing'; +import path from 'path'; +import { afterAll, beforeAll, describe, expect, it, vi } from 'vitest'; + +import { initialData } from '../../../e2e-common/e2e-initial-data'; +import { TEST_SETUP_TIMEOUT_MS, testConfig } from '../../../e2e-common/test-config'; + +import * as CodegenShop from './graphql/generated-e2e-shop-types'; +import { + ADD_ITEM_TO_ORDER, + ADJUST_ITEM_QUANTITY, + GET_ACTIVE_ORDER, + REMOVE_ITEM_FROM_ORDER, +} from './graphql/shop-definitions'; + +class Interceptor1 implements OrderInterceptor { + willAddItemToOrderSpy = vi.fn(); + willAdjustOrderLineSpy = vi.fn(); + willRemoveItemFromOrderSpy = vi.fn(); + + willAddItemToOrder( + ctx: RequestContext, + order: Order, + input: WillAddItemToOrderInput, + ): Promise { + this.willAddItemToOrderSpy(ctx, order, input); + return Promise.resolve(); + } + + willAdjustOrderLine( + ctx: RequestContext, + order: Order, + input: WillAdjustOrderLineInput, + ): Promise { + this.willAdjustOrderLineSpy(ctx, order, input); + return Promise.resolve(); + } + + willRemoveItemFromOrder(ctx: RequestContext, order: Order, orderLine: OrderLine): Promise { + this.willRemoveItemFromOrderSpy(ctx, order, orderLine); + return Promise.resolve(); + } +} + +class Interceptor2 implements OrderInterceptor { + async willAddItemToOrder(ctx: RequestContext, order: Order, input: WillAddItemToOrderInput) { + if (input.productVariant.id === 2 && input.quantity < 2) { + return 'Quantity must be at least 2'; + } + } + + async willAdjustOrderLine( + ctx: RequestContext, + order: Order, + input: WillAdjustOrderLineInput, + ): Promise { + if (input.orderLine.productVariant.id === 2 && input.quantity < 2) { + return 'Quantity must be at least 2'; + } + } + + async willRemoveItemFromOrder( + ctx: RequestContext, + order: Order, + orderLine: OrderLine, + ): Promise { + const overridden = ctx.req?.query?.overridden; + if (overridden) { + return; + } + if (orderLine.productVariant.id === 2) { + return 'Cannot remove this item'; + } + } +} + +type OrderSuccessResult = + | CodegenShop.UpdatedOrderFragment + | CodegenShop.TestOrderFragmentFragment + | CodegenShop.TestOrderWithPaymentsFragment + | CodegenShop.ActiveOrderCustomerFragment + | CodegenShop.OrderWithAddressesFragment; +const orderResultGuard: ErrorResultGuard = createErrorResultGuard(input => !!input.lines); + +describe('Order interceptor', () => { + const interceptor1 = new Interceptor1(); + const interceptor2 = new Interceptor2(); + + const { server, adminClient, shopClient } = createTestEnvironment( + mergeConfig(testConfig(), { + orderOptions: { + orderInterceptors: [interceptor1, interceptor2], + }, + }), + ); + + beforeAll(async () => { + await server.init({ + initialData, + productsCsvPath: path.join(__dirname, 'fixtures/e2e-products-full.csv'), + customerCount: 1, + }); + }, TEST_SETUP_TIMEOUT_MS); + + afterAll(async () => { + await server.destroy(); + }); + + it('willAddItemToOrder', async () => { + const { addItemToOrder } = await shopClient.query< + CodegenShop.AddItemToOrderMutation, + CodegenShop.AddItemToOrderMutationVariables + >(ADD_ITEM_TO_ORDER, { + productVariantId: 'T_1', + quantity: 1, + }); + + orderResultGuard.assertSuccess(addItemToOrder); + expect(addItemToOrder.lines.length).toBe(1); + + expect(interceptor1.willAddItemToOrderSpy).toHaveBeenCalled(); + expect(interceptor1.willAddItemToOrderSpy.mock.calls[0][0]).toBeInstanceOf(RequestContext); + expect(interceptor1.willAddItemToOrderSpy.mock.calls[0][1]).toBeInstanceOf(Order); + expect(interceptor1.willAddItemToOrderSpy.mock.calls[0][2].quantity).toBe(1); + expect(interceptor1.willAddItemToOrderSpy.mock.calls[0][2].productVariant.id).toBe(1); + expect(interceptor1.willAddItemToOrderSpy.mock.calls[0][2].customFields).toBeUndefined(); + }); + + it('willAdjustOrderLine', async () => { + const { adjustOrderLine } = await shopClient.query< + CodegenShop.AdjustItemQuantityMutation, + CodegenShop.AdjustItemQuantityMutationVariables + >(ADJUST_ITEM_QUANTITY, { + orderLineId: 'T_1', + quantity: 2, + }); + + orderResultGuard.assertSuccess(adjustOrderLine); + + expect(interceptor1.willAdjustOrderLineSpy).toHaveBeenCalled(); + expect(interceptor1.willAdjustOrderLineSpy.mock.calls[0][0]).toBeInstanceOf(RequestContext); + expect(interceptor1.willAdjustOrderLineSpy.mock.calls[0][1]).toBeInstanceOf(Order); + expect(interceptor1.willAdjustOrderLineSpy.mock.calls[0][2].quantity).toBe(2); + expect(interceptor1.willAdjustOrderLineSpy.mock.calls[0][2].orderLine.id).toBe(1); + expect(interceptor1.willAdjustOrderLineSpy.mock.calls[0][2].customFields).toBeUndefined(); + }); + + it('willRemoveItemFromOrder', async () => { + const { removeOrderLine } = await shopClient.query< + CodegenShop.RemoveItemFromOrderMutation, + CodegenShop.RemoveItemFromOrderMutationVariables + >(REMOVE_ITEM_FROM_ORDER, { + orderLineId: 'T_1', + }); + + orderResultGuard.assertSuccess(removeOrderLine); + + expect(interceptor1.willRemoveItemFromOrderSpy).toHaveBeenCalled(); + expect(interceptor1.willRemoveItemFromOrderSpy.mock.calls[0][0]).toBeInstanceOf(RequestContext); + expect(interceptor1.willRemoveItemFromOrderSpy.mock.calls[0][1]).toBeInstanceOf(Order); + expect(interceptor1.willRemoveItemFromOrderSpy.mock.calls[0][2].productVariant.id).toEqual(1); + }); + + it('willAddItemToOrder with error', async () => { + const { addItemToOrder } = await shopClient.query< + CodegenShop.AddItemToOrderMutation, + CodegenShop.AddItemToOrderMutationVariables + >(ADD_ITEM_TO_ORDER, { + productVariantId: 'T_2', + quantity: 1, + }); + + orderResultGuard.assertErrorResult(addItemToOrder); + expect(addItemToOrder.message).toBe('An error occurred when attempting to modify the Order'); + expect(addItemToOrder.interceptorError).toBe('Quantity must be at least 2'); + }); + + it('item was not added to order', async () => { + const { activeOrder } = await shopClient.query(GET_ACTIVE_ORDER); + + orderResultGuard.assertSuccess(activeOrder); + expect(activeOrder.lines.length).toBe(0); + }); + + it('add item that passes interceptor check', async () => { + const { addItemToOrder } = await shopClient.query< + CodegenShop.AddItemToOrderMutation, + CodegenShop.AddItemToOrderMutationVariables + >(ADD_ITEM_TO_ORDER, { + productVariantId: 'T_2', + quantity: 2, + }); + + orderResultGuard.assertSuccess(addItemToOrder); + expect(addItemToOrder.lines.length).toBe(1); + }); + + it('willAdjustOrderLine with error', async () => { + const { adjustOrderLine } = await shopClient.query< + CodegenShop.AdjustItemQuantityMutation, + CodegenShop.AdjustItemQuantityMutationVariables + >(ADJUST_ITEM_QUANTITY, { + orderLineId: 'T_2', + quantity: 1, + }); + + orderResultGuard.assertErrorResult(adjustOrderLine); + + expect(adjustOrderLine.message).toBe('An error occurred when attempting to modify the Order'); + expect(adjustOrderLine.interceptorError).toBe('Quantity must be at least 2'); + }); + + it('item was not adjusted', async () => { + const { activeOrder } = await shopClient.query(GET_ACTIVE_ORDER); + + orderResultGuard.assertSuccess(activeOrder); + expect(activeOrder.lines.length).toBe(1); + expect(activeOrder.lines[0].quantity).toBe(2); + }); + + it('adjust item that passes interceptor check', async () => { + const { adjustOrderLine } = await shopClient.query< + CodegenShop.AdjustItemQuantityMutation, + CodegenShop.AdjustItemQuantityMutationVariables + >(ADJUST_ITEM_QUANTITY, { + orderLineId: 'T_2', + quantity: 5, + }); + + orderResultGuard.assertSuccess(adjustOrderLine); + expect(adjustOrderLine.lines.length).toBe(1); + expect(adjustOrderLine.lines[0].quantity).toBe(5); + }); + + it('willRemoveItemFromOrder with error', async () => { + const { removeOrderLine } = await shopClient.query< + CodegenShop.RemoveItemFromOrderMutation, + CodegenShop.RemoveItemFromOrderMutationVariables + >(REMOVE_ITEM_FROM_ORDER, { + orderLineId: 'T_2', + }); + + orderResultGuard.assertErrorResult(removeOrderLine); + + expect(removeOrderLine.message).toBe('An error occurred when attempting to modify the Order'); + expect(removeOrderLine.interceptorError).toBe('Cannot remove this item'); + }); + + it('item was not removed', async () => { + const { activeOrder } = await shopClient.query(GET_ACTIVE_ORDER); + + orderResultGuard.assertSuccess(activeOrder); + expect(activeOrder.lines.length).toBe(1); + expect(activeOrder.lines[0].quantity).toBe(5); + }); + + it('remove item that passes interceptor check', async () => { + const { removeOrderLine } = await shopClient.query< + CodegenShop.RemoveItemFromOrderMutation, + CodegenShop.RemoveItemFromOrderMutationVariables + >( + REMOVE_ITEM_FROM_ORDER, + { + orderLineId: 'T_2', + }, + { + overridden: 1, + }, + ); + + orderResultGuard.assertSuccess(removeOrderLine); + expect(removeOrderLine.lines.length).toBe(0); + }); + + it('item was removed', async () => { + const { activeOrder } = await shopClient.query(GET_ACTIVE_ORDER); + + orderResultGuard.assertSuccess(activeOrder); + expect(activeOrder.lines.length).toBe(0); + }); +}); diff --git a/packages/core/src/api/common/validate-custom-field-value.ts b/packages/core/src/api/common/validate-custom-field-value.ts index 10859c380d..26554045c5 100644 --- a/packages/core/src/api/common/validate-custom-field-value.ts +++ b/packages/core/src/api/common/validate-custom-field-value.ts @@ -143,7 +143,7 @@ function validateStringField( const options = (config as StringCustomFieldConfig).options; if (options) { const validOptions = options.map(o => o.value); - if (value === null && config.nullable === true) { + if (value === null && (config as StringCustomFieldConfig).nullable === true) { return; } if (!validOptions.includes(value)) { diff --git a/packages/core/src/api/config/graphql-custom-fields.ts b/packages/core/src/api/config/graphql-custom-fields.ts index dfd5e42e70..7d16a74978 100644 --- a/packages/core/src/api/config/graphql-custom-fields.ts +++ b/packages/core/src/api/config/graphql-custom-fields.ts @@ -404,17 +404,44 @@ export function addOrderLineCustomFieldsInput( if (!mutationType) { return schema; } + const structFields = orderLineCustomFields.filter( + (f): f is StructCustomFieldConfig => f.type === 'struct', + ); + const structInputTypes: GraphQLInputObjectType[] = []; + if (0 < structFields.length) { + for (const structField of structFields) { + const structInputName = getStructInputName('OrderLine', structField); + structInputTypes.push( + new GraphQLInputObjectType({ + name: structInputName, + fields: structField.fields.reduce((fields, field) => { + const name = getGraphQlInputName(field); + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + const primitiveType = schema.getType(getGraphQlInputType('OrderLine')(field))!; + const type = field.list === true ? new GraphQLList(primitiveType) : primitiveType; + return { ...fields, [name]: { type } }; + }, {}), + }), + ); + } + } const input = new GraphQLInputObjectType({ name: 'OrderLineCustomFieldsInput', fields: publicCustomFields.reduce((fields, field) => { const name = getGraphQlInputName(field); + const inputTypeName = getGraphQlInputType('OrderLine')(field); // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - const primitiveType = schema.getType(getGraphQlInputType('OrderLine')(field))!; - const type = field.list === true ? new GraphQLList(primitiveType) : primitiveType; + const inputType = + schema.getType(getGraphQlInputType('OrderLine')(field)) ?? + structInputTypes.find(t => t.name === inputTypeName); + if (!inputType) { + throw new Error(`Could not find input type for field ${field.name}`); + } + const type = field.list === true ? new GraphQLList(inputType) : inputType; return { ...fields, [name]: { type } }; }, {}), }); - schemaConfig.types = [...schemaConfig.types, input]; + schemaConfig.types = [...schemaConfig.types, ...structInputTypes, input]; const addItemToOrderMutation = mutationType.getFields().addItemToOrder; const adjustOrderLineMutation = mutationType.getFields().adjustOrderLine; diff --git a/packages/core/src/api/schema/common/common-error-results.graphql b/packages/core/src/api/schema/common/common-error-results.graphql index 6fe35d4d8d..ec28b924a5 100644 --- a/packages/core/src/api/schema/common/common-error-results.graphql +++ b/packages/core/src/api/schema/common/common-error-results.graphql @@ -96,3 +96,12 @@ type NoActiveOrderError implements ErrorResult { errorCode: ErrorCode! message: String! } + +""" +Returned when an order operation is rejected by an OrderInterceptor method. +""" +type OrderInterceptorError implements ErrorResult { + errorCode: ErrorCode! + message: String! + interceptorError: String! +} diff --git a/packages/core/src/api/schema/common/common-types.graphql b/packages/core/src/api/schema/common/common-types.graphql index 1189fd8933..6f1329126e 100644 --- a/packages/core/src/api/schema/common/common-types.graphql +++ b/packages/core/src/api/schema/common/common-types.graphql @@ -274,7 +274,8 @@ union UpdateOrderItemsResult = | OrderLimitError | NegativeQuantityError | InsufficientStockError -union RemoveOrderItemsResult = Order | OrderModificationError + | OrderInterceptorError +union RemoveOrderItemsResult = Order | OrderModificationError | OrderInterceptorError union SetOrderShippingMethodResult = Order | OrderModificationError diff --git a/packages/core/src/common/error/generated-graphql-admin-errors.ts b/packages/core/src/common/error/generated-graphql-admin-errors.ts index c199e8f1d2..8810a253ed 100644 --- a/packages/core/src/common/error/generated-graphql-admin-errors.ts +++ b/packages/core/src/common/error/generated-graphql-admin-errors.ts @@ -403,6 +403,19 @@ export class NothingToRefundError extends ErrorResult { } } +export class OrderInterceptorError extends ErrorResult { + readonly __typename = 'OrderInterceptorError'; + readonly errorCode = 'ORDER_INTERCEPTOR_ERROR' as any; + readonly message = 'ORDER_INTERCEPTOR_ERROR'; + readonly interceptorError: Scalars['String']; + constructor( + input: { interceptorError: Scalars['String'] } + ) { + super(); + this.interceptorError = input.interceptorError + } +} + export class OrderLimitError extends ErrorResult { readonly __typename = 'OrderLimitError'; readonly errorCode = 'ORDER_LIMIT_ERROR' as any; @@ -588,7 +601,7 @@ export class SettlePaymentError extends ErrorResult { } -const errorTypeNames = new Set(['AlreadyRefundedError', 'CancelActiveOrderError', 'CancelPaymentError', 'ChannelDefaultLanguageError', 'CouponCodeExpiredError', 'CouponCodeInvalidError', 'CouponCodeLimitError', 'CreateFulfillmentError', 'DuplicateEntityError', 'EmailAddressConflictError', 'EmptyOrderLineSelectionError', 'FacetInUseError', 'FulfillmentStateTransitionError', 'GuestCheckoutError', 'IneligibleShippingMethodError', 'InsufficientStockError', 'InsufficientStockOnHandError', 'InvalidCredentialsError', 'InvalidFulfillmentHandlerError', 'ItemsAlreadyFulfilledError', 'LanguageNotAvailableError', 'ManualPaymentStateError', 'MimeTypeError', 'MissingConditionsError', 'MultipleOrderError', 'NativeAuthStrategyError', 'NegativeQuantityError', 'NoActiveOrderError', 'NoChangesSpecifiedError', 'NothingToRefundError', 'OrderLimitError', 'OrderModificationError', 'OrderModificationStateError', 'OrderStateTransitionError', 'PaymentMethodMissingError', 'PaymentOrderMismatchError', 'PaymentStateTransitionError', 'ProductOptionInUseError', 'QuantityTooGreatError', 'RefundAmountError', 'RefundOrderStateError', 'RefundPaymentIdMissingError', 'RefundStateTransitionError', 'SettlePaymentError']); +const errorTypeNames = new Set(['AlreadyRefundedError', 'CancelActiveOrderError', 'CancelPaymentError', 'ChannelDefaultLanguageError', 'CouponCodeExpiredError', 'CouponCodeInvalidError', 'CouponCodeLimitError', 'CreateFulfillmentError', 'DuplicateEntityError', 'EmailAddressConflictError', 'EmptyOrderLineSelectionError', 'FacetInUseError', 'FulfillmentStateTransitionError', 'GuestCheckoutError', 'IneligibleShippingMethodError', 'InsufficientStockError', 'InsufficientStockOnHandError', 'InvalidCredentialsError', 'InvalidFulfillmentHandlerError', 'ItemsAlreadyFulfilledError', 'LanguageNotAvailableError', 'ManualPaymentStateError', 'MimeTypeError', 'MissingConditionsError', 'MultipleOrderError', 'NativeAuthStrategyError', 'NegativeQuantityError', 'NoActiveOrderError', 'NoChangesSpecifiedError', 'NothingToRefundError', 'OrderInterceptorError', 'OrderLimitError', 'OrderModificationError', 'OrderModificationStateError', 'OrderStateTransitionError', 'PaymentMethodMissingError', 'PaymentOrderMismatchError', 'PaymentStateTransitionError', 'ProductOptionInUseError', 'QuantityTooGreatError', 'RefundAmountError', 'RefundOrderStateError', 'RefundPaymentIdMissingError', 'RefundStateTransitionError', 'SettlePaymentError']); function isGraphQLError(input: any): input is import('@vendure/common/lib/generated-types').ErrorResult { return input instanceof ErrorResult || errorTypeNames.has(input.__typename); } diff --git a/packages/core/src/common/error/generated-graphql-shop-errors.ts b/packages/core/src/common/error/generated-graphql-shop-errors.ts index 9be2710946..2619096430 100644 --- a/packages/core/src/common/error/generated-graphql-shop-errors.ts +++ b/packages/core/src/common/error/generated-graphql-shop-errors.ts @@ -224,6 +224,19 @@ export class NotVerifiedError extends ErrorResult { } } +export class OrderInterceptorError extends ErrorResult { + readonly __typename = 'OrderInterceptorError'; + readonly errorCode = 'ORDER_INTERCEPTOR_ERROR' as any; + readonly message = 'ORDER_INTERCEPTOR_ERROR'; + readonly interceptorError: Scalars['String']; + constructor( + input: { interceptorError: Scalars['String'] } + ) { + super(); + this.interceptorError = input.interceptorError + } +} + export class OrderLimitError extends ErrorResult { readonly __typename = 'OrderLimitError'; readonly errorCode = 'ORDER_LIMIT_ERROR' as any; @@ -371,7 +384,7 @@ export class VerificationTokenInvalidError extends ErrorResult { } -const errorTypeNames = new Set(['AlreadyLoggedInError', 'CouponCodeExpiredError', 'CouponCodeInvalidError', 'CouponCodeLimitError', 'EmailAddressConflictError', 'GuestCheckoutError', 'IdentifierChangeTokenExpiredError', 'IdentifierChangeTokenInvalidError', 'IneligiblePaymentMethodError', 'IneligibleShippingMethodError', 'InsufficientStockError', 'InvalidCredentialsError', 'MissingPasswordError', 'NativeAuthStrategyError', 'NegativeQuantityError', 'NoActiveOrderError', 'NotVerifiedError', 'OrderLimitError', 'OrderModificationError', 'OrderPaymentStateError', 'OrderStateTransitionError', 'PasswordAlreadySetError', 'PasswordResetTokenExpiredError', 'PasswordResetTokenInvalidError', 'PasswordValidationError', 'PaymentDeclinedError', 'PaymentFailedError', 'VerificationTokenExpiredError', 'VerificationTokenInvalidError']); +const errorTypeNames = new Set(['AlreadyLoggedInError', 'CouponCodeExpiredError', 'CouponCodeInvalidError', 'CouponCodeLimitError', 'EmailAddressConflictError', 'GuestCheckoutError', 'IdentifierChangeTokenExpiredError', 'IdentifierChangeTokenInvalidError', 'IneligiblePaymentMethodError', 'IneligibleShippingMethodError', 'InsufficientStockError', 'InvalidCredentialsError', 'MissingPasswordError', 'NativeAuthStrategyError', 'NegativeQuantityError', 'NoActiveOrderError', 'NotVerifiedError', 'OrderInterceptorError', 'OrderLimitError', 'OrderModificationError', 'OrderPaymentStateError', 'OrderStateTransitionError', 'PasswordAlreadySetError', 'PasswordResetTokenExpiredError', 'PasswordResetTokenInvalidError', 'PasswordValidationError', 'PaymentDeclinedError', 'PaymentFailedError', 'VerificationTokenExpiredError', 'VerificationTokenInvalidError']); function isGraphQLError(input: any): input is import('@vendure/common/lib/generated-types').ErrorResult { return input instanceof ErrorResult || errorTypeNames.has(input.__typename); } diff --git a/packages/core/src/config/config.module.ts b/packages/core/src/config/config.module.ts index b4b1e5d95e..241251b056 100644 --- a/packages/core/src/config/config.module.ts +++ b/packages/core/src/config/config.module.ts @@ -98,6 +98,7 @@ export class ConfigModule implements OnApplicationBootstrap, OnApplicationShutdo changedPriceHandlingStrategy, orderSellerStrategy, guestCheckoutStrategy, + orderInterceptors, } = this.configService.orderOptions; const { customFulfillmentProcess, @@ -152,6 +153,7 @@ export class ConfigModule implements OnApplicationBootstrap, OnApplicationShutdo guestCheckoutStrategy, ...refundProcess, cacheStrategy, + ...orderInterceptors, ]; } diff --git a/packages/core/src/config/default-config.ts b/packages/core/src/config/default-config.ts index c90a12e18c..2cfbd976d8 100644 --- a/packages/core/src/config/default-config.ts +++ b/packages/core/src/config/default-config.ts @@ -168,6 +168,7 @@ export const defaultConfig: RuntimeVendureConfig = { activeOrderStrategy: new DefaultActiveOrderStrategy(), orderSellerStrategy: new DefaultOrderSellerStrategy(), guestCheckoutStrategy: new DefaultGuestCheckoutStrategy(), + orderInterceptors: [], }, paymentOptions: { paymentMethodEligibilityCheckers: [], diff --git a/packages/core/src/config/index.ts b/packages/core/src/config/index.ts index 02a8d8990a..4e71db6a6f 100644 --- a/packages/core/src/config/index.ts +++ b/packages/core/src/config/index.ts @@ -57,6 +57,7 @@ export * from './order/guest-checkout-strategy'; export * from './order/merge-orders-strategy'; export * from './order/order-by-code-access-strategy'; export * from './order/order-code-strategy'; +export * from './order/order-interceptor'; export * from './order/order-item-price-calculation-strategy'; export * from './order/order-merge-strategy'; export * from './order/order-placed-strategy'; diff --git a/packages/core/src/config/order/order-interceptor.ts b/packages/core/src/config/order/order-interceptor.ts new file mode 100644 index 0000000000..04abcd3205 --- /dev/null +++ b/packages/core/src/config/order/order-interceptor.ts @@ -0,0 +1,250 @@ +import { RequestContext } from '../../api/common/request-context'; +import { InjectableStrategy } from '../../common/types/injectable-strategy'; +import { CustomOrderLineFields, Order, OrderLine, ProductVariant } from '../../entity/index'; + +export interface WillAddItemToOrderInput { + productVariant: ProductVariant; + quantity: number; + customFields?: CustomOrderLineFields; +} + +export interface WillAdjustOrderLineInput { + orderLine: OrderLine; + quantity: number; + customFields?: CustomOrderLineFields; +} + +/** + * @description + * An OrderInterceptor is a class which can be used to intercept and modify the behavior of order-related + * operations. + * + * It does this by providing methods which are called whenever the contents of an order are about + * to get changed. These methods are able to prevent the operation from proceeding by returning a string + * error message. + * + * Examples of use-cases for an OrderInterceptor include: + * + * * Preventing certain products from being added to the order based on some criteria, e.g. if the + * product is already in another active order. + * * Enforcing a minimum or maximum quantity of a given product in the order + * * Using a CAPTCHA to prevent automated order creation + * + * :::info + * + * This is configured via the `orderOptions.orderInterceptors` property of + * your VendureConfig. + * + * ::: + * + * OrderInterceptors are executed when the following mutations are called: + * + * - `addItemToOrder` + * - `adjustOrderLine` + * - `removeItemFromOrder` + * + * Additionally, if you are working directly with the {@link OrderService}, the following methods will trigger + * any registered OrderInterceptors: + * + * - `addItemToOrder` + * - `addItemsToOrder` + * - `adjustOrderLine` + * - `adjustOrderLines` + * - `removeItemFromOrder` + * - `removeItemsFromOrder` + * + * When an OrderInterceptor is registered, it will be called in the order in which it was registered. + * If an interceptor method resolves to a string, the operation will be prevented and the string will be used as the error message. + * + * When multiple interceptors are registered, the first interceptor to resolve to a string will prevent the operation from proceeding. + * + * Errors returned by OrderInterceptors are surfaced to the GraphQL API as an `OrderInterceptorError` and can be + * queried like this: + * + * ```graphql + * mutation AddItemToOrder($productVariantId: ID!, $quantity: Int!) { + * addItemToOrder(productVariantId: $productVariantId, quantity: $quantity) { + * ... on Order { + * id + * code + * # ... other Order fields + * } + * ... on ErrorResult { + * errorCode + * message + * } + * // highlight-start + * ... on OrderInterceptorError { + * interceptorError + * } + * // highlight-end + * } + * } + * ``` + * + * In the above example, the error message returned by the OrderInterceptor would be available in the `interceptorError` field. + * + * ## Example: Min/max order quantity + * + * Let's say we want to allow ProductVariants to specify the minimum or maximum amount which may be added + * to an order. We can define custom fields to store this information and + * then use this custom field value to prevent an order line from being added to the order if the quantity + * is below the minimum. + * + * @example + * ```ts + * import { + * EntityHydrator, + * Injector, + * LanguageCode, + * Order, + * OrderInterceptor, + * ProductVariant, + * RequestContext, + * TranslatorService, + * VendurePlugin, + * WillAddItemToOrderInput, + * WillAdjustOrderLineInput, + * } from '\@vendure/core'; + * + * declare module '\@vendure/core/dist/entity/custom-entity-fields' { + * interface CustomProductVariantFields { + * minOrderQuantity?: number; + * maxOrderQuantity?: number; + * } + * } + * + * // This OrderInterceptor enforces minimum and maximum order quantities on ProductVariants. + * export class MinMaxOrderInterceptor implements OrderInterceptor { + * private entityHydrator: EntityHydrator; + * private translatorService: TranslatorService; + * + * init(injector: Injector) { + * this.entityHydrator = injector.get(EntityHydrator); + * this.translatorService = injector.get(TranslatorService); + * } + * + * willAddItemToOrder( + * ctx: RequestContext, + * order: Order, + * input: WillAddItemToOrderInput, + * ): Promise | void | string { + * const { productVariant, quantity } = input; + * const min = productVariant.customFields?.minOrderQuantity; + * const max = productVariant.customFields?.maxOrderQuantity; + * if (min && quantity < min) { + * return this.minErrorMessage(ctx, productVariant, min); + * } + * if (max && quantity > max) { + * return this.maxErrorMessage(ctx, productVariant, max); + * } + * } + * + * willAdjustOrderLine( + * ctx: RequestContext, + * order: Order, + * input: WillAdjustOrderLineInput, + * ): Promise | void | string { + * const { orderLine, quantity } = input; + * const min = orderLine.productVariant.customFields?.minOrderQuantity; + * const max = orderLine.productVariant.customFields?.maxOrderQuantity; + * if (min && quantity < min) { + * return this.minErrorMessage(ctx, orderLine.productVariant, min); + * } + * if (max && quantity > max) { + * return this.maxErrorMessage(ctx, orderLine.productVariant, max); + * } + * } + * + * private async minErrorMessage(ctx: RequestContext, variant: ProductVariant, min: number) { + * const variantName = await this.getTranslatedVariantName(ctx, variant); + * return `Minimum order quantity for "${variantName}" is ${min}`; + * } + * + * private async maxErrorMessage(ctx: RequestContext, variant: ProductVariant, max: number) { + * const variantName = await this.getTranslatedVariantName(ctx, variant); + * return `Maximum order quantity for "${variantName}" is ${max}`; + * } + * + * private async getTranslatedVariantName(ctx: RequestContext, variant: ProductVariant) { + * await this.entityHydrator.hydrate(ctx, variant, { relations: ['translations'] }); + * const translated = this.translatorService.translate(variant, ctx); + * return translated.name; + * } + * } + * + * // This plugin enforces minimum and maximum order quantities on ProductVariants. + * // It adds two new custom fields to ProductVariant: + * // - minOrderQuantity + * // - maxOrderQuantity + * // + * // It also adds an OrderInterceptor which enforces these limits. + * \@VendurePlugin({ + * configuration: config => { + * // Here we add the custom fields to the ProductVariant entity + * config.customFields.ProductVariant.push({ + * type: 'int', + * min: 0, + * name: 'minOrderQuantity', + * label: [{ languageCode: LanguageCode.en, value: 'Minimum order quantity' }], + * nullable: true, + * }); + * config.customFields.ProductVariant.push({ + * type: 'int', + * min: 0, + * name: 'maxOrderQuantity', + * label: [{ languageCode: LanguageCode.en, value: 'Maximum order quantity' }], + * nullable: true, + * }); + * + * // Here we add the MinMaxOrderInterceptor to the orderInterceptors array + * config.orderOptions.orderInterceptors.push(new MinMaxOrderInterceptor()); + * return config; + * }, + * }) + * export class OrderQuantityLimitsPlugin {} + * ``` + * + * + * @docsCategory orders + * @docsPage OrderInterceptor + * @docsWeight 0 + * @since 3.1.0 + */ +export interface OrderInterceptor extends InjectableStrategy { + /** + * @description + * Called when a new item is about to be added to the order, + * as in the `addItemToOrder` mutation or the `addItemToOrder()` / `addItemsToOrder()` method + * of the {@link OrderService}. + */ + willAddItemToOrder?( + ctx: RequestContext, + order: Order, + input: WillAddItemToOrderInput, + ): Promise | void | string; + + /** + * @description + * Called when an existing order line is about to be adjusted, + * as in the `adjustOrderLine` mutation or the `adjustOrderLine()` / `adjustOrderLines()` method + * of the {@link OrderService}. + */ + willAdjustOrderLine?( + ctx: RequestContext, + order: Order, + input: WillAdjustOrderLineInput, + ): Promise | void | string; + + /** + * @description + * Called when an item is about to be removed from the order, + * as in the `removeItemFromOrder` mutation or the `removeItemFromOrder()` / `removeItemsFromOrder()` method + * of the {@link OrderService}. + */ + willRemoveItemFromOrder?( + ctx: RequestContext, + order: Order, + orderLine: OrderLine, + ): Promise | void | string; +} diff --git a/packages/core/src/config/vendure-config.ts b/packages/core/src/config/vendure-config.ts index 457d6b6c4d..5d65c4856d 100644 --- a/packages/core/src/config/vendure-config.ts +++ b/packages/core/src/config/vendure-config.ts @@ -37,6 +37,7 @@ import { ChangedPriceHandlingStrategy } from './order/changed-price-handling-str import { GuestCheckoutStrategy } from './order/guest-checkout-strategy'; import { OrderByCodeAccessStrategy } from './order/order-by-code-access-strategy'; import { OrderCodeStrategy } from './order/order-code-strategy'; +import { OrderInterceptor } from './order/order-interceptor'; import { OrderItemPriceCalculationStrategy } from './order/order-item-price-calculation-strategy'; import { OrderMergeStrategy } from './order/order-merge-strategy'; import { OrderPlacedStrategy } from './order/order-placed-strategy'; @@ -612,10 +613,19 @@ export interface OrderOptions { * @description * Defines how we deal with guest checkouts. * - * @since 2.0.0 + * @sinc + * e 2.0.0 * @default DefaultGuestCheckoutStrategy */ guestCheckoutStrategy?: GuestCheckoutStrategy; + /** + * @description + * An array of {@link OrderInterceptor}s which can be used to modify the behavior of the Order process. + * + * @since 3.1.0 + * @default [] + */ + orderInterceptors?: OrderInterceptor[]; } /** diff --git a/packages/core/src/i18n/messages/en.json b/packages/core/src/i18n/messages/en.json index c3b66e4ad7..7eb959a1b0 100644 --- a/packages/core/src/i18n/messages/en.json +++ b/packages/core/src/i18n/messages/en.json @@ -84,6 +84,7 @@ "NO_ACTIVE_ORDER_ERROR": "There is no active Order associated with the current session", "NOTHING_TO_REFUND_ERROR": "Nothing to refund", "NOT_VERIFIED_ERROR": "Please verify this email address before logging in", + "ORDER_INTERCEPTOR_ERROR": "An error occurred when attempting to modify the Order", "ORDER_LIMIT_ERROR": "Cannot add items. An order may consist of a maximum of { maxItems } items", "ORDER_MODIFICATION_ERROR": "Order contents may only be modified when in the \"AddingItems\" state", "ORDER_PAYMENT_STATE_ERROR": "A Payment may only be added when Order is in \"ArrangingPayment\" state", diff --git a/packages/core/src/service/helpers/order-modifier/order-modifier.ts b/packages/core/src/service/helpers/order-modifier/order-modifier.ts index 877f4f854f..0ad4fee29d 100644 --- a/packages/core/src/service/helpers/order-modifier/order-modifier.ts +++ b/packages/core/src/service/helpers/order-modifier/order-modifier.ts @@ -491,7 +491,7 @@ export class OrderModifier { const qtyDelta = initialLineQuantity - correctedQuantity; refundInputs.forEach(ri => { - ri.lines.push({ + ri.lines?.push({ orderLineId: orderLine.id, quantity: qtyDelta, }); @@ -524,7 +524,11 @@ export class OrderModifier { order.surcharges.push(surcharge); modification.surcharges.push(surcharge); if (surcharge.priceWithTax < 0) { - refundInputs.forEach(ri => (ri.adjustment += Math.abs(surcharge.priceWithTax))); + refundInputs.forEach(ri => { + if (ri.adjustment != null) { + ri.adjustment += Math.abs(surcharge.priceWithTax); + } + }); } } if (input.surcharges?.length) { @@ -659,7 +663,9 @@ export class OrderModifier { if (shippingDelta < 0) { primaryRefund.shipping = shippingDelta * -1; } - primaryRefund.adjustment += await this.calculateRefundAdjustment(ctx, delta, primaryRefund); + if (primaryRefund.adjustment != null) { + primaryRefund.adjustment += await this.calculateRefundAdjustment(ctx, delta, primaryRefund); + } // end for (const refundInput of refundInputs) { @@ -777,14 +783,14 @@ export class OrderModifier { delta: number, refundInput: RefundOrderInput, ): Promise { - const existingAdjustment = refundInput.adjustment; + const existingAdjustment = refundInput.adjustment ?? 0; let itemAmount = 0; // TODO: figure out what this should be - for (const lineInput of refundInput.lines) { + for (const lineInput of refundInput.lines ?? []) { const orderLine = await this.connection.getEntityOrThrow(ctx, OrderLine, lineInput.orderLineId); itemAmount += orderLine.proratedUnitPriceWithTax * lineInput.quantity; } - const calculatedDelta = itemAmount + refundInput.shipping + existingAdjustment; + const calculatedDelta = itemAmount + (refundInput.shipping ?? 0) + existingAdjustment; const absDelta = Math.abs(delta); return absDelta !== calculatedDelta ? absDelta - calculatedDelta : 0; } diff --git a/packages/core/src/service/services/order.service.ts b/packages/core/src/service/services/order.service.ts index 14307c7c34..5249aef127 100644 --- a/packages/core/src/service/services/order.service.ts +++ b/packages/core/src/service/services/order.service.ts @@ -66,6 +66,7 @@ import { import { InsufficientStockError, NegativeQuantityError, + OrderInterceptorError, OrderLimitError, OrderModificationError, OrderPaymentStateError, @@ -581,7 +582,7 @@ export class OrderService { const order = await this.getOrderOrThrow(ctx, orderId); const errorResults: Array> = []; const updatedOrderLines: OrderLine[] = []; - for (const item of items) { + addItem: for (const item of items) { const { productVariantId, quantity, customFields } = item; const existingOrderLine = await this.orderModifier.getExistingOrderLine( ctx, @@ -630,6 +631,20 @@ export class OrderService { ); continue; } + const { orderInterceptors } = this.configService.orderOptions; + for (const interceptor of orderInterceptors) { + if (interceptor.willAddItemToOrder) { + const error = await interceptor.willAddItemToOrder(ctx, order, { + productVariant: variant, + quantity: correctedQuantity, + customFields, + }); + if (error) { + errorResults.push(new OrderInterceptorError({ interceptorError: error })); + continue addItem; + } + } + } const orderLine = await this.orderModifier.getOrCreateOrderLine( ctx, order, @@ -714,7 +729,7 @@ export class OrderService { const order = await this.getOrderOrThrow(ctx, orderId); const errorResults: Array> = []; const updatedOrderLines: OrderLine[] = []; - for (const line of lines) { + adjustLine: for (const line of lines) { const { orderLineId, quantity, customFields } = line; const orderLine = this.getOrderLineOrThrow(order, orderLineId); const validationError = @@ -726,6 +741,20 @@ export class OrderService { errorResults.push(validationError); continue; } + const { orderInterceptors } = this.configService.orderOptions; + for (const interceptor of orderInterceptors) { + if (interceptor.willAdjustOrderLine) { + const error = await interceptor.willAdjustOrderLine(ctx, order, { + orderLine, + quantity, + customFields, + }); + if (error) { + errorResults.push(new OrderInterceptorError({ interceptorError: error })); + continue adjustLine; + } + } + } if (customFields != null) { orderLine.customFields = customFields; await this.customFieldRelationService.updateRelations( @@ -820,6 +849,15 @@ export class OrderService { const orderLinesToDelete: OrderLine[] = []; for (const orderLineId of orderLineIds) { const orderLine = this.getOrderLineOrThrow(order, orderLineId); + const { orderInterceptors } = this.configService.orderOptions; + for (const interceptor of orderInterceptors) { + if (interceptor.willRemoveItemFromOrder) { + const error = await interceptor.willRemoveItemFromOrder(ctx, order, orderLine); + if (error) { + return new OrderInterceptorError({ interceptorError: error }); + } + } + } orderLinesToDelete.push(orderLine); } diff --git a/packages/core/src/service/services/payment.service.ts b/packages/core/src/service/services/payment.service.ts index 5977aed768..e5bcea7e59 100644 --- a/packages/core/src/service/services/payment.service.ts +++ b/packages/core/src/service/services/payment.service.ts @@ -370,7 +370,7 @@ export class PaymentService { } refund = await this.connection.getRepository(ctx, Refund).save(refund); const refundLines: RefundLine[] = []; - for (const { orderLineId, quantity } of input.lines) { + for (const { orderLineId, quantity } of input.lines || []) { const refundLine = await this.connection.getRepository(ctx, RefundLine).save( new RefundLine({ refund, @@ -447,16 +447,17 @@ export class PaymentService { // are involved. // It is deprecated and will be removed in a future version. let refundOrderLinesTotal = 0; + const inputLines = input.lines || []; const orderLines = await this.connection .getRepository(ctx, OrderLine) - .find({ where: { id: In(input.lines.map(l => l.orderLineId)) } }); - for (const line of input.lines) { + .find({ where: { id: In(inputLines.map(l => l.orderLineId)) } }); + for (const line of inputLines) { const orderLine = orderLines.find(l => idsAreEqual(l.id, line.orderLineId)); if (orderLine && 0 < orderLine.orderPlacedQuantity) { refundOrderLinesTotal += line.quantity * orderLine.proratedUnitPriceWithTax; } } - const total = refundOrderLinesTotal + input.shipping + input.adjustment; + const total = refundOrderLinesTotal + (input.shipping ?? 0) + (input.adjustment ?? 0); return { orderLinesTotal: refundOrderLinesTotal, total }; } diff --git a/packages/dev-server/example-plugins/minimum-order-quantity/order-quantity-limits.plugin.ts b/packages/dev-server/example-plugins/minimum-order-quantity/order-quantity-limits.plugin.ts new file mode 100644 index 0000000000..6049b831e7 --- /dev/null +++ b/packages/dev-server/example-plugins/minimum-order-quantity/order-quantity-limits.plugin.ts @@ -0,0 +1,111 @@ +import { + EntityHydrator, + Injector, + LanguageCode, + Order, + OrderInterceptor, + ProductVariant, + RequestContext, + TranslatorService, + VendurePlugin, + WillAddItemToOrderInput, + WillAdjustOrderLineInput, +} from '@vendure/core'; + +declare module '@vendure/core/dist/entity/custom-entity-fields' { + interface CustomProductVariantFields { + minOrderQuantity?: number; + maxOrderQuantity?: number; + } +} + +/** + * This OrderInterceptor enforces minimum and maximum order quantities on ProductVariants. + */ +export class MinMaxOrderInterceptor implements OrderInterceptor { + private entityHydrator: EntityHydrator; + private translatorService: TranslatorService; + + init(injector: Injector) { + this.entityHydrator = injector.get(EntityHydrator); + this.translatorService = injector.get(TranslatorService); + } + + willAddItemToOrder( + ctx: RequestContext, + order: Order, + input: WillAddItemToOrderInput, + ): Promise | void | string { + const { productVariant, quantity } = input; + const min = productVariant.customFields?.minOrderQuantity; + const max = productVariant.customFields?.maxOrderQuantity; + if (min && quantity < min) { + return this.minErrorMessage(ctx, productVariant, min); + } + if (max && quantity > max) { + return this.maxErrorMessage(ctx, productVariant, max); + } + } + + willAdjustOrderLine( + ctx: RequestContext, + order: Order, + input: WillAdjustOrderLineInput, + ): Promise | void | string { + const { orderLine, quantity } = input; + const min = orderLine.productVariant.customFields?.minOrderQuantity; + const max = orderLine.productVariant.customFields?.maxOrderQuantity; + if (min && quantity < min) { + return this.minErrorMessage(ctx, orderLine.productVariant, min); + } + if (max && quantity > max) { + return this.maxErrorMessage(ctx, orderLine.productVariant, max); + } + } + + private async minErrorMessage(ctx: RequestContext, variant: ProductVariant, min: number) { + const variantName = await this.getTranslatedVariantName(ctx, variant); + return `Minimum order quantity for "${variantName}" is ${min}`; + } + + private async maxErrorMessage(ctx: RequestContext, variant: ProductVariant, max: number) { + const variantName = await this.getTranslatedVariantName(ctx, variant); + return `Maximum order quantity for "${variantName}" is ${max}`; + } + + private async getTranslatedVariantName(ctx: RequestContext, variant: ProductVariant) { + await this.entityHydrator.hydrate(ctx, variant, { relations: ['translations'] }); + const translated = this.translatorService.translate(variant, ctx); + return translated.name; + } +} + +/** + * This plugin enforces minimum and maximum order quantities on ProductVariants. + * It adds two new custom fields to ProductVariant: + * - minOrderQuantity + * - maxOrderQuantity + * + * It also adds an OrderInterceptor which enforces these limits. + */ +@VendurePlugin({ + configuration: config => { + config.customFields.ProductVariant.push({ + type: 'int', + min: 0, + name: 'minOrderQuantity', + label: [{ languageCode: LanguageCode.en, value: 'Minimum order quantity' }], + nullable: true, + }); + config.customFields.ProductVariant.push({ + type: 'int', + min: 0, + name: 'maxOrderQuantity', + label: [{ languageCode: LanguageCode.en, value: 'Maximum order quantity' }], + nullable: true, + }); + config.orderOptions.orderInterceptors.push(new MinMaxOrderInterceptor()); + return config; + }, +}) +export class OrderQuantityLimitsPlugin {} diff --git a/packages/dev-server/example-plugins/product-bundles/README.md b/packages/dev-server/example-plugins/product-bundles/README.md new file mode 100644 index 0000000000..17866914b4 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/README.md @@ -0,0 +1,13 @@ +# Product Bundle Plugin + +This is an example implementation which adds support for product bundles. + +This plugin uses a couple of features added in Vendure v3.1: + +- Custom field "struct" types +- The OrderInterceptor API + +## Status + +It is currently a work-in-progress: the Admin UI parts will be completed once we add +support for config-based list/detail views. diff --git a/packages/dev-server/example-plugins/product-bundles/api/api-extensions.ts b/packages/dev-server/example-plugins/product-bundles/api/api-extensions.ts new file mode 100644 index 0000000000..ae59a14ec5 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/api/api-extensions.ts @@ -0,0 +1,73 @@ +import gql from 'graphql-tag'; + +const productBundleAdminApiExtensions = gql` + type ProductBundle implements Node { + id: ID! + createdAt: DateTime! + updatedAt: DateTime! + name: String! + description: String! + } + + type ProductBundleItem { + productVariant: ProductVariant! + price: Money! + quantity: Int! + } + + type ProductBundleList implements PaginatedList { + items: [ProductBundle!]! + totalItems: Int! + } + + # Generated at run-time by Vendure + input ProductBundleListOptions + + extend type Query { + productBundle(id: ID!): ProductBundle + productBundles(options: ProductBundleListOptions): ProductBundleList! + } + + input CreateProductBundleInput { + name: String! + description: String! + } + + input UpdateProductBundleInput { + id: ID! + name: String + description: String + } + + input CreateProductBundleItemInput { + bundleId: ID! + productVariantId: ID! + price: Money! + quantity: Int! + } + + input UpdateProductBundleItemInput { + id: ID! + price: Money + quantity: Int + } + + extend type Mutation { + createProductBundle(input: CreateProductBundleInput!): ProductBundle! + updateProductBundle(input: UpdateProductBundleInput!): ProductBundle! + deleteProductBundle(id: ID!): DeletionResponse! + createProductBundleItem(input: CreateProductBundleItemInput!): ProductBundleItem! + updateProductBundleItem(input: UpdateProductBundleItemInput!): ProductBundleItem! + deleteProductBundleItem(id: ID!): DeletionResponse! + } +`; +export const adminApiExtensions = gql` + ${productBundleAdminApiExtensions} +`; + +export const shopApiExtensions = gql` + extend type Mutation { + addProductBundleToOrder(bundleId: ID!): UpdateOrderItemsResult! + removeProductBundleFromOrder(bundleId: ID!): RemoveOrderItemsResult! + } +`; diff --git a/packages/dev-server/example-plugins/product-bundles/api/product-bundle-admin.resolver.ts b/packages/dev-server/example-plugins/product-bundles/api/product-bundle-admin.resolver.ts new file mode 100644 index 0000000000..d143e8e753 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/api/product-bundle-admin.resolver.ts @@ -0,0 +1,108 @@ +import { Args, Mutation, Query, Resolver } from '@nestjs/graphql'; +import { DeletionResponse, Permission } from '@vendure/common/lib/generated-types'; +import { + Allow, + Ctx, + ID, + ListQueryOptions, + PaginatedList, + RelationPaths, + Relations, + RequestContext, + Transaction, +} from '@vendure/core'; +import { productBundlePermission } from '../constants'; +import { ProductBundle } from '../entities/product-bundle.entity'; +import { ProductBundleItemService } from '../services/product-bundle-item.service'; +import { ProductBundleService } from '../services/product-bundle.service'; +import { + CreateProductBundleInput, + CreateProductBundleItemInput, + UpdateProductBundleInput, + UpdateProductBundleItemInput, +} from '../types'; + +@Resolver() +export class ProductBundleAdminResolver { + constructor( + private productBundleService: ProductBundleService, + private productBundleItemService: ProductBundleItemService, + ) {} + + @Query() + @Allow(productBundlePermission.Read) + async productBundle( + @Ctx() ctx: RequestContext, + @Args() args: { id: ID }, + @Relations(ProductBundle) relations: RelationPaths, + ): Promise { + return this.productBundleService.findOne(ctx, args.id, relations); + } + + @Query() + @Allow(productBundlePermission.Read) + async productBundles( + @Ctx() ctx: RequestContext, + @Args() args: { options: ListQueryOptions }, + @Relations(ProductBundle) relations: RelationPaths, + ): Promise> { + return this.productBundleService.findAll(ctx, args.options || undefined, relations); + } + + @Mutation() + @Transaction() + @Allow(productBundlePermission.Create) + async createProductBundle( + @Ctx() ctx: RequestContext, + @Args() args: { input: CreateProductBundleInput }, + ): Promise { + return this.productBundleService.create(ctx, args.input); + } + + @Mutation() + @Transaction() + @Allow(productBundlePermission.Update) + async updateProductBundle( + @Ctx() ctx: RequestContext, + @Args() args: { input: UpdateProductBundleInput }, + ): Promise { + return this.productBundleService.update(ctx, args.input); + } + + @Mutation() + @Transaction() + @Allow(productBundlePermission.Delete) + async deleteProductBundle( + @Ctx() ctx: RequestContext, + @Args() args: { id: ID }, + ): Promise { + return this.productBundleService.delete(ctx, args.id); + } + + @Mutation() + @Transaction() + @Allow(productBundlePermission.Create) + createProductBundleItem( + @Ctx() ctx: RequestContext, + @Args() args: { input: CreateProductBundleItemInput }, + ) { + return this.productBundleItemService.createProductBundleItem(ctx, args.input); + } + + @Mutation() + @Transaction() + @Allow(productBundlePermission.Update) + updateProductBundleItem( + @Ctx() ctx: RequestContext, + @Args() args: { input: UpdateProductBundleItemInput }, + ) { + return this.productBundleItemService.updateProductBundleItem(ctx, args.input); + } + + @Mutation() + @Transaction() + @Allow(productBundlePermission.Delete) + deleteProductBundleItem(@Ctx() ctx: RequestContext, @Args() args: { id: ID }) { + return this.productBundleItemService.delete(ctx, args.id); + } +} diff --git a/packages/dev-server/example-plugins/product-bundles/api/product-bundle-shop.resolver.ts b/packages/dev-server/example-plugins/product-bundles/api/product-bundle-shop.resolver.ts new file mode 100644 index 0000000000..ed75036ea1 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/api/product-bundle-shop.resolver.ts @@ -0,0 +1,32 @@ +import { Args, Mutation, Resolver } from '@nestjs/graphql'; +import { UpdateOrderItemsResult } from '@vendure/common/lib/generated-shop-types'; +import { ID } from '@vendure/common/lib/shared-types'; +import { + ACTIVE_ORDER_INPUT_FIELD_NAME, + ActiveOrderService, + Ctx, + ErrorResultUnion, + Order, + RequestContext, + Transaction, +} from '@vendure/core'; + +import { ProductBundleService } from '../services/product-bundle.service'; + +@Resolver() +export class ProductBundleShopResolver { + constructor( + private productBundleService: ProductBundleService, + private activeOrderService: ActiveOrderService, + ) {} + + @Mutation() + @Transaction() + async addProductBundleToOrder( + @Ctx() ctx: RequestContext, + @Args() args: { productId: ID }, + ): Promise> { + const order = await this.activeOrderService.getActiveOrder(ctx, undefined, true); + return this.productBundleService.addProductBundleToOrder(ctx, order, args.productId); + } +} diff --git a/packages/dev-server/example-plugins/product-bundles/config/bundle-order-interceptor.ts b/packages/dev-server/example-plugins/product-bundles/config/bundle-order-interceptor.ts new file mode 100644 index 0000000000..9ede302a53 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/config/bundle-order-interceptor.ts @@ -0,0 +1,17 @@ +import { Order, OrderInterceptor, OrderLine, RequestContext, WillAdjustOrderLineInput } from '@vendure/core'; + +export class BundleOrderInterceptor implements OrderInterceptor { + willAdjustOrderLine(ctx: RequestContext, order: Order, input: WillAdjustOrderLineInput) { + if (input.orderLine.customFields.fromBundle) { + return 'Cannot adjust bundle items'; + } + return; + } + + willRemoveItemFromOrder(ctx: RequestContext, order: Order, orderLine: OrderLine) { + if (orderLine.customFields.fromBundle) { + return 'Cannot remove bundle items'; + } + return; + } +} diff --git a/packages/dev-server/example-plugins/product-bundles/constants.ts b/packages/dev-server/example-plugins/product-bundles/constants.ts new file mode 100644 index 0000000000..ddd7aa8b4c --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/constants.ts @@ -0,0 +1,4 @@ +import { CrudPermissionDefinition } from '@vendure/core'; + +export const loggerCtx = 'ProductBundlesPlugin'; +export const productBundlePermission = new CrudPermissionDefinition('ProductBundle'); diff --git a/packages/dev-server/example-plugins/product-bundles/entities/product-bundle-item.entity.ts b/packages/dev-server/example-plugins/product-bundles/entities/product-bundle-item.entity.ts new file mode 100644 index 0000000000..f20b18ca9e --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/entities/product-bundle-item.entity.ts @@ -0,0 +1,29 @@ +import { DeepPartial } from '@vendure/common/lib/shared-types'; +import { EntityId, ID, Money, ProductVariant, VendureEntity } from '@vendure/core'; +import { Column, Entity, ManyToOne } from 'typeorm'; +import { ProductBundle } from './product-bundle.entity'; + +@Entity() +export class ProductBundleItem extends VendureEntity { + constructor(input?: DeepPartial) { + super(input); + } + + @ManyToOne(type => ProductVariant) + productVariant: ProductVariant; + + @EntityId() + productVariantId: ID; + + @ManyToOne(type => ProductBundle, bundle => bundle.items) + bundle: ProductBundle; + + @EntityId() + bundleId: ID; + + @Money() + price: number; + + @Column() + quantity: number; +} diff --git a/packages/dev-server/example-plugins/product-bundles/entities/product-bundle.entity.ts b/packages/dev-server/example-plugins/product-bundles/entities/product-bundle.entity.ts new file mode 100644 index 0000000000..ff49fba0bb --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/entities/product-bundle.entity.ts @@ -0,0 +1,20 @@ +import { DeepPartial } from '@vendure/common/lib/shared-types'; +import { VendureEntity, Product, EntityId, ID, ProductVariant } from '@vendure/core'; +import { Column, Entity, ManyToOne, OneToMany } from 'typeorm'; +import { ProductBundleItem } from './product-bundle-item.entity'; + +@Entity() +export class ProductBundle extends VendureEntity { + constructor(input?: DeepPartial) { + super(input); + } + + @OneToMany(type => ProductBundleItem, item => item.bundle) + items: ProductBundleItem[]; + + @Column() + name: string; + + @Column() + description: string; +} diff --git a/packages/dev-server/example-plugins/product-bundles/product-bundles.plugin.ts b/packages/dev-server/example-plugins/product-bundles/product-bundles.plugin.ts new file mode 100644 index 0000000000..88e01aa17e --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/product-bundles.plugin.ts @@ -0,0 +1,48 @@ +import { PluginCommonModule, VendurePlugin } from '@vendure/core'; +import { AdminUiExtension } from '@vendure/ui-devkit/compiler'; +import path from 'path'; + +import { adminApiExtensions, shopApiExtensions } from './api/api-extensions'; +import { ProductBundleAdminResolver } from './api/product-bundle-admin.resolver'; +import { ProductBundleShopResolver } from './api/product-bundle-shop.resolver'; +import { BundleOrderInterceptor } from './config/bundle-order-interceptor'; +import { productBundlePermission } from './constants'; +import { ProductBundleItem } from './entities/product-bundle-item.entity'; +import { ProductBundle } from './entities/product-bundle.entity'; +import { ProductBundleItemService } from './services/product-bundle-item.service'; +import { ProductBundleService } from './services/product-bundle.service'; + +@VendurePlugin({ + imports: [PluginCommonModule], + entities: [ProductBundle, ProductBundleItem], + configuration: config => { + config.customFields.OrderLine.push({ + type: 'struct', + name: 'fromBundle', + fields: [ + { name: 'bundleId', type: 'string' }, + { name: 'bundleName', type: 'string' }, + ], + }); + config.orderOptions.orderInterceptors.push(new BundleOrderInterceptor()); + config.authOptions.customPermissions.push(productBundlePermission); + return config; + }, + providers: [ProductBundleService, ProductBundleItemService], + adminApiExtensions: { + schema: adminApiExtensions, + resolvers: [ProductBundleAdminResolver], + }, + shopApiExtensions: { + schema: shopApiExtensions, + resolvers: [ProductBundleShopResolver], + }, +}) +export class ProductBundlesPlugin { + static uiExtensions: AdminUiExtension = { + id: 'product-bundles', + extensionPath: path.join(__dirname, 'ui'), + routes: [{ route: 'product-bundles', filePath: 'routes.ts' }], + providers: ['providers.ts'], + }; +} diff --git a/packages/dev-server/example-plugins/product-bundles/services/product-bundle-item.service.ts b/packages/dev-server/example-plugins/product-bundles/services/product-bundle-item.service.ts new file mode 100644 index 0000000000..3225143e30 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/services/product-bundle-item.service.ts @@ -0,0 +1,56 @@ +import { Injectable } from '@nestjs/common'; +import { DeletionResponse, DeletionResult } from '@vendure/common/lib/generated-types'; +import { ID } from '@vendure/common/lib/shared-types'; +import { ListQueryBuilder, patchEntity, RequestContext, TransactionalConnection } from '@vendure/core'; + +import { ProductBundleItem } from '../entities/product-bundle-item.entity'; +import { ProductBundle } from '../entities/product-bundle.entity'; +import { CreateProductBundleItemInput, UpdateProductBundleItemInput } from '../types'; + +@Injectable() +export class ProductBundleItemService { + constructor( + private connection: TransactionalConnection, + private listQueryBuilder: ListQueryBuilder, + ) {} + + async createProductBundleItem( + ctx: RequestContext, + input: CreateProductBundleItemInput, + ): Promise { + const bundle = await this.connection.getEntityOrThrow(ctx, ProductBundle, input.bundleId); + const newEntity = await this.connection.getRepository(ctx, ProductBundleItem).save( + new ProductBundleItem({ + ...input, + bundle, + }), + ); + + return newEntity; + } + + async updateProductBundleItem( + ctx: RequestContext, + input: UpdateProductBundleItemInput, + ): Promise { + const entity = await this.connection.getEntityOrThrow(ctx, ProductBundleItem, input.id); + const updatedEntity = patchEntity(entity, input); + await this.connection.getRepository(ctx, ProductBundleItem).save(updatedEntity, { reload: false }); + return updatedEntity; + } + + async delete(ctx: RequestContext, id: ID): Promise { + const entity = await this.connection.getEntityOrThrow(ctx, ProductBundleItem, id); + try { + await this.connection.getRepository(ctx, ProductBundleItem).remove(entity); + return { + result: DeletionResult.DELETED, + }; + } catch (e: any) { + return { + result: DeletionResult.NOT_DELETED, + message: e.toString(), + }; + } + } +} diff --git a/packages/dev-server/example-plugins/product-bundles/services/product-bundle.service.ts b/packages/dev-server/example-plugins/product-bundles/services/product-bundle.service.ts new file mode 100644 index 0000000000..db923d6f27 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/services/product-bundle.service.ts @@ -0,0 +1,160 @@ +import { Injectable } from '@nestjs/common'; +import { UpdateOrderItemsResult } from '@vendure/common/lib/generated-shop-types'; +import { DeletionResponse, DeletionResult } from '@vendure/common/lib/generated-types'; +import { ID, PaginatedList } from '@vendure/common/lib/shared-types'; +import { + assertFound, + EntityHydrator, + ErrorResultUnion, + ListQueryBuilder, + ListQueryOptions, + Order, + OrderService, + patchEntity, + RelationPaths, + RequestContext, + TransactionalConnection, +} from '@vendure/core'; + +import { ProductBundle } from '../entities/product-bundle.entity'; +import { CreateProductBundleInput, UpdateProductBundleInput } from '../types'; + +@Injectable() +export class ProductBundleService { + constructor( + private connection: TransactionalConnection, + private listQueryBuilder: ListQueryBuilder, + private orderService: OrderService, + private entityHydrator: EntityHydrator, + ) {} + + findAll( + ctx: RequestContext, + options?: ListQueryOptions, + relations?: RelationPaths, + ): Promise> { + return this.listQueryBuilder + .build(ProductBundle, options, { + relations, + ctx, + }) + .getManyAndCount() + .then(([items, totalItems]) => { + return { + items, + totalItems, + }; + }); + } + + findOne( + ctx: RequestContext, + id: ID, + relations?: RelationPaths, + ): Promise { + return this.connection.getRepository(ctx, ProductBundle).findOne({ + where: { id }, + relations, + }); + } + + async create(ctx: RequestContext, input: CreateProductBundleInput): Promise { + const newEntity = await this.connection.getRepository(ctx, ProductBundle).save(input); + return assertFound(this.findOne(ctx, newEntity.id)); + } + + async update(ctx: RequestContext, input: UpdateProductBundleInput): Promise { + const entity = await this.connection.getEntityOrThrow(ctx, ProductBundle, input.id); + const updatedEntity = patchEntity(entity, input); + await this.connection.getRepository(ctx, ProductBundle).save(updatedEntity, { reload: false }); + return assertFound(this.findOne(ctx, updatedEntity.id)); + } + + async delete(ctx: RequestContext, id: ID): Promise { + const entity = await this.connection.getEntityOrThrow(ctx, ProductBundle, id); + try { + await this.connection.getRepository(ctx, ProductBundle).remove(entity); + return { + result: DeletionResult.DELETED, + }; + } catch (e: any) { + return { + result: DeletionResult.NOT_DELETED, + message: e.toString(), + }; + } + } + + async addProductBundleToOrder( + ctx: RequestContext, + order: Order, + bundleId: ID, + ): Promise> { + const bundle = await this.connection.getEntityOrThrow(ctx, ProductBundle, bundleId, { + relations: { + items: true, + }, + }); + + const result = await this.orderService.addItemsToOrder( + ctx, + order.id, + bundle.items.map(item => ({ + productVariantId: item.productVariant.id, + quantity: item.quantity, + customFields: { + fromBundle: { + bundleId: bundleId.toString(), + bundleName: bundle.name, + }, + }, + })), + ); + + if (result.errorResults.length) { + await this.connection.rollBackTransaction(ctx); + return result.errorResults[0]; + } + + return result.order; + } + + async removeProductBundleFromOrder( + ctx: RequestContext, + order: Order, + bundleId: ID, + ): Promise> { + await this.entityHydrator.hydrate(ctx, order, { + relations: ['lines'], + }); + const bundle = await this.connection.getEntityOrThrow(ctx, ProductBundle, bundleId, { + relations: { + items: true, + }, + }); + + const adjustment: Array<{ orderLineId: ID; quantity: number }> = []; + for (const line of order.lines) { + if (line.customFields?.fromBundle?.bundleId === bundleId.toString()) { + const bundleItem = bundle.items.find( + item => item.productVariant.id === line.productVariant.id, + ); + if (bundleItem) { + adjustment.push({ + orderLineId: line.id, + quantity: -bundleItem.quantity, + }); + } + } + } + + const result = await this.orderService.adjustOrderLines(ctx, order.id, adjustment); + + if (result.errorResults.length) { + await this.connection.rollBackTransaction(ctx); + return result.errorResults[0]; + } + + return result.order; + } +} diff --git a/packages/dev-server/example-plugins/product-bundles/types.ts b/packages/dev-server/example-plugins/product-bundles/types.ts new file mode 100644 index 0000000000..216d380389 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/types.ts @@ -0,0 +1,35 @@ +import { ID } from '@vendure/common/lib/shared-types'; + +export type CreateProductBundleInput = { + name: string; + description: string; +}; + +export type UpdateProductBundleInput = { + id: ID; + name?: string; + description?: string; +}; + +export type CreateProductBundleItemInput = { + bundleId: ID; + productVariantId: ID; + price: number; + quantity: number; +}; + +export type UpdateProductBundleItemInput = { + id: ID; + price?: number; + quantity?: number; +}; + +declare module '@vendure/core/dist/entity/custom-entity-fields' { + interface CustomOrderLineFields { + fromBundle: { + bundleId: string; + bundleName: string; + bundleInstanceId: string; + }; + } +} diff --git a/packages/dev-server/example-plugins/product-bundles/ui/components/product-bundle-list/product-bundle-list.component.html b/packages/dev-server/example-plugins/product-bundles/ui/components/product-bundle-list/product-bundle-list.component.html new file mode 100644 index 0000000000..0aaccc45f9 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/ui/components/product-bundle-list/product-bundle-list.component.html @@ -0,0 +1,75 @@ + + + + + + + + Create a Product Bundle + + + + + + + + + + + + + + + + + {{ item.id }} + + + + + {{ item.createdAt | localeDate : 'short' }} + + + + + {{ item.updatedAt | localeDate : 'short' }} + + + + + {{ item.name }} + + + + + + {{ item.description }} + + diff --git a/packages/dev-server/example-plugins/product-bundles/ui/components/product-bundle-list/product-bundle-list.component.ts b/packages/dev-server/example-plugins/product-bundles/ui/components/product-bundle-list/product-bundle-list.component.ts new file mode 100644 index 0000000000..b8cfd4002e --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/ui/components/product-bundle-list/product-bundle-list.component.ts @@ -0,0 +1,93 @@ +import { ChangeDetectionStrategy, Component } from '@angular/core'; +import { TypedBaseListComponent, SharedModule } from '@vendure/admin-ui/core'; + +// This is the TypedDocumentNode generated by GraphQL Code Generator +import gql from 'graphql-tag'; +import { TypedQueryDocumentNode } from 'graphql/utilities/index'; + +const getReviewListDocument = gql` + query GetProductBundleList($options: ProductBundleListOptions) { + productBundles(options: $options) { + items { + id + createdAt + updatedAt + name + description + } + totalItems + } + } +` as TypedQueryDocumentNode< + { productBundles: any }, + { + options: { + filter: any; + sort: any; + }; + } +>; + +@Component({ + selector: 'product-bundle-list', + templateUrl: './product-bundle-list.component.html', + changeDetection: ChangeDetectionStrategy.OnPush, + standalone: true, + imports: [SharedModule], +}) +export class ProductBundleListComponent extends TypedBaseListComponent< + typeof getReviewListDocument, + 'productBundles' +> { + // Here we set up the filters that will be available + // to use in the data table + // readonly filters = this.createFilterCollection() + // .addIdFilter() + // // .addDateFilters() + // .addFilter({ + // name: 'name', + // type: { kind: 'text' }, + // label: 'Name', + // filterField: 'name', + // }) + // .addFilter({ + // name: 'description', + // type: { kind: 'text' }, + // label: 'Description', + // filterField: 'description', + // }) + // .connectToRoute(this.route); + + // Here we set up the sorting options that will be available + // to use in the data table + readonly sorts = this.createSortCollection() + .defaultSort('createdAt', 'DESC') + .addSort({ name: 'createdAt' }) + .addSort({ name: 'updatedAt' }) + .addSort({ name: 'name' }) + .addSort({ name: 'description' }) + .connectToRoute(this.route); + + constructor() { + super(); + super.configure({ + document: getReviewListDocument, + getItems: data => (data as any).productBundles, + setVariables: (skip, take) => + ({ + options: { + skip, + take, + filter: { + name: { + contains: this.searchTermControl.value, + }, + // ...this.filters.createFilterInput(), + }, + sort: this.sorts.createSortInput(), + }, + }) as never, + refreshListOnChanges: [/* this.filters.valueChanges */ this.sorts.valueChanges], + }); + } +} diff --git a/packages/dev-server/example-plugins/product-bundles/ui/providers.ts b/packages/dev-server/example-plugins/product-bundles/ui/providers.ts new file mode 100644 index 0000000000..fd907e6a29 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/ui/providers.ts @@ -0,0 +1,13 @@ +import { addNavMenuItem } from '@vendure/admin-ui/core'; + +export default [ + addNavMenuItem( + { + id: 'product-bundles', + label: 'Product Bundles', + routerLink: ['/extensions/product-bundles'], + icon: '', + }, + 'catalog', + ), +]; diff --git a/packages/dev-server/example-plugins/product-bundles/ui/routes.ts b/packages/dev-server/example-plugins/product-bundles/ui/routes.ts new file mode 100644 index 0000000000..8c9fd669c6 --- /dev/null +++ b/packages/dev-server/example-plugins/product-bundles/ui/routes.ts @@ -0,0 +1,10 @@ +import { registerRouteComponent } from '@vendure/admin-ui/core'; +import { ProductBundleListComponent } from './components/product-bundle-list/product-bundle-list.component'; + +export default [ + registerRouteComponent({ + path: '', + component: ProductBundleListComponent, + breadcrumb: 'Product bundles', + }), +]; 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 6fc024a39b..b9d1fd762e 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 @@ -6,413 +6,391 @@ 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 & { - 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']; + 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 = { - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - data?: Maybe; - description: Scalars['String']['output']; - type: AdjustmentType; + 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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; }; export type AdministratorList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AdministratorListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - /** - * The amount to be refunded to this particular Payment. This was introduced in - * v2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment` - * fields will be removed in a future version. - */ - amount?: InputMaybe; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; + /** + * The amount to be refunded to this particular Payment. This was introduced in + * v2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment` + * fields will be removed in a future version. + */ + amount?: 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 & { - 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 & { + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - refundId: Scalars['ID']['output']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AssetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - strategy: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: 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 BooleanStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if an attempting to cancel lines from an Order which is still active */ export type CancelActiveOrderError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; export type CancelPaymentResult = CancelPaymentError | Payment | PaymentStateTransitionError; -export type Cancellation = Node & - StockMovement & { - 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 & { + 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 & { - 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']; + 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']; }; /** @@ -420,121 +398,122 @@ export type Channel = Node & { * of the GlobalSettings */ export type ChannelDefaultLanguageError = ErrorResult & { - channelCode: Scalars['String']['output']; - errorCode: ErrorCode; - language: Scalars['String']['output']; - message: Scalars['String']['output']; + channelCode: Scalars['String']['output']; + errorCode: ErrorCode; + language: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type ChannelFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ChannelListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 = { - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type CollectionFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CollectionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -542,77 +521,77 @@ export type CollectionListOptions = { * by the search, and in what quantity. */ export type CollectionResult = { - collection: Collection; - count: Scalars['Int']['output']; + 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 = { - 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']; + 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 = { - name: Scalars['String']['output']; - value: Scalars['String']['output']; + name: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type 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; + 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 = { - args: Array; - code: Scalars['String']['output']; + args: Array; + code: Scalars['String']['output']; }; export type ConfigurableOperationDefinition = { - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; + 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 = { - x: Scalars['Float']['output']; - y: Scalars['Float']['output']; + x: Scalars['Float']['output']; + y: Scalars['Float']['output']; }; export type CoordinateInput = { - x: Scalars['Float']['input']; - y: Scalars['Float']['input']; + x: Scalars['Float']['input']; + y: Scalars['Float']['input']; }; /** @@ -621,91 +600,90 @@ export type CoordinateInput = { * The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" etc. This code is used in certain inputs such as * `UpdateAddressInput` and `CreateAddressInput` to specify the country. */ -export type Country = Node & - Region & { - 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 Country = Node & Region & { + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CountryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeInvalidError = ErrorResult & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeLimitError = ErrorResult & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - limit: Scalars['Int']['output']; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + limit: Scalars['Int']['output']; + message: Scalars['String']['output']; }; /** @@ -716,261 +694,261 @@ export type CouponCodeLimitError = ErrorResult & { * If an invalid code is passed, the mutation will fail. */ 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 & { - errorCode: ErrorCode; - fulfillmentHandlerError: Scalars['String']['output']; - message: Scalars['String']['output']; + 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']; }; /** @@ -980,527 +958,520 @@ 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 = { - channels: Array; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; + channels: Array; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; }; export type CurrentUserChannel = { - code: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - token: Scalars['String']['output']; + 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; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = - | BooleanCustomFieldConfig - | DateTimeCustomFieldConfig - | FloatCustomFieldConfig - | IntCustomFieldConfig - | LocaleStringCustomFieldConfig - | LocaleTextCustomFieldConfig - | RelationCustomFieldConfig - | StringCustomFieldConfig - | StructCustomFieldConfig - | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | StructCustomFieldConfig | TextCustomFieldConfig; /** * This type is deprecated in v2.2 in favor of the EntityCustomFields type, * which allows custom fields to be defined on user-supplied entities. */ export type 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; - ProductVariantPrice: Array; - Promotion: Array; - Region: Array; - Seller: Array; - ShippingMethod: Array; - StockLocation: Array; - TaxCategory: Array; - TaxRate: Array; - User: Array; - Zone: Array; + 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; + ProductVariantPrice: Array; + Promotion: Array; + Region: Array; + Seller: Array; + ShippingMethod: Array; + StockLocation: Array; + TaxCategory: Array; + TaxRate: Array; + User: Array; + Zone: Array; }; export type Customer = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroup = Node & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customers: CustomerList; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroupList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerGroupListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; }; /** @@ -1508,19 +1479,19 @@ export type DateRange = { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** @@ -1528,242 +1499,243 @@ export type DateTimeCustomFieldConfig = CustomField & { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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 = { - message?: Maybe; - result: DeletionResult; + 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 = { - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - amountWithTax: Scalars['Money']['output']; - description: Scalars['String']['output']; - type: AdjustmentType; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + amountWithTax: Scalars['Money']['output']; + description: Scalars['String']['output']; + type: AdjustmentType; }; export type DuplicateEntityError = ErrorResult & { - duplicationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + duplicationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type DuplicateEntityInput = { - duplicatorInput: ConfigurableOperationInput; - entityId: Scalars['ID']['input']; - entityName: Scalars['String']['input']; + duplicatorInput: ConfigurableOperationInput; + entityId: Scalars['ID']['input']; + entityName: Scalars['String']['input']; }; export type DuplicateEntityResult = DuplicateEntityError | DuplicateEntitySuccess; export type DuplicateEntitySuccess = { - newEntityId: Scalars['ID']['output']; + newEntityId: Scalars['ID']['output']; }; /** Returned when attempting to create a Customer with an email address already registered to an existing User. */ export type EmailAddressConflictError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if no OrderLines have been specified for the operation */ export type EmptyOrderLineSelectionError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type EntityCustomFields = { - customFields: Array; - entityName: Scalars['String']['output']; + customFields: Array; + entityName: Scalars['String']['output']; }; export type EntityDuplicatorDefinition = { - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; - forEntities: Array; - requiresPermission: Array; + args: Array; + code: Scalars['String']['output']; + description: Scalars['String']['output']; + forEntities: Array; + requiresPermission: Array; }; 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', - DUPLICATE_ENTITY_ERROR = 'DUPLICATE_ENTITY_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_AMOUNT_ERROR = 'REFUND_AMOUNT_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', + DUPLICATE_ENTITY_ERROR = 'DUPLICATE_ENTITY_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_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_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_AMOUNT_ERROR = 'REFUND_AMOUNT_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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetInUseError = ErrorResult & { - errorCode: ErrorCode; - facetCode: Scalars['String']['output']; - message: Scalars['String']['output']; - productCount: Scalars['Int']['output']; - variantCount: Scalars['Int']['output']; + errorCode: ErrorCode; + facetCode: Scalars['String']['output']; + message: Scalars['String']['output']; + productCount: Scalars['Int']['output']; + variantCount: Scalars['Int']['output']; }; export type FacetList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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']; + 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']; }; /** @@ -1775,38 +1747,38 @@ 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + facetId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetValueListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -1814,227 +1786,226 @@ export type FacetValueListOptions = { * by the search, and in what quantity. */ export type FacetValueResult = { - count: Scalars['Int']['output']; - facetValue: FacetValue; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FloatStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FulfillOrderInput = { - handler: ConfigurableOperationInput; - lines: Array; + handler: ConfigurableOperationInput; + lines: Array; }; export type Fulfillment = Node & { - 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']; + 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 = { - fulfillment: Fulfillment; - fulfillmentId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + 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 = { - 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']; + 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 & { - errorCode: ErrorCode; - errorDetail: Scalars['String']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + errorDetail: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type HistoryEntry = Node & { - administrator?: Maybe; - createdAt: Scalars['DateTime']['output']; - data: Scalars['JSON']['output']; - id: Scalars['ID']['output']; - isPublic: Scalars['Boolean']['output']; - type: HistoryEntryType; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - isPublic?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + isPublic?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type HistoryEntryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type HistoryEntryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', - 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', + 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 = { - errors?: Maybe>; - imported: Scalars['Int']['output']; - processed: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add more items to the Order than are available */ export type InsufficientStockError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - order: Order; - quantityAvailable: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + order: Order; + quantityAvailable: Scalars['Int']['output']; }; /** @@ -2042,132 +2013,131 @@ export type InsufficientStockError = ErrorResult & { * stockOnHand of a ProductVariant to satisfy the requested quantity. */ export type InsufficientStockOnHandError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - stockOnHand: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + stockOnHand: Scalars['Int']['output']; }; export type IntCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type IntStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if the user authentication credentials are not valid */ export type InvalidCredentialsError = ErrorResult & { - authenticationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + authenticationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified FulfillmentHandler code is not valid */ export type InvalidFulfillmentHandlerError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified items are already part of a Fulfillment */ export type ItemsAlreadyFulfilledError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Job = Node & { - 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; + 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 = { - bufferId: Scalars['String']['output']; - size: Scalars['Int']['output']; + bufferId: Scalars['String']['output']; + size: Scalars['Int']['output']; }; export type JobFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - isSettled?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; - state?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type JobListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - name: Scalars['String']['output']; - running: Scalars['Boolean']['output']; + 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; }; /** @@ -2177,12 +2147,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' } /** @@ -2195,372 +2165,372 @@ 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 & { - errorCode: ErrorCode; - languageCode: Scalars['String']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + languageCode: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type LocaleStringCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - pattern?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + pattern?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocaleTextCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocalizedString = { - languageCode: LanguageCode; - value: Scalars['String']['output']; + 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; }; /** @@ -2568,1116 +2538,1264 @@ export type ManualPaymentInput = { * is not in the required state. */ export type ManualPaymentStateError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum MetricInterval { - Daily = 'Daily', + Daily = 'Daily' } export type MetricSummary = { - entries: Array; - interval: MetricInterval; - title: Scalars['String']['output']; - type: MetricType; + entries: Array; + interval: MetricInterval; + title: Scalars['String']['output']; + type: MetricType; }; export type MetricSummaryEntry = { - label: Scalars['String']['output']; - value: Scalars['Float']['output']; + 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 & { - errorCode: ErrorCode; - fileName: Scalars['String']['output']; - message: Scalars['String']['output']; - mimeType: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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']; - /** - * Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be - * applied in the case that multiple payment methods have been used on the order. - */ - refund?: InputMaybe; - refunds?: InputMaybe>; - /** Added in v2.2 */ - shippingMethodIds?: 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']; + /** + * Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be + * applied in the case that multiple payment methods have been used on the order. + */ + refund?: InputMaybe; + refunds?: InputMaybe>; + /** Added in v2.2 */ + shippingMethodIds?: InputMaybe>; + surcharges?: InputMaybe>; + updateBillingAddress?: InputMaybe; + updateShippingAddress?: InputMaybe; }; export type ModifyOrderOptions = { - freezePromotions?: InputMaybe; - recalculateShipping?: InputMaybe; -}; - -export type ModifyOrderResult = - | CouponCodeExpiredError - | CouponCodeInvalidError - | CouponCodeLimitError - | IneligibleShippingMethodError - | InsufficientStockError - | NegativeQuantityError - | NoChangesSpecifiedError - | Order - | OrderLimitError - | OrderModificationStateError - | PaymentMethodMissingError - | RefundPaymentIdMissingError; + freezePromotions?: InputMaybe; + recalculateShipping?: InputMaybe; +}; + +export type ModifyOrderResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | IneligibleShippingMethodError | 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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; - /** - * Duplicate an existing entity using a specific EntityDuplicator. - * Since v2.2.0. - */ - duplicateEntity: DuplicateEntityResult; - flushBufferedJobs: Success; - importProducts?: Maybe; - /** - * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) - * - * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie - * to 1 year. - */ - 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; - /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */ - setOrderCustomer?: Maybe; - settlePayment: SettlePaymentResult; - settleRefund: SettleRefundResult; - transitionFulfillmentToState: TransitionFulfillmentToStateResult; - transitionOrderToState?: Maybe; - transitionPaymentToState: TransitionPaymentToStateResult; - /** Unsets the billing address for a draft Order */ - unsetDraftOrderBillingAddress: Order; - /** Unsets the sthipping address for a draft Order */ - unsetDraftOrderShippingAddress: Order; - /** 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; + /** 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; + /** + * Duplicate an existing entity using a specific EntityDuplicator. + * Since v2.2.0. + */ + duplicateEntity: DuplicateEntityResult; + flushBufferedJobs: Success; + importProducts?: Maybe; + /** + * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) + * + * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie + * to 1 year. + */ + 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; + /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */ + setOrderCustomer?: Maybe; + settlePayment: SettlePaymentResult; + settleRefund: SettleRefundResult; + transitionFulfillmentToState: TransitionFulfillmentToStateResult; + transitionOrderToState?: Maybe; + transitionPaymentToState: TransitionPaymentToStateResult; + /** Unsets the billing address for a draft Order */ + unsetDraftOrderBillingAddress: Order; + /** Unsets the shipping address for a draft Order */ + unsetDraftOrderShippingAddress: Order; + /** 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 MutationDuplicateEntityArgs = { - input: DuplicateEntityInput; + input: DuplicateEntityInput; }; + 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 MutationSetOrderCustomerArgs = { - input: SetOrderCustomerInput; + input: SetOrderCustomerInput; }; + 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 MutationUnsetDraftOrderBillingAddressArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; + export type MutationUnsetDraftOrderShippingAddressArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -3685,309 +3803,317 @@ export type NegativeQuantityError = ErrorResult & { * current session. */ export type NoActiveOrderError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when a call to modifyOrder fails to specify any changes */ export type NoChangesSpecifiedError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - /** 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']; + /** 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 = { - city?: Maybe; - company?: Maybe; - country?: Maybe; - countryCode?: Maybe; - customFields?: Maybe; - fullName?: Maybe; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1?: Maybe; - streetLine2?: Maybe; + 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; }; /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { - errorCode: ErrorCode; - maxItems: Scalars['Int']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + maxItems: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type OrderLine = Node & { - 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']; - /** The quantity of items purchased */ - 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']; + 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']; + /** The quantity of items purchased */ + 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type OrderListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderModificationLine = { - modification: OrderModification; - modificationId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderProcessState = { - name: Scalars['String']['output']; - to: Array; + 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 & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -3995,83 +4121,83 @@ export type OrderStateTransitionError = ErrorResult & { * by taxRate. */ export type 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']; + /** 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 & { - 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']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PaymentMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -4079,59 +4205,59 @@ export type PaymentMethodListOptions = { * though the price has increased as a result of the changes. */ export type PaymentMethodMissingError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Payment state */ export type PaymentStateTransitionError = ErrorResult & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4167,446 +4293,448 @@ 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 = { - assignable: Scalars['Boolean']['output']; - description: Scalars['String']['output']; - name: Scalars['String']['output']; + 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 = { - max: Scalars['Money']['output']; - min: Scalars['Money']['output']; + max: Scalars['Money']['output']; + min: Scalars['Money']['output']; }; export type Product = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - sku?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + sku?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 & { - 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - optionGroupCode: Scalars['String']['output']; - productVariantCount: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + optionGroupCode: Scalars['String']['output']; + productVariantCount: Scalars['Int']['output']; }; export type ProductOptionTranslation = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - 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']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductVariantListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - currencyCode: CurrencyCode; - customFields?: Maybe; - price: Scalars['Money']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + price: Scalars['Money']['output']; }; /** @@ -4614,576 +4742,623 @@ 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; - usageLimit?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PromotionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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 & { + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProvinceListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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; - /** Returns all configured EntityDuplicators. */ - entityDuplicators: 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; + 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; + /** Returns all configured EntityDuplicators. */ + entityDuplicators: 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 & { - 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']; + 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']; }; /** Returned if `amount` is greater than the maximum un-refunded amount of the Payment */ export type RefundAmountError = ErrorResult & { - errorCode: ErrorCode; - maximumRefundable: Scalars['Int']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + maximumRefundable: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type RefundLine = { - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; - refund: Refund; - refundId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; + refund: Refund; + refundId: Scalars['ID']['output']; }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; - /** - * If an amount is specified, this value will be used to create a Refund rather than calculating the - * amount automatically. This was added in v2.2 and will be the preferred way to specify the refund - * amount in the future. The `lines`, `shipping` and `adjustment` fields will likely be removed in a future - * version. - */ - amount?: InputMaybe; - lines: Array; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; - shipping: Scalars['Money']['input']; -}; - -export type RefundOrderResult = - | AlreadyRefundedError - | MultipleOrderError - | NothingToRefundError - | OrderStateTransitionError - | PaymentOrderMismatchError - | QuantityTooGreatError - | Refund - | RefundAmountError - | RefundOrderStateError - | RefundStateTransitionError; + /** @deprecated Use the `amount` field instead */ + adjustment?: InputMaybe; + /** + * The amount to be refunded to this particular payment. This was introduced in v2.2.0 as the preferred way to specify the refund amount. + * Can be as much as the total amount of the payment minus the sum of all previous refunds. + */ + amount?: InputMaybe; + /** @deprecated Use the `amount` field instead */ + lines?: InputMaybe>; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; + /** @deprecated Use the `amount` field instead */ + shipping?: InputMaybe; +}; + +export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundAmountError | RefundOrderStateError | RefundStateTransitionError; /** Returned if an attempting to refund an Order which is not in the expected state */ export type RefundOrderStateError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; /** @@ -5191,836 +5366,815 @@ export type RefundOrderStateError = ErrorResult & { * though the price has decreased as a result of the changes. */ export type RefundPaymentIdMissingError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Refund state */ export type RefundStateTransitionError = ErrorResult & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RelationCustomFieldConfig = CustomField & { - description?: Maybe>; - entity: Scalars['String']['output']; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type Release = Node & - StockMovement & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; - }; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type Release = Node & StockMovement & { + 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; -export type RemoveOrderItemsResult = Order | OrderModificationError; +export type RemoveOrderItemsResult = Order | OrderInterceptorError | 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 & { - 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 & { + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; +}; export type Role = Node & { - channels: Array; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export type RoleList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type RoleListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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 & { + 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 = { - success: Scalars['Boolean']['output']; + success: Scalars['Boolean']['output']; }; export type SearchResponse = { - collections: Array; - facetValues: Array; - items: Array; - totalItems: Scalars['Int']['output']; + collections: Array; + facetValues: Array; + items: Array; + totalItems: Scalars['Int']['output']; }; export type 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']; + /** 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 = { - focalPoint?: Maybe; - id: Scalars['ID']['output']; - preview: Scalars['String']['output']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SellerFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type SellerList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SellerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - /** - * This field is deprecated in v2.2 in favor of the entityCustomFields field, - * which allows custom fields to be defined on user-supplies entities. - */ - customFieldConfig: CustomFields; - entityCustomFields: Array; - moneyStrategyPrecision: Scalars['Int']['output']; - orderProcess: Array; - permissions: Array; - permittedAssetTypes: Array; + /** + * This field is deprecated in v2.2 in favor of the entityCustomFields field, + * which allows custom fields to be defined on user-supplies entities. + */ + customFieldConfig: CustomFields; + entityCustomFields: Array; + moneyStrategyPrecision: Scalars['Int']['output']; + orderProcess: Array; + permissions: Array; + permittedAssetTypes: Array; }; export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order; export type SetOrderCustomerInput = { - customerId: Scalars['ID']['input']; - note?: InputMaybe; - orderId: Scalars['ID']['input']; + customerId: Scalars['ID']['input']; + note?: InputMaybe; + orderId: Scalars['ID']['input']; }; -export type SetOrderShippingMethodResult = - | IneligibleShippingMethodError - | NoActiveOrderError - | Order - | OrderModificationError; +export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError; /** Returned if the Payment settlement fails */ export type SettlePaymentError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + 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 = { - discountedPrice: Scalars['Money']['output']; - discountedPriceWithTax: Scalars['Money']['output']; - discounts: Array; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - shippingMethod: ShippingMethod; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ShippingMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - value: Scalars['Money']['output']; + value: Scalars['Money']['output']; }; export enum SortOrder { - ASC = 'ASC', - DESC = 'DESC', + ASC = 'ASC', + DESC = 'DESC' } -export type StockAdjustment = Node & - StockMovement & { - 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 & { + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; +}; export type StockLevel = Node & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockLocationList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockLocationListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - items: Array; - totalItems: Scalars['Int']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + options?: Maybe>; + pattern?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StringFieldOption = { - label?: Maybe>; - value: Scalars['String']['output']; + 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 StringStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + options?: Maybe>; + pattern?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructCustomFieldConfig = CustomField & { - description?: Maybe>; - fields: Array; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + fields: Array; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructField = { - description?: Maybe>; - label?: Maybe>; - list?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type StructFieldConfig = - | BooleanStructFieldConfig - | DateTimeStructFieldConfig - | FloatStructFieldConfig - | IntStructFieldConfig - | StringStructFieldConfig - | TextStructFieldConfig; + description?: Maybe>; + label?: Maybe>; + list?: Maybe; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type StructFieldConfig = BooleanStructFieldConfig | DateTimeStructFieldConfig | FloatStructFieldConfig | IntStructFieldConfig | StringStructFieldConfig | TextStructFieldConfig; /** Indicates that an operation succeeded, where we do not want to return any more specific information. */ export type Success = { - success: Scalars['Boolean']['output']; + success: Scalars['Boolean']['output']; }; export type Surcharge = Node & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['String']['output']; }; export type TagFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TagList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TagListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isDefault: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - isDefault?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + isDefault?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxCategoryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxCategoryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - description: Scalars['String']['output']; - taxRate: Scalars['Float']['output']; + description: Scalars['String']['output']; + taxRate: Scalars['Float']['output']; }; export type TaxRate = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxRateList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxRateListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - metadata?: Maybe; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + metadata?: Maybe; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type TestShippingMethodResult = { - eligible: Scalars['Boolean']['output']; - quote?: Maybe; + eligible: Scalars['Boolean']['output']; + quote?: Maybe; }; export type TextCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TextStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError; @@ -6030,11 +6184,11 @@ 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; }; /** @@ -6045,984 +6199,406 @@ export type UpdateActiveAdministratorInput = { * If an invalid code is passed, the mutation will fail. */ 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 | OrderInterceptorError | 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 & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - members: Array; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + members: Array; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ZoneFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ZoneList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ZoneListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 ReindexMutationVariables = Exact<{ [key: string]: never }>; +export type ReindexMutationVariables = Exact<{ [key: string]: never; }>; -export type ReindexMutation = { - reindex: { - id: string; - queueName: string; - state: JobState; - progress: number; - duration: number; - result?: any | null; - }; -}; -export type GetCollectionListQueryVariables = Exact<{ [key: string]: never }>; +export type ReindexMutation = { reindex: { id: string, queueName: string, state: JobState, progress: number, duration: number, result?: any | null } }; + +export type GetCollectionListQueryVariables = Exact<{ [key: string]: never; }>; -export type GetCollectionListQuery = { collections: { items: Array<{ id: string; name: string }> } }; + +export type GetCollectionListQuery = { collections: { items: Array<{ id: string, name: string }> } }; export type SearchProductsAdminQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; -export type SearchProductsAdminQuery = { - search: { - totalItems: number; - items: Array<{ - enabled: boolean; - productId: string; - productName: string; - slug: string; - description: string; - productVariantId: string; - productVariantName: string; - sku: string; - productAsset?: { - id: string; - preview: string; - focalPoint?: { x: number; y: number } | null; - } | null; - productVariantAsset?: { - id: string; - preview: string; - focalPoint?: { x: number; y: number } | null; - } | null; - }>; - }; -}; + +export type SearchProductsAdminQuery = { search: { totalItems: number, items: Array<{ enabled: boolean, productId: string, productName: string, slug: string, description: string, productVariantId: string, productVariantName: string, sku: string, productAsset?: { id: string, preview: string, focalPoint?: { x: number, y: number } | null } | null, productVariantAsset?: { id: string, preview: string, focalPoint?: { x: number, y: number } | null } | null }> } }; export type SearchFacetValuesQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; -export type SearchFacetValuesQuery = { - search: { - totalItems: number; - facetValues: Array<{ count: number; facetValue: { id: string; name: string } }>; - }; -}; + +export type SearchFacetValuesQuery = { search: { totalItems: number, facetValues: Array<{ count: number, facetValue: { id: string, name: string } }> } }; export type SearchCollectionsQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; -export type SearchCollectionsQuery = { - search: { - totalItems: number; - collections: Array<{ count: number; collection: { id: string; name: string } }>; - }; -}; + +export type SearchCollectionsQuery = { search: { totalItems: number, collections: Array<{ count: number, collection: { id: string, name: string } }> } }; export type SearchGetPricesQueryVariables = Exact<{ - input: SearchInput; + input: SearchInput; }>; -export type SearchGetPricesQuery = { - search: { - items: Array<{ - price: { min: number; max: number } | { value: number }; - priceWithTax: { min: number; max: number } | { value: number }; - }>; - }; -}; + +export type SearchGetPricesQuery = { search: { items: Array<{ price: { min: number, max: number } | { value: number }, priceWithTax: { min: number, max: number } | { value: number } }> } }; export type GetJobInfoQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type GetJobInfoQuery = { - job?: { - id: string; - queueName: string; - state: JobState; - progress: number; - duration: number; - result?: any | null; - } | null; -}; - -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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'queueName' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'progress' } }, - { kind: 'Field', name: { kind: 'Name', value: 'duration' } }, - { kind: 'Field', name: { kind: 'Name', value: 'result' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GetCollectionListDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GetCollectionList' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'collections' }, - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchProductsAdminDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchProductsAdmin' }, - 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: 'description' } }, - { - 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: '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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchFacetValuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchFacetValues' }, - 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: '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: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchCollectionsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchCollections' }, - 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: 'collections' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'count' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'collection' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'id' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'name' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchGetPricesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchGetPrices' }, - 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: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'price' }, - 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: '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', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'queueName' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'progress' } }, - { kind: 'Field', name: { kind: 'Name', value: 'duration' } }, - { kind: 'Field', name: { kind: 'Name', value: 'result' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; + +export type GetJobInfoQuery = { job?: { id: string, queueName: string, state: JobState, progress: number, duration: number, result?: any | null } | null }; + + +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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} as unknown as DocumentNode; +export const GetCollectionListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCollectionList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"collections"},"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const SearchProductsAdminDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchProductsAdmin"},"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":"description"}},{"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":"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"}}]}}]}}]}}]} as unknown as DocumentNode; +export const SearchFacetValuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchFacetValues"},"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":"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":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const SearchCollectionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchCollections"},"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":"collections"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"collection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; +export const SearchGetPricesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchGetPrices"},"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":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"price"},"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":"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"}}]}}]}}]}}]}}]}}]} 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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"queueName"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"progress"}},{"kind":"Field","name":{"kind":"Name","value":"duration"}},{"kind":"Field","name":{"kind":"Name","value":"result"}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/packages/payments-plugin/e2e/graphql/generated-admin-types.ts b/packages/payments-plugin/e2e/graphql/generated-admin-types.ts index a50a83aa3f..8d3ca92f3d 100644 --- a/packages/payments-plugin/e2e/graphql/generated-admin-types.ts +++ b/packages/payments-plugin/e2e/graphql/generated-admin-types.ts @@ -6,417 +6,395 @@ 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 & { - 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']; + 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 = { - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - data?: Maybe; - description: Scalars['String']['output']; - type: AdjustmentType; + 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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + updatedAt?: InputMaybe; }; export type AdministratorList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AdministratorListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - /** - * The amount to be refunded to this particular Payment. This was introduced in - * v2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment` - * fields will be removed in a future version. - */ - amount?: InputMaybe; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; + /** + * The amount to be refunded to this particular Payment. This was introduced in + * v2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment` + * fields will be removed in a future version. + */ + amount?: 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 & { - 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 & { + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - refundId: Scalars['ID']['output']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - fileSize?: InputMaybe; - height?: InputMaybe; - id?: InputMaybe; - mimeType?: InputMaybe; - name?: InputMaybe; - preview?: InputMaybe; - source?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; - width?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type AssetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - strategy: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: 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 BooleanStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if an attempting to cancel lines from an Order which is still active */ export type CancelActiveOrderError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + paymentErrorMessage: Scalars['String']['output']; }; export type CancelPaymentResult = CancelPaymentError | Payment | PaymentStateTransitionError; -export type Cancellation = Node & - StockMovement & { - 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 & { + 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 & { - 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']; + 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']; }; /** @@ -424,121 +402,122 @@ export type Channel = Node & { * of the GlobalSettings */ export type ChannelDefaultLanguageError = ErrorResult & { - channelCode: Scalars['String']['output']; - errorCode: ErrorCode; - language: Scalars['String']['output']; - message: Scalars['String']['output']; + channelCode: Scalars['String']['output']; + errorCode: ErrorCode; + language: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type ChannelFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - defaultCurrencyCode?: InputMaybe; - defaultLanguageCode?: InputMaybe; - id?: InputMaybe; - outOfStockThreshold?: InputMaybe; - pricesIncludeTax?: InputMaybe; - token?: InputMaybe; - trackInventory?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ChannelListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 = { - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - slug: Scalars['String']['output']; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + slug: Scalars['String']['output']; }; export type CollectionFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - inheritFilters?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CollectionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -546,77 +525,77 @@ export type CollectionListOptions = { * by the search, and in what quantity. */ export type CollectionResult = { - collection: Collection; - count: Scalars['Int']['output']; + 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 = { - 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']; + 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 = { - name: Scalars['String']['output']; - value: Scalars['String']['output']; + name: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type 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; + 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 = { - args: Array; - code: Scalars['String']['output']; + args: Array; + code: Scalars['String']['output']; }; export type ConfigurableOperationDefinition = { - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; + 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 = { - x: Scalars['Float']['output']; - y: Scalars['Float']['output']; + x: Scalars['Float']['output']; + y: Scalars['Float']['output']; }; export type CoordinateInput = { - x: Scalars['Float']['input']; - y: Scalars['Float']['input']; + x: Scalars['Float']['input']; + y: Scalars['Float']['input']; }; /** @@ -625,91 +604,90 @@ export type CoordinateInput = { * The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" etc. This code is used in certain inputs such as * `UpdateAddressInput` and `CreateAddressInput` to specify the country. */ -export type Country = Node & - Region & { - 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 Country = Node & Region & { + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type CountryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CountryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeInvalidError = ErrorResult & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the provided coupon code is invalid */ export type CouponCodeLimitError = ErrorResult & { - couponCode: Scalars['String']['output']; - errorCode: ErrorCode; - limit: Scalars['Int']['output']; - message: Scalars['String']['output']; + couponCode: Scalars['String']['output']; + errorCode: ErrorCode; + limit: Scalars['Int']['output']; + message: Scalars['String']['output']; }; /** @@ -720,261 +698,261 @@ export type CouponCodeLimitError = ErrorResult & { * If an invalid code is passed, the mutation will fail. */ 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 & { - errorCode: ErrorCode; - fulfillmentHandlerError: Scalars['String']['output']; - message: Scalars['String']['output']; + 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']; }; /** @@ -984,527 +962,520 @@ 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 = { - channels: Array; - id: Scalars['ID']['output']; - identifier: Scalars['String']['output']; + channels: Array; + id: Scalars['ID']['output']; + identifier: Scalars['String']['output']; }; export type CurrentUserChannel = { - code: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - token: Scalars['String']['output']; + 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; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = - | BooleanCustomFieldConfig - | DateTimeCustomFieldConfig - | FloatCustomFieldConfig - | IntCustomFieldConfig - | LocaleStringCustomFieldConfig - | LocaleTextCustomFieldConfig - | RelationCustomFieldConfig - | StringCustomFieldConfig - | StructCustomFieldConfig - | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | StructCustomFieldConfig | TextCustomFieldConfig; /** * This type is deprecated in v2.2 in favor of the EntityCustomFields type, * which allows custom fields to be defined on user-supplied entities. */ export type 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; - ProductVariantPrice: Array; - Promotion: Array; - Region: Array; - Seller: Array; - ShippingMethod: Array; - StockLocation: Array; - TaxCategory: Array; - TaxRate: Array; - User: Array; - Zone: Array; + 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; + ProductVariantPrice: Array; + Promotion: Array; + Region: Array; + Seller: Array; + ShippingMethod: Array; + StockLocation: Array; + TaxCategory: Array; + TaxRate: Array; + User: Array; + Zone: Array; }; export type Customer = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - postalCode?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + emailAddress?: InputMaybe; + firstName?: InputMaybe; + id?: InputMaybe; + lastName?: InputMaybe; + phoneNumber?: InputMaybe; + postalCode?: InputMaybe; + title?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroup = Node & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - customers: CustomerList; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type CustomerGroupList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerGroupListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type CustomerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; }; /** @@ -1512,19 +1483,19 @@ export type DateRange = { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** @@ -1532,243 +1503,244 @@ export type DateTimeCustomFieldConfig = CustomField & { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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 = { - message?: Maybe; - result: DeletionResult; + 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 = { - adjustmentSource: Scalars['String']['output']; - amount: Scalars['Money']['output']; - amountWithTax: Scalars['Money']['output']; - description: Scalars['String']['output']; - type: AdjustmentType; + adjustmentSource: Scalars['String']['output']; + amount: Scalars['Money']['output']; + amountWithTax: Scalars['Money']['output']; + description: Scalars['String']['output']; + type: AdjustmentType; }; export type DuplicateEntityError = ErrorResult & { - duplicationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + duplicationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type DuplicateEntityInput = { - duplicatorInput: ConfigurableOperationInput; - entityId: Scalars['ID']['input']; - entityName: Scalars['String']['input']; + duplicatorInput: ConfigurableOperationInput; + entityId: Scalars['ID']['input']; + entityName: Scalars['String']['input']; }; export type DuplicateEntityResult = DuplicateEntityError | DuplicateEntitySuccess; export type DuplicateEntitySuccess = { - newEntityId: Scalars['ID']['output']; + newEntityId: Scalars['ID']['output']; }; /** Returned when attempting to create a Customer with an email address already registered to an existing User. */ export type EmailAddressConflictError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if no OrderLines have been specified for the operation */ export type EmptyOrderLineSelectionError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type EntityCustomFields = { - customFields: Array; - entityName: Scalars['String']['output']; + customFields: Array; + entityName: Scalars['String']['output']; }; export type EntityDuplicatorDefinition = { - args: Array; - code: Scalars['String']['output']; - description: Scalars['String']['output']; - forEntities: Array; - requiresPermission: Array; + args: Array; + code: Scalars['String']['output']; + description: Scalars['String']['output']; + forEntities: Array; + requiresPermission: Array; }; 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', - DUPLICATE_ENTITY_ERROR = 'DUPLICATE_ENTITY_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_PAYMENT_STATE_ERROR = 'ORDER_PAYMENT_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_AMOUNT_ERROR = 'REFUND_AMOUNT_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', + DUPLICATE_ENTITY_ERROR = 'DUPLICATE_ENTITY_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_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_ERROR', + ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', + ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', + ORDER_MODIFICATION_STATE_ERROR = 'ORDER_MODIFICATION_STATE_ERROR', + ORDER_PAYMENT_STATE_ERROR = 'ORDER_PAYMENT_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_AMOUNT_ERROR = 'REFUND_AMOUNT_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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - isPrivate?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + id?: InputMaybe; + isPrivate?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetInUseError = ErrorResult & { - errorCode: ErrorCode; - facetCode: Scalars['String']['output']; - message: Scalars['String']['output']; - productCount: Scalars['Int']['output']; - variantCount: Scalars['Int']['output']; + errorCode: ErrorCode; + facetCode: Scalars['String']['output']; + message: Scalars['String']['output']; + productCount: Scalars['Int']['output']; + variantCount: Scalars['Int']['output']; }; export type FacetList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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']; + 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']; }; /** @@ -1780,38 +1752,38 @@ 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + facetId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type FacetValueList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type FacetValueListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -1819,227 +1791,226 @@ export type FacetValueListOptions = { * by the search, and in what quantity. */ export type FacetValueResult = { - count: Scalars['Int']['output']; - facetValue: FacetValue; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FloatStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FulfillOrderInput = { - handler: ConfigurableOperationInput; - lines: Array; + handler: ConfigurableOperationInput; + lines: Array; }; export type Fulfillment = Node & { - 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']; + 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 = { - fulfillment: Fulfillment; - fulfillmentId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + 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 = { - 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']; + 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 & { - errorCode: ErrorCode; - errorDetail: Scalars['String']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + errorDetail: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type HistoryEntry = Node & { - administrator?: Maybe; - createdAt: Scalars['DateTime']['output']; - data: Scalars['JSON']['output']; - id: Scalars['ID']['output']; - isPublic: Scalars['Boolean']['output']; - type: HistoryEntryType; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - isPublic?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + isPublic?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type HistoryEntryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type HistoryEntryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', - 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', + 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 = { - errors?: Maybe>; - imported: Scalars['Int']['output']; - processed: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when attempting to add more items to the Order than are available */ export type InsufficientStockError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - order: Order; - quantityAvailable: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + order: Order; + quantityAvailable: Scalars['Int']['output']; }; /** @@ -2047,132 +2018,131 @@ export type InsufficientStockError = ErrorResult & { * stockOnHand of a ProductVariant to satisfy the requested quantity. */ export type InsufficientStockOnHandError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - productVariantId: Scalars['ID']['output']; - productVariantName: Scalars['String']['output']; - stockOnHand: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + productVariantId: Scalars['ID']['output']; + productVariantName: Scalars['String']['output']; + stockOnHand: Scalars['Int']['output']; }; export type IntCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type IntStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** Returned if the user authentication credentials are not valid */ export type InvalidCredentialsError = ErrorResult & { - authenticationError: Scalars['String']['output']; - errorCode: ErrorCode; - message: Scalars['String']['output']; + authenticationError: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified FulfillmentHandler code is not valid */ export type InvalidFulfillmentHandlerError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned if the specified items are already part of a Fulfillment */ export type ItemsAlreadyFulfilledError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type Job = Node & { - 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; + 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 = { - bufferId: Scalars['String']['output']; - size: Scalars['Int']['output']; + bufferId: Scalars['String']['output']; + size: Scalars['Int']['output']; }; export type JobFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - attempts?: InputMaybe; - createdAt?: InputMaybe; - duration?: InputMaybe; - id?: InputMaybe; - isSettled?: InputMaybe; - progress?: InputMaybe; - queueName?: InputMaybe; - retries?: InputMaybe; - settledAt?: InputMaybe; - startedAt?: InputMaybe; - state?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type JobListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - name: Scalars['String']['output']; - running: Scalars['Boolean']['output']; + 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; }; /** @@ -2182,12 +2152,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' } /** @@ -2200,372 +2170,372 @@ 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 & { - errorCode: ErrorCode; - languageCode: Scalars['String']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + languageCode: Scalars['String']['output']; + message: Scalars['String']['output']; }; export type LocaleStringCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - pattern?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + pattern?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocaleTextCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type LocalizedString = { - languageCode: LanguageCode; - value: Scalars['String']['output']; + 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; }; /** @@ -2573,1181 +2543,1330 @@ export type ManualPaymentInput = { * is not in the required state. */ export type ManualPaymentStateError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export enum MetricInterval { - Daily = 'Daily', + Daily = 'Daily' } export type MetricSummary = { - entries: Array; - interval: MetricInterval; - title: Scalars['String']['output']; - type: MetricType; + entries: Array; + interval: MetricInterval; + title: Scalars['String']['output']; + type: MetricType; }; export type MetricSummaryEntry = { - label: Scalars['String']['output']; - value: Scalars['Float']['output']; + 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 & { - errorCode: ErrorCode; - fileName: Scalars['String']['output']; - message: Scalars['String']['output']; - mimeType: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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']; - /** - * Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be - * applied in the case that multiple payment methods have been used on the order. - */ - refund?: InputMaybe; - refunds?: InputMaybe>; - /** Added in v2.2 */ - shippingMethodIds?: 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']; + /** + * Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be + * applied in the case that multiple payment methods have been used on the order. + */ + refund?: InputMaybe; + refunds?: InputMaybe>; + /** Added in v2.2 */ + shippingMethodIds?: InputMaybe>; + surcharges?: InputMaybe>; + updateBillingAddress?: InputMaybe; + updateShippingAddress?: InputMaybe; }; export type ModifyOrderOptions = { - freezePromotions?: InputMaybe; - recalculateShipping?: InputMaybe; -}; - -export type ModifyOrderResult = - | CouponCodeExpiredError - | CouponCodeInvalidError - | CouponCodeLimitError - | IneligibleShippingMethodError - | InsufficientStockError - | NegativeQuantityError - | NoChangesSpecifiedError - | Order - | OrderLimitError - | OrderModificationStateError - | PaymentMethodMissingError - | RefundPaymentIdMissingError; + freezePromotions?: InputMaybe; + recalculateShipping?: InputMaybe; +}; + +export type ModifyOrderResult = CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError | IneligibleShippingMethodError | InsufficientStockError | NegativeQuantityError | NoChangesSpecifiedError | Order | OrderLimitError | OrderModificationStateError | PaymentMethodMissingError | RefundPaymentIdMissingError; export type MollieAmount = { - currency?: Maybe; - value?: Maybe; + currency?: Maybe; + value?: Maybe; }; export type MolliePaymentIntent = { - url: Scalars['String']['output']; + url: Scalars['String']['output']; }; export type MolliePaymentIntentError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type MolliePaymentIntentInput = { - /** - * Optional preselected Mollie payment method. When this is passed - * the payment selection step will be skipped. - */ - molliePaymentMethodCode?: InputMaybe; - /** - * Use this to create a payment intent for a specific order. This allows you to create intents for - * orders that are not active orders. - */ - orderId?: InputMaybe; - /** - * The code of the Vendure payment method to use for the payment. - * Must have Mollie as payment method handler. - * Without this, the first method with Mollie as handler will be used. - */ - paymentMethodCode?: InputMaybe; - /** - * The redirect url to which the customer will be redirected after the payment is completed. - * The configured fallback redirect will be used if this is not provided. - */ - redirectUrl?: InputMaybe; + /** + * Optional preselected Mollie payment method. When this is passed + * the payment selection step will be skipped. + */ + molliePaymentMethodCode?: InputMaybe; + /** + * Use this to create a payment intent for a specific order. This allows you to create intents for + * orders that are not active orders. + */ + orderId?: InputMaybe; + /** + * The code of the Vendure payment method to use for the payment. + * Must have Mollie as payment method handler. + * Without this, the first method with Mollie as handler will be used. + */ + paymentMethodCode?: InputMaybe; + /** + * The redirect url to which the customer will be redirected after the payment is completed. + * The configured fallback redirect will be used if this is not provided. + */ + redirectUrl?: InputMaybe; }; export type MolliePaymentIntentResult = MolliePaymentIntent | MolliePaymentIntentError; export type MolliePaymentMethod = { - code: Scalars['String']['output']; - description?: Maybe; - id: Scalars['ID']['output']; - image?: Maybe; - maximumAmount?: Maybe; - minimumAmount?: Maybe; - status?: Maybe; + code: Scalars['String']['output']; + description?: Maybe; + id: Scalars['ID']['output']; + image?: Maybe; + maximumAmount?: Maybe; + minimumAmount?: Maybe; + status?: Maybe; }; export type MolliePaymentMethodImages = { - size1x?: Maybe; - size2x?: Maybe; - svg?: Maybe; + size1x?: Maybe; + size2x?: Maybe; + svg?: Maybe; }; export type MolliePaymentMethodsInput = { - paymentMethodCode: Scalars['String']['input']; + paymentMethodCode: Scalars['String']['input']; }; 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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; - createMolliePaymentIntent: MolliePaymentIntentResult; - /** 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; - /** - * Duplicate an existing entity using a specific EntityDuplicator. - * Since v2.2.0. - */ - duplicateEntity: DuplicateEntityResult; - flushBufferedJobs: Success; - importProducts?: Maybe; - /** - * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) - * - * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie - * to 1 year. - */ - 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; - /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */ - setOrderCustomer?: Maybe; - settlePayment: SettlePaymentResult; - settleRefund: SettleRefundResult; - transitionFulfillmentToState: TransitionFulfillmentToStateResult; - transitionOrderToState?: Maybe; - transitionPaymentToState: TransitionPaymentToStateResult; - /** Unsets the billing address for a draft Order */ - unsetDraftOrderBillingAddress: Order; - /** Unsets the sthipping address for a draft Order */ - unsetDraftOrderShippingAddress: Order; - /** 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; + /** 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; + createMolliePaymentIntent: MolliePaymentIntentResult; + /** 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; + /** + * Duplicate an existing entity using a specific EntityDuplicator. + * Since v2.2.0. + */ + duplicateEntity: DuplicateEntityResult; + flushBufferedJobs: Success; + importProducts?: Maybe; + /** + * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) + * + * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie + * to 1 year. + */ + 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; + /** Allows a different Customer to be assigned to an Order. Added in v2.2.0. */ + setOrderCustomer?: Maybe; + settlePayment: SettlePaymentResult; + settleRefund: SettleRefundResult; + transitionFulfillmentToState: TransitionFulfillmentToStateResult; + transitionOrderToState?: Maybe; + transitionPaymentToState: TransitionPaymentToStateResult; + /** Unsets the billing address for a draft Order */ + unsetDraftOrderBillingAddress: Order; + /** Unsets the shipping address for a draft Order */ + unsetDraftOrderShippingAddress: Order; + /** 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 MutationCreateMolliePaymentIntentArgs = { - input: MolliePaymentIntentInput; + input: MolliePaymentIntentInput; }; + 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 MutationDuplicateEntityArgs = { - input: DuplicateEntityInput; + input: DuplicateEntityInput; }; + 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 MutationSetOrderCustomerArgs = { - input: SetOrderCustomerInput; + input: SetOrderCustomerInput; }; + 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 MutationUnsetDraftOrderBillingAddressArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['input']; }; + export type MutationUnsetDraftOrderShippingAddressArgs = { - orderId: Scalars['ID']['input']; + orderId: Scalars['ID']['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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** @@ -3755,309 +3874,317 @@ export type NegativeQuantityError = ErrorResult & { * current session. */ export type NoActiveOrderError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when a call to modifyOrder fails to specify any changes */ export type NoChangesSpecifiedError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + 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 & { - /** 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']; + /** 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 = { - city?: Maybe; - company?: Maybe; - country?: Maybe; - countryCode?: Maybe; - customFields?: Maybe; - fullName?: Maybe; - phoneNumber?: Maybe; - postalCode?: Maybe; - province?: Maybe; - streetLine1?: Maybe; - streetLine2?: Maybe; + 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; }; /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { - errorCode: ErrorCode; - maxItems: Scalars['Int']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + maxItems: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type OrderLine = Node & { - 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']; - /** The quantity of items purchased */ - 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']; + 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']; + /** The quantity of items purchased */ + 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type OrderListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderModificationLine = { - modification: OrderModification; - modificationId: Scalars['ID']['output']; - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type OrderProcessState = { - name: Scalars['String']['output']; - to: Array; + 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 & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4065,83 +4192,83 @@ export type OrderStateTransitionError = ErrorResult & { * by taxRate. */ export type 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']; + /** 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 & { - 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']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type PaymentMethodList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PaymentMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -4149,59 +4276,59 @@ export type PaymentMethodListOptions = { * though the price has increased as a result of the changes. */ export type PaymentMethodMissingError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Payment state */ export type PaymentStateTransitionError = ErrorResult & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + errorCode: ErrorCode; + fromState: Scalars['String']['output']; + message: Scalars['String']['output']; + toState: Scalars['String']['output']; + transitionError: Scalars['String']['output']; }; /** @@ -4237,446 +4364,448 @@ 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 = { - assignable: Scalars['Boolean']['output']; - description: Scalars['String']['output']; - name: Scalars['String']['output']; + 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 = { - max: Scalars['Money']['output']; - min: Scalars['Money']['output']; + max: Scalars['Money']['output']; + min: Scalars['Money']['output']; }; export type Product = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - facetValueId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - sku?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: InputMaybe; + facetValueId?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + sku?: InputMaybe; + slug?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProductList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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']; + 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 & { - 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - optionGroupCode: Scalars['String']['output']; - productVariantCount: Scalars['Int']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + optionGroupCode: Scalars['String']['output']; + productVariantCount: Scalars['Int']['output']; }; export type ProductOptionTranslation = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - 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']; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProductVariantListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - currencyCode: CurrencyCode; - customFields?: Maybe; - price: Scalars['Money']['output']; + currencyCode: CurrencyCode; + customFields?: Maybe; + price: Scalars['Money']['output']; }; /** @@ -4684,581 +4813,629 @@ 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - couponCode?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - endsAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - perCustomerUsageLimit?: InputMaybe; - startsAt?: InputMaybe; - updatedAt?: InputMaybe; - usageLimit?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type PromotionListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 & { - 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 & { + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + parentId?: InputMaybe; + type?: InputMaybe; + updatedAt?: InputMaybe; }; export type ProvinceList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ProvinceListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type 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; - /** Returns all configured EntityDuplicators. */ - entityDuplicators: 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; - molliePaymentMethods: 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; + 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; + /** Returns all configured EntityDuplicators. */ + entityDuplicators: 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; + molliePaymentMethods: 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 QueryMolliePaymentMethodsArgs = { - input: MolliePaymentMethodsInput; + input: MolliePaymentMethodsInput; }; + 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 & { - 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']; + 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']; }; /** Returned if `amount` is greater than the maximum un-refunded amount of the Payment */ export type RefundAmountError = ErrorResult & { - errorCode: ErrorCode; - maximumRefundable: Scalars['Int']['output']; - message: Scalars['String']['output']; + errorCode: ErrorCode; + maximumRefundable: Scalars['Int']['output']; + message: Scalars['String']['output']; }; export type RefundLine = { - orderLine: OrderLine; - orderLineId: Scalars['ID']['output']; - quantity: Scalars['Int']['output']; - refund: Refund; - refundId: Scalars['ID']['output']; + orderLine: OrderLine; + orderLineId: Scalars['ID']['output']; + quantity: Scalars['Int']['output']; + refund: Refund; + refundId: Scalars['ID']['output']; }; export type RefundOrderInput = { - adjustment: Scalars['Money']['input']; - /** - * If an amount is specified, this value will be used to create a Refund rather than calculating the - * amount automatically. This was added in v2.2 and will be the preferred way to specify the refund - * amount in the future. The `lines`, `shipping` and `adjustment` fields will likely be removed in a future - * version. - */ - amount?: InputMaybe; - lines: Array; - paymentId: Scalars['ID']['input']; - reason?: InputMaybe; - shipping: Scalars['Money']['input']; -}; - -export type RefundOrderResult = - | AlreadyRefundedError - | MultipleOrderError - | NothingToRefundError - | OrderStateTransitionError - | PaymentOrderMismatchError - | QuantityTooGreatError - | Refund - | RefundAmountError - | RefundOrderStateError - | RefundStateTransitionError; + /** @deprecated Use the `amount` field instead */ + adjustment?: InputMaybe; + /** + * The amount to be refunded to this particular payment. This was introduced in v2.2.0 as the preferred way to specify the refund amount. + * Can be as much as the total amount of the payment minus the sum of all previous refunds. + */ + amount?: InputMaybe; + /** @deprecated Use the `amount` field instead */ + lines?: InputMaybe>; + paymentId: Scalars['ID']['input']; + reason?: InputMaybe; + /** @deprecated Use the `amount` field instead */ + shipping?: InputMaybe; +}; + +export type RefundOrderResult = AlreadyRefundedError | MultipleOrderError | NothingToRefundError | OrderStateTransitionError | PaymentOrderMismatchError | QuantityTooGreatError | Refund | RefundAmountError | RefundOrderStateError | RefundStateTransitionError; /** Returned if an attempting to refund an Order which is not in the expected state */ export type RefundOrderStateError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - orderState: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; + orderState: Scalars['String']['output']; }; /** @@ -5266,836 +5443,815 @@ export type RefundOrderStateError = ErrorResult & { * though the price has decreased as a result of the changes. */ export type RefundPaymentIdMissingError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; /** Returned when there is an error in transitioning the Refund state */ export type RefundStateTransitionError = ErrorResult & { - errorCode: ErrorCode; - fromState: Scalars['String']['output']; - message: Scalars['String']['output']; - toState: Scalars['String']['output']; - transitionError: Scalars['String']['output']; + 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 = { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + languageCode: LanguageCode; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type RelationCustomFieldConfig = CustomField & { - description?: Maybe>; - entity: Scalars['String']['output']; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type Release = Node & - StockMovement & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - productVariant: ProductVariant; - quantity: Scalars['Int']['output']; - type: StockMovementType; - updatedAt: Scalars['DateTime']['output']; - }; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type Release = Node & StockMovement & { + 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; -export type RemoveOrderItemsResult = Order | OrderModificationError; +export type RemoveOrderItemsResult = Order | OrderInterceptorError | 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 & { - 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 & { + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; +}; export type Role = Node & { - channels: Array; - code: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - permissions: Array; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; }; export type RoleList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type RoleListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - 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 & { + 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 = { - success: Scalars['Boolean']['output']; + success: Scalars['Boolean']['output']; }; export type SearchResponse = { - collections: Array; - facetValues: Array; - items: Array; - totalItems: Scalars['Int']['output']; + collections: Array; + facetValues: Array; + items: Array; + totalItems: Scalars['Int']['output']; }; export type 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']; + /** 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 = { - focalPoint?: Maybe; - id: Scalars['ID']['output']; - preview: Scalars['String']['output']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type SellerFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type SellerList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type SellerListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - /** - * This field is deprecated in v2.2 in favor of the entityCustomFields field, - * which allows custom fields to be defined on user-supplies entities. - */ - customFieldConfig: CustomFields; - entityCustomFields: Array; - moneyStrategyPrecision: Scalars['Int']['output']; - orderProcess: Array; - permissions: Array; - permittedAssetTypes: Array; + /** + * This field is deprecated in v2.2 in favor of the entityCustomFields field, + * which allows custom fields to be defined on user-supplies entities. + */ + customFieldConfig: CustomFields; + entityCustomFields: Array; + moneyStrategyPrecision: Scalars['Int']['output']; + orderProcess: Array; + permissions: Array; + permittedAssetTypes: Array; }; export type SetCustomerForDraftOrderResult = EmailAddressConflictError | Order; export type SetOrderCustomerInput = { - customerId: Scalars['ID']['input']; - note?: InputMaybe; - orderId: Scalars['ID']['input']; + customerId: Scalars['ID']['input']; + note?: InputMaybe; + orderId: Scalars['ID']['input']; }; -export type SetOrderShippingMethodResult = - | IneligibleShippingMethodError - | NoActiveOrderError - | Order - | OrderModificationError; +export type SetOrderShippingMethodResult = IneligibleShippingMethodError | NoActiveOrderError | Order | OrderModificationError; /** Returned if the Payment settlement fails */ export type SettlePaymentError = ErrorResult & { - errorCode: ErrorCode; - message: Scalars['String']['output']; - paymentErrorMessage: Scalars['String']['output']; + 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 = { - discountedPrice: Scalars['Money']['output']; - discountedPriceWithTax: Scalars['Money']['output']; - discounts: Array; - id: Scalars['ID']['output']; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; - shippingMethod: ShippingMethod; + 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 & { - 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - description?: InputMaybe; - fulfillmentHandlerCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + code?: InputMaybe; + createdAt?: InputMaybe; + description?: InputMaybe; + fulfillmentHandlerCode?: InputMaybe; + id?: InputMaybe; + languageCode?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ShippingMethodList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ShippingMethodListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - 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']; + 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 = { - createdAt: Scalars['DateTime']['output']; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - languageCode: LanguageCode; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - value: Scalars['Money']['output']; + value: Scalars['Money']['output']; }; export enum SortOrder { - ASC = 'ASC', - DESC = 'DESC', + ASC = 'ASC', + DESC = 'DESC' } -export type StockAdjustment = Node & - StockMovement & { - 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 & { + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + productVariant: ProductVariant; + quantity: Scalars['Int']['output']; + type: StockMovementType; + updatedAt: Scalars['DateTime']['output']; +}; export type StockLevel = Node & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type StockLocationList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type StockLocationListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - items: Array; - totalItems: Scalars['Int']['output']; + 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 & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + options?: Maybe>; + pattern?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StringFieldOption = { - label?: Maybe>; - value: Scalars['String']['output']; + 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 StringStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + options?: Maybe>; + pattern?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructCustomFieldConfig = CustomField & { - description?: Maybe>; - fields: Array; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + fields: Array; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructField = { - description?: Maybe>; - label?: Maybe>; - list?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type StructFieldConfig = - | BooleanStructFieldConfig - | DateTimeStructFieldConfig - | FloatStructFieldConfig - | IntStructFieldConfig - | StringStructFieldConfig - | TextStructFieldConfig; + description?: Maybe>; + label?: Maybe>; + list?: Maybe; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type StructFieldConfig = BooleanStructFieldConfig | DateTimeStructFieldConfig | FloatStructFieldConfig | IntStructFieldConfig | StringStructFieldConfig | TextStructFieldConfig; /** Indicates that an operation succeeded, where we do not want to return any more specific information. */ export type Success = { - success: Scalars['Boolean']['output']; + success: Scalars['Boolean']['output']; }; export type Surcharge = Node & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - updatedAt: Scalars['DateTime']['output']; - value: Scalars['String']['output']; + createdAt: Scalars['DateTime']['output']; + id: Scalars['ID']['output']; + updatedAt: Scalars['DateTime']['output']; + value: Scalars['String']['output']; }; export type TagFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TagList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TagListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - isDefault: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - isDefault?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + isDefault?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type TaxCategoryList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxCategoryListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - description: Scalars['String']['output']; - taxRate: Scalars['Float']['output']; + description: Scalars['String']['output']; + taxRate: Scalars['Float']['output']; }; export type TaxRate = Node & { - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; - value?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + enabled?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; + value?: InputMaybe; }; export type TaxRateList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type TaxRateListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 = { - metadata?: Maybe; - price: Scalars['Money']['output']; - priceWithTax: Scalars['Money']['output']; + metadata?: Maybe; + price: Scalars['Money']['output']; + priceWithTax: Scalars['Money']['output']; }; export type TestShippingMethodResult = { - eligible: Scalars['Boolean']['output']; - quote?: Maybe; + eligible: Scalars['Boolean']['output']; + quote?: Maybe; }; export type TextCustomFieldConfig = CustomField & { - description?: Maybe>; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TextStructFieldConfig = StructField & { - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionFulfillmentToStateResult = Fulfillment | FulfillmentStateTransitionError; @@ -6105,11 +6261,11 @@ 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; }; /** @@ -6120,996 +6276,407 @@ export type UpdateActiveAdministratorInput = { * If an invalid code is passed, the mutation will fail. */ 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 | OrderInterceptorError | 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 & { - 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']; + 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 & { - createdAt: Scalars['DateTime']['output']; - customFields?: Maybe; - id: Scalars['ID']['output']; - members: Array; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; + createdAt: Scalars['DateTime']['output']; + customFields?: Maybe; + id: Scalars['ID']['output']; + members: Array; + name: Scalars['String']['output']; + updatedAt: Scalars['DateTime']['output']; }; export type ZoneFilterParameter = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + id?: InputMaybe; + name?: InputMaybe; + updatedAt?: InputMaybe; }; export type ZoneList = PaginatedList & { - items: Array; - totalItems: Scalars['Int']['output']; + items: Array; + totalItems: Scalars['Int']['output']; }; export type ZoneListOptions = { - /** Allows the results to be filtered */ - filter?: InputMaybe; - /** Specifies whether multiple top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 PaymentMethodFragment = { - id: string; - code: string; - name: string; - description: string; - enabled: boolean; - checker?: { code: string; args: Array<{ name: string; value: string }> } | null; - handler: { code: string; args: Array<{ name: string; value: string }> }; -}; +export type PaymentMethodFragment = { id: string, code: string, name: string, description: string, enabled: boolean, checker?: { code: string, args: Array<{ name: string, value: string }> } | null, handler: { code: string, args: Array<{ name: string, value: string }> } }; export type CreatePaymentMethodMutationVariables = Exact<{ - input: CreatePaymentMethodInput; + input: CreatePaymentMethodInput; }>; -export type CreatePaymentMethodMutation = { - createPaymentMethod: { - id: string; - code: string; - name: string; - description: string; - enabled: boolean; - checker?: { code: string; args: Array<{ name: string; value: string }> } | null; - handler: { code: string; args: Array<{ name: string; value: string }> }; - }; -}; + +export type CreatePaymentMethodMutation = { createPaymentMethod: { id: string, code: string, name: string, description: string, enabled: boolean, checker?: { code: string, args: Array<{ name: string, value: string }> } | null, handler: { code: string, args: Array<{ name: string, value: string }> } } }; export type GetCustomerListQueryVariables = Exact<{ - options?: InputMaybe; + options?: InputMaybe; }>; -export type GetCustomerListQuery = { - customers: { - totalItems: number; - items: Array<{ - id: string; - title?: string | null; - firstName: string; - lastName: string; - emailAddress: string; - phoneNumber?: string | null; - user?: { id: string; verified: boolean } | null; - }>; - }; -}; - -export type RefundFragment = { - id: string; - state: string; - items: number; - transactionId?: string | null; - shipping: number; - total: number; - metadata?: any | null; -}; + +export type GetCustomerListQuery = { customers: { totalItems: number, items: Array<{ id: string, title?: string | null, firstName: string, lastName: string, emailAddress: string, phoneNumber?: string | null, user?: { id: string, verified: boolean } | null }> } }; + +export type RefundFragment = { id: string, state: string, items: number, transactionId?: string | null, shipping: number, total: number, metadata?: any | null }; export type RefundOrderMutationVariables = Exact<{ - input: RefundOrderInput; + input: RefundOrderInput; }>; -export type RefundOrderMutation = { - refundOrder: - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { - id: string; - state: string; - items: number; - transactionId?: string | null; - shipping: number; - total: number; - metadata?: any | null; - } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string } - | { errorCode: ErrorCode; message: string }; -}; + +export type RefundOrderMutation = { refundOrder: { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { id: string, state: string, items: number, transactionId?: string | null, shipping: number, total: number, metadata?: any | null } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } | { errorCode: ErrorCode, message: string } }; export type OrderQueryVariables = Exact<{ - id: Scalars['ID']['input']; + id: Scalars['ID']['input']; }>; -export type OrderQuery = { - order?: { - id: string; - state: string; - totalWithTax: number; - payments?: Array<{ - id: string; - transactionId?: string | null; - method: string; - amount: number; - state: string; - errorMessage?: string | null; - metadata?: any | null; - }> | null; - } | null; -}; + +export type OrderQuery = { order?: { id: string, state: string, totalWithTax: number, payments?: Array<{ id: string, transactionId?: string | null, method: string, amount: number, state: string, errorMessage?: string | null, metadata?: any | null }> | null } | null }; export type CreateChannelMutationVariables = Exact<{ - input: CreateChannelInput; + input: CreateChannelInput; }>; -export type CreateChannelMutation = { - createChannel: - | { id: string; code: string; token: string; currencyCode: CurrencyCode } - | { errorCode: ErrorCode; message: string }; -}; + +export type CreateChannelMutation = { createChannel: { id: string, code: string, token: string, currencyCode: CurrencyCode } | { errorCode: ErrorCode, message: string } }; export type CreatePromotionMutationVariables = Exact<{ - input: CreatePromotionInput; + input: CreatePromotionInput; }>; -export type CreatePromotionMutation = { - createPromotion: - | { __typename: 'MissingConditionsError'; errorCode: ErrorCode } - | { __typename: 'Promotion' }; -}; - -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: 'code' } }, - { 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'handler' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, - ], - }, - }, - ], -} 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: '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: 'code' } }, - { 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: 'checker' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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: 'handler' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'code' } }, - { - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: '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: 'phoneNumber' } }, - { - 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 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: 'InlineFragment', - 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' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - 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: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shipping' } }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const OrderDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'order' }, - 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: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'totalWithTax' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'payments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'transactionId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'method' } }, - { kind: 'Field', name: { kind: 'Name', value: 'amount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'errorMessage' } }, - { kind: 'Field', name: { kind: 'Name', value: 'metadata' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} 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: 'InlineFragment', - 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: 'code' } }, - { kind: 'Field', name: { kind: 'Name', value: 'token' } }, - { kind: 'Field', name: { kind: 'Name', value: 'currencyCode' } }, - ], - }, - }, - { - kind: 'InlineFragment', - 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 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: 'InlineFragment', - 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: '__typename' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; + +export type CreatePromotionMutation = { createPromotion: { __typename: 'MissingConditionsError', errorCode: ErrorCode } | { __typename: 'Promotion' } }; + +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":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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"}}]}}]}}]}}]} 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":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]} 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":"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":"code"}},{"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":"checker"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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":"handler"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"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"}}]}}]}}]}}]} 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":"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":"phoneNumber"}},{"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 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":"InlineFragment","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"}}]}}]}}]}},{"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":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"shipping"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]} as unknown as DocumentNode; +export const OrderDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"order"},"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":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"totalWithTax"}},{"kind":"Field","name":{"kind":"Name","value":"payments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"transactionId"}},{"kind":"Field","name":{"kind":"Name","value":"method"}},{"kind":"Field","name":{"kind":"Name","value":"amount"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"errorMessage"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]}}]}}]} 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":"InlineFragment","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":"code"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"currencyCode"}}]}},{"kind":"InlineFragment","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 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":"InlineFragment","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":"__typename"}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/packages/payments-plugin/e2e/graphql/generated-shop-types.ts b/packages/payments-plugin/e2e/graphql/generated-shop-types.ts index f66ca4df51..482e50f13e 100644 --- a/packages/payments-plugin/e2e/graphql/generated-shop-types.ts +++ b/packages/payments-plugin/e2e/graphql/generated-shop-types.ts @@ -151,7 +151,6 @@ export type BooleanStructFieldConfig = StructField & { label?: Maybe>; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -881,7 +880,6 @@ export type DateTimeStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -931,6 +929,7 @@ export enum ErrorCode { NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_ERROR', NOT_VERIFIED_ERROR = 'NOT_VERIFIED_ERROR', NO_ACTIVE_ORDER_ERROR = 'NO_ACTIVE_ORDER_ERROR', + ORDER_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_ERROR', ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', ORDER_PAYMENT_STATE_ERROR = 'ORDER_PAYMENT_STATE_ERROR', @@ -1119,7 +1118,6 @@ export type FloatStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -1304,7 +1302,6 @@ export type IntStructFieldConfig = StructField & { max?: Maybe; min?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; step?: Maybe; type: Scalars['String']['output']; ui?: Maybe; @@ -2128,6 +2125,13 @@ export type OrderFilterParameter = { updatedAt?: InputMaybe; }; +/** Returned when an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; +}; + /** Returned when the maximum order size limit has been reached. */ export type OrderLimitError = ErrorResult & { errorCode: ErrorCode; @@ -3027,7 +3031,7 @@ export type RelationCustomFieldConfig = CustomField & { ui?: Maybe; }; -export type RemoveOrderItemsResult = Order | OrderModificationError; +export type RemoveOrderItemsResult = Order | OrderInterceptorError | OrderModificationError; export type RequestPasswordResetResult = NativeAuthStrategyError | Success; @@ -3247,7 +3251,6 @@ export type StringStructFieldConfig = StructField & { length?: Maybe; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; options?: Maybe>; pattern?: Maybe; type: Scalars['String']['output']; @@ -3273,7 +3276,6 @@ export type StructField = { label?: Maybe>; list?: Maybe; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -3365,7 +3367,6 @@ export type TextStructFieldConfig = StructField & { label?: Maybe>; list: Scalars['Boolean']['output']; name: Scalars['String']['output']; - nullable?: Maybe; type: Scalars['String']['output']; ui?: Maybe; }; @@ -3423,6 +3424,7 @@ export type UpdateOrderItemsResult = | InsufficientStockError | NegativeQuantityError | Order + | OrderInterceptorError | OrderLimitError | OrderModificationError; @@ -3944,6 +3946,7 @@ export type AddItemToOrderMutation = { history: { items: Array<{ id: string; type: HistoryEntryType; data: any }> }; } | { errorCode: ErrorCode; message: string } + | { errorCode: ErrorCode; message: string } | { errorCode: ErrorCode; message: string }; }; @@ -4092,6 +4095,7 @@ export type AdjustOrderLineMutation = { } | null; history: { items: Array<{ id: string; type: HistoryEntryType; data: any }> }; } + | { errorCode: ErrorCode; message: string; interceptorError: string } | { errorCode: ErrorCode; message: string } | { errorCode: ErrorCode; message: string }; }; @@ -5780,6 +5784,22 @@ export const AdjustOrderLineDocument = { ], }, }, + { + kind: 'InlineFragment', + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'OrderInterceptorError' }, + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'interceptorError' }, + }, + ], + }, + }, ], }, }, diff --git a/packages/payments-plugin/e2e/graphql/shop-queries.ts b/packages/payments-plugin/e2e/graphql/shop-queries.ts index 85669fe918..aaaf8239b1 100644 --- a/packages/payments-plugin/e2e/graphql/shop-queries.ts +++ b/packages/payments-plugin/e2e/graphql/shop-queries.ts @@ -201,6 +201,9 @@ export const ADJUST_ORDER_LINE = gql` ...TestOrderFragment } } + ... on OrderInterceptorError { + interceptorError + } } } ${TEST_ORDER_FRAGMENT} diff --git a/packages/payments-plugin/src/mollie/graphql/generated-shop-types.ts b/packages/payments-plugin/src/mollie/graphql/generated-shop-types.ts index 6e48aefcc2..3ac5470158 100644 --- a/packages/payments-plugin/src/mollie/graphql/generated-shop-types.ts +++ b/packages/payments-plugin/src/mollie/graphql/generated-shop-types.ts @@ -5,253 +5,240 @@ 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 }; + 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 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; - requiresPermission?: 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; + requiresPermission?: 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 BooleanStructFieldConfig = StructField & { - __typename?: 'BooleanStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'BooleanStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - parentId?: InputMaybe; - position?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -259,79 +246,79 @@ 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']; }; /** @@ -340,52 +327,51 @@ export type Coordinate = { * The `code` field is typically a 2-character ISO code such as "GB", "US", "DE" etc. This code is used in certain inputs such as * `UpdateAddressInput` and `CreateAddressInput` to specify the country. */ -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 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']; }; /** @@ -396,27 +382,27 @@ export type CouponCodeLimitError = ErrorResult & { * If an invalid code is passed, the mutation will fail. */ 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; }; /** @@ -426,456 +412,448 @@ 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; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type CustomFieldConfig = - | BooleanCustomFieldConfig - | DateTimeCustomFieldConfig - | FloatCustomFieldConfig - | IntCustomFieldConfig - | LocaleStringCustomFieldConfig - | LocaleTextCustomFieldConfig - | RelationCustomFieldConfig - | StringCustomFieldConfig - | StructCustomFieldConfig - | TextCustomFieldConfig; + description?: Maybe>; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type CustomFieldConfig = BooleanCustomFieldConfig | DateTimeCustomFieldConfig | FloatCustomFieldConfig | IntCustomFieldConfig | LocaleStringCustomFieldConfig | LocaleTextCustomFieldConfig | RelationCustomFieldConfig | StringCustomFieldConfig | StructCustomFieldConfig | 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - emailAddress?: InputMaybe; - firstName?: InputMaybe; - id?: InputMaybe; - lastName?: InputMaybe; - phoneNumber?: InputMaybe; - title?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; }; /** @@ -883,20 +861,20 @@ 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; - requiresPermission?: 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; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; /** @@ -904,164 +882,165 @@ export type DateTimeCustomFieldConfig = CustomField & { * See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes */ export type DateTimeStructFieldConfig = StructField & { - __typename?: 'DateTimeStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'DateTimeStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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_INTERCEPTOR_ERROR = 'ORDER_INTERCEPTOR_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']; - /** 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']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; - 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']; }; /** @@ -1073,39 +1052,39 @@ 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - code?: InputMaybe; - createdAt?: InputMaybe; - facetId?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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; }; /** @@ -1113,180 +1092,179 @@ 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 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; - requiresPermission?: 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; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type FloatStructFieldConfig = StructField & { - __typename?: 'FloatStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'FloatStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - id?: InputMaybe; - type?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', - 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_CUSTOMER_UPDATED = 'ORDER_CUSTOMER_UPDATED', + 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>; }; /** @@ -1294,9 +1272,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']; }; /** @@ -1304,72 +1282,71 @@ 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; - requiresPermission?: 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; + requiresPermission?: Maybe>; + step?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type IntStructFieldConfig = StructField & { - __typename?: 'IntStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - max?: Maybe; - min?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - step?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'IntStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + max?: Maybe; + min?: Maybe; + name: Scalars['String']['output']; + 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']; }; /** @@ -1382,678 +1359,701 @@ 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; - requiresPermission?: 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; + requiresPermission?: 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; - requiresPermission?: 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; + requiresPermission?: 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 MollieAmount = { - __typename?: 'MollieAmount'; - currency?: Maybe; - value?: Maybe; + __typename?: 'MollieAmount'; + currency?: Maybe; + value?: Maybe; }; export type MolliePaymentIntent = { - __typename?: 'MolliePaymentIntent'; - url: Scalars['String']['output']; + __typename?: 'MolliePaymentIntent'; + url: Scalars['String']['output']; }; export type MolliePaymentIntentError = ErrorResult & { - __typename?: 'MolliePaymentIntentError'; - errorCode: ErrorCode; - message: Scalars['String']['output']; + __typename?: 'MolliePaymentIntentError'; + errorCode: ErrorCode; + message: Scalars['String']['output']; }; export type MolliePaymentIntentInput = { - /** - * Optional preselected Mollie payment method. When this is passed - * the payment selection step will be skipped. - */ - molliePaymentMethodCode?: InputMaybe; - /** - * Use this to create a payment intent for a specific order. This allows you to create intents for - * orders that are not active orders. - */ - orderId?: InputMaybe; - /** - * The code of the Vendure payment method to use for the payment. - * Must have Mollie as payment method handler. - * Without this, the first method with Mollie as handler will be used. - */ - paymentMethodCode?: InputMaybe; - /** - * The redirect url to which the customer will be redirected after the payment is completed. - * The configured fallback redirect will be used if this is not provided. - */ - redirectUrl?: InputMaybe; + /** + * Optional preselected Mollie payment method. When this is passed + * the payment selection step will be skipped. + */ + molliePaymentMethodCode?: InputMaybe; + /** + * Use this to create a payment intent for a specific order. This allows you to create intents for + * orders that are not active orders. + */ + orderId?: InputMaybe; + /** + * The code of the Vendure payment method to use for the payment. + * Must have Mollie as payment method handler. + * Without this, the first method with Mollie as handler will be used. + */ + paymentMethodCode?: InputMaybe; + /** + * The redirect url to which the customer will be redirected after the payment is completed. + * The configured fallback redirect will be used if this is not provided. + */ + redirectUrl?: InputMaybe; }; export type MolliePaymentIntentResult = MolliePaymentIntent | MolliePaymentIntentError; export type MolliePaymentMethod = { - __typename?: 'MolliePaymentMethod'; - code: Scalars['String']['output']; - description?: Maybe; - id: Scalars['ID']['output']; - image?: Maybe; - maximumAmount?: Maybe; - minimumAmount?: Maybe; - status?: Maybe; + __typename?: 'MolliePaymentMethod'; + code: Scalars['String']['output']; + description?: Maybe; + id: Scalars['ID']['output']; + image?: Maybe; + maximumAmount?: Maybe; + minimumAmount?: Maybe; + status?: Maybe; }; export type MolliePaymentMethodImages = { - __typename?: 'MolliePaymentMethodImages'; - size1x?: Maybe; - size2x?: Maybe; - svg?: Maybe; + __typename?: 'MolliePaymentMethodImages'; + size1x?: Maybe; + size2x?: Maybe; + svg?: Maybe; }; export type MolliePaymentMethodsInput = { - paymentMethodCode: Scalars['String']['input']; + paymentMethodCode: Scalars['String']['input']; }; 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; - createMolliePaymentIntent: MolliePaymentIntentResult; - /** Delete an existing Address */ - deleteCustomerAddress: Success; - /** - * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) - * - * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie - * to 1 year. - */ - 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 the active Order */ - setOrderBillingAddress: ActiveOrderResult; - /** Allows any custom fields to be set for the active Order */ - setOrderCustomFields: ActiveOrderResult; - /** Sets the shipping address for the active 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; - /** Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates` */ - transitionOrderToState?: Maybe; - /** Unsets the billing address for the active Order. Available since version 3.1.0 */ - unsetOrderBillingAddress: ActiveOrderResult; - /** Unsets the shipping address for the active Order. Available since version 3.1.0 */ - unsetOrderShippingAddress: ActiveOrderResult; - /** 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; + __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; + createMolliePaymentIntent: MolliePaymentIntentResult; + /** Delete an existing Address */ + deleteCustomerAddress: Success; + /** + * Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }}) + * + * The `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie + * to 1 year. + */ + 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 the active Order */ + setOrderBillingAddress: ActiveOrderResult; + /** Allows any custom fields to be set for the active Order */ + setOrderCustomFields: ActiveOrderResult; + /** Sets the shipping address for the active 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; + /** Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates` */ + transitionOrderToState?: Maybe; + /** Unsets the billing address for the active Order. Available since version 3.1.0 */ + unsetOrderBillingAddress: ActiveOrderResult; + /** Unsets the shipping address for the active Order. Available since version 3.1.0 */ + unsetOrderShippingAddress: ActiveOrderResult; + /** 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; }; + 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 MutationCreateMolliePaymentIntentArgs = { - input: MolliePaymentIntentInput; + input: MolliePaymentIntentInput; }; + 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 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 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']; }; /** @@ -2061,13 +2061,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']; }; /** @@ -2075,259 +2075,268 @@ 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 = { - _and?: InputMaybe>; - _or?: 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; + _and?: InputMaybe>; + _or?: 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 an order operation is rejected by an OrderInterceptor method. */ +export type OrderInterceptorError = ErrorResult & { + __typename?: 'OrderInterceptorError'; + errorCode: ErrorCode; + interceptorError: Scalars['String']['output']; + message: Scalars['String']['output']; }; /** 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']; - /** The quantity of items purchased */ - 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']; + /** The quantity of items purchased */ + 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; }; /** @@ -2335,33 +2344,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']; }; /** @@ -2369,9 +2378,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']; }; /** @@ -2379,95 +2388,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']; }; /** @@ -2503,1007 +2512,985 @@ 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']; - 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; + 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - description?: InputMaybe; - enabled?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - slug?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: InputMaybe>; + createdAt?: InputMaybe; + description?: InputMaybe; + enabled?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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 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 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 = { - _and?: InputMaybe>; - _or?: InputMaybe>; - createdAt?: InputMaybe; - currencyCode?: InputMaybe; - id?: InputMaybe; - languageCode?: InputMaybe; - name?: InputMaybe; - price?: InputMaybe; - priceWithTax?: InputMaybe; - productId?: InputMaybe; - sku?: InputMaybe; - stockLevel?: InputMaybe; - updatedAt?: InputMaybe; + _and?: InputMaybe>; + _or?: 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 top-level "filter" fields should be combined 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 top-level "filter" fields should be combined 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']; - 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 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; - molliePaymentMethods: Array; - /** 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; + molliePaymentMethods: Array; + /** 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 QueryMolliePaymentMethodsArgs = { - input: MolliePaymentMethodsInput; + input: MolliePaymentMethodsInput; }; + 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; - requiresPermission?: Maybe>; - scalarFields: Array; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type RemoveOrderItemsResult = Order | OrderModificationError; + __typename?: 'RelationCustomFieldConfig'; + description?: Maybe>; + entity: Scalars['String']['output']; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + scalarFields: Array; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type RemoveOrderItemsResult = Order | OrderInterceptorError | 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>; - /** @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 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; - requiresPermission?: 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; + requiresPermission?: 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 StringStructFieldConfig = StructField & { - __typename?: 'StringStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - length?: Maybe; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - options?: Maybe>; - pattern?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'StringStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + length?: Maybe; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + options?: Maybe>; + pattern?: Maybe; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructCustomFieldConfig = CustomField & { - __typename?: 'StructCustomFieldConfig'; - description?: Maybe>; - fields: Array; - internal?: Maybe; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - readonly?: Maybe; - requiresPermission?: Maybe>; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'StructCustomFieldConfig'; + description?: Maybe>; + fields: Array; + internal?: Maybe; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + nullable?: Maybe; + readonly?: Maybe; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type StructField = { - description?: Maybe>; - label?: Maybe>; - list?: Maybe; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; -}; - -export type StructFieldConfig = - | BooleanStructFieldConfig - | DateTimeStructFieldConfig - | FloatStructFieldConfig - | IntStructFieldConfig - | StringStructFieldConfig - | TextStructFieldConfig; + description?: Maybe>; + label?: Maybe>; + list?: Maybe; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; +}; + +export type StructFieldConfig = BooleanStructFieldConfig | DateTimeStructFieldConfig | FloatStructFieldConfig | IntStructFieldConfig | StringStructFieldConfig | TextStructFieldConfig; /** 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; - requiresPermission?: 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; + requiresPermission?: Maybe>; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TextStructFieldConfig = StructField & { - __typename?: 'TextStructFieldConfig'; - description?: Maybe>; - label?: Maybe>; - list: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - nullable?: Maybe; - type: Scalars['String']['output']; - ui?: Maybe; + __typename?: 'TextStructFieldConfig'; + description?: Maybe>; + label?: Maybe>; + list: Scalars['Boolean']['output']; + name: Scalars['String']['output']; + type: Scalars['String']['output']; + ui?: Maybe; }; export type TransitionOrderToStateResult = Order | OrderStateTransitionError; @@ -3516,63 +3503,50 @@ export type TransitionOrderToStateResult = Order | OrderStateTransitionError; * If an invalid code is passed, the mutation will fail. */ 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 | OrderInterceptorError | 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']; }; /** @@ -3580,9 +3554,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']; }; /** @@ -3590,26 +3564,19 @@ 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/schema-admin.json b/schema-admin.json index 616682e1f6..b1bdcf54d4 100644 --- a/schema-admin.json +++ b/schema-admin.json @@ -1 +1 @@ -{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"activeAdministrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":"Get a list of Assets","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AssetList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"asset","description":"Get a single Asset by id","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":null,"args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ChannelListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ChannelList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channel","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Channel","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"activeChannel","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"collection","description":"Get a Collection either by id or slug. If neither id nor slug is specified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"collectionFilters","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"previewCollectionVariants","description":"Used for real-time previews of the contents of a Collection","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PreviewCollectionVariantsInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"countries","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CountryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Country","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerGroups","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerGroupListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroupList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerGroup","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CustomerGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customers","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"entityDuplicators","description":"Returns all configured EntityDuplicators.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"EntityDuplicatorDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facets","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Facet","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"globalSettings","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"GlobalSettings","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"job","description":null,"args":[{"name":"jobId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Job","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"jobs","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"JobListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"JobList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"jobsById","description":null,"args":[{"name":"jobIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"jobQueues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"JobQueue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"jobBufferSize","description":null,"args":[{"name":"bufferIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"JobBufferSize","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eligibleShippingMethodsForDraftOrder","description":"Returns a list of eligible shipping methods for the draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodQuote","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethods","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaymentMethodListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethodList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethod","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"PaymentMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethodEligibilityCheckers","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethodHandlers","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productOptionGroups","description":null,"args":[{"name":"filterTerm","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productOptionGroup","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"search","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SearchInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pendingSearchIndexUpdates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"List Products","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"Get a Product either by id or slug. If neither id nor slug is specified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Product","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productVariants","description":"List ProductVariants either all or for the specific product.","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":"Get a ProductVariant by id","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ProductVariant","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"promotion","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Promotion","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"promotions","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PromotionList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"promotionConditions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"promotionActions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"provinces","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProvinceListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProvinceList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Province","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"roles","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RoleList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"role","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Role","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sellers","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"SellerListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellerList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seller","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Seller","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethods","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ShippingMethodListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ShippingMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingEligibilityCheckers","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingCalculators","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlers","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"testShippingMethod","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestShippingMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TestShippingMethodResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"testEligibleShippingMethods","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestEligibleShippingMethodsInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodQuote","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLocation","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"StockLocation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stockLocations","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"StockLocationListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocationList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tag","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TagListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TagList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategories","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxCategoryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategoryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TaxCategory","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxRates","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRateList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TaxRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zones","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ZoneListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ZoneList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metricSummary","description":"Get metrics for the given interval and metric types.","args":[{"name":"input","description":null,"type":{"kind":"INPUT_OBJECT","name":"MetricSummaryInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MetricSummary","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"fields":[{"name":"createAdministrator","description":"Create a new Administrator","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateAdministrator","description":"Update an existing Administrator","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateActiveAdministrator","description":"Update the active (currently logged-in) Administrator","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateActiveAdministratorInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteAdministrator","description":"Delete an Administrator","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteAdministrators","description":"Delete multiple Administrators","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignRoleToAdministrator","description":"Assign a Role to an Administrator","args":[{"name":"administratorId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"roleId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createAssets","description":"Create a new Asset","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAssetInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreateAssetResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"updateAsset","description":"Update an existing Asset","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAssetInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteAsset","description":"Delete an Asset","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DeleteAssetInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteAssets","description":"Delete multiple Assets","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DeleteAssetsInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignAssetsToChannel","description":"Assign assets to channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignAssetsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":"Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }})\n\nThe `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie\nto 1 year.","args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"NativeAuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticate","description":"Authenticates the user using a named authentication strategy","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AuthenticationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":"Create a new Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreateChannelResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateChannel","description":"Update an existing Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateChannelResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteChannel","description":"Delete a Channel","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteChannels","description":"Delete multiple Channels","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createCollection","description":"Create a new Collection","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCollectionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCollection","description":"Update an existing Collection","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCollectionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCollection","description":"Delete a Collection and all of its descendants","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCollections","description":"Delete multiple Collections and all of their descendants","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"moveCollection","description":"Move a Collection to a different parent or index","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MoveCollectionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignCollectionsToChannel","description":"Assigns Collections to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignCollectionsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCollectionsFromChannel","description":"Removes Collections from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveCollectionsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createCountry","description":"Create a new Country","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCountryInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCountry","description":"Update an existing Country","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCountryInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCountry","description":"Delete a Country","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCountries","description":"Delete multiple Countries","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomerGroup","description":"Create a new CustomerGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerGroup","description":"Update an existing CustomerGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerGroup","description":"Delete a CustomerGroup","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerGroups","description":"Delete multiple CustomerGroups","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreateCustomerResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomer","description":"Update an existing Customer","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateCustomerResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomer","description":"Delete a Customer","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomers","description":"Deletes Customers","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomerAddress","description":"Create a new Address and associate it with the Customer specified by customerId","args":[{"name":"customerId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerAddress","description":"Update an existing Address","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerAddress","description":"Update an existing Address","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addNoteToCustomer","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddNoteToCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerNote","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerNoteInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntry","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerNote","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"duplicateEntity","description":"Duplicate an existing entity using a specific EntityDuplicator.\nSince v2.2.0.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DuplicateEntityInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"DuplicateEntityResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createFacet","description":"Create a new Facet","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateFacetInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateFacet","description":"Update an existing Facet","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateFacetInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteFacet","description":"Delete an existing Facet","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteFacets","description":"Delete multiple existing Facets","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createFacetValues","description":"Create one or more FacetValues","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateFacetValueInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"updateFacetValues","description":"Update one or more FacetValues","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateFacetValueInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteFacetValues","description":"Delete one or more FacetValues","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignFacetsToChannel","description":"Assigns Facets to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignFacetsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeFacetsFromChannel","description":"Removes Facets from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveFacetsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveFacetFromChannelResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"updateGlobalSettings","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateGlobalSettingsInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateGlobalSettingsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"importProducts","description":null,"args":[{"name":"csvFile","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ImportInfo","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeSettledJobs","description":"Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted.","args":[{"name":"queueNames","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"olderThan","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cancelJob","description":null,"args":[{"name":"jobId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"flushBufferedJobs","description":null,"args":[{"name":"bufferIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"settlePayment","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SettlePaymentResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cancelPayment","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CancelPaymentResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addFulfillmentToOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FulfillOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AddFulfillmentToOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cancelOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CancelOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CancelOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RefundOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RefundOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"settleRefund","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SettleRefundInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SettleRefundResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addNoteToOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddNoteToOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateOrderNote","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateOrderNoteInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntry","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteOrderNote","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionOrderToState","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"UNION","name":"TransitionOrderToStateResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"transitionFulfillmentToState","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"TransitionFulfillmentToStateResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionPaymentToState","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"TransitionPaymentToStateResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderCustomFields","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderCustomer","description":"Allows a different Customer to be assigned to an Order. Added in v2.2.0.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SetOrderCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"modifyOrder","description":"Allows an Order to be modified after it has been completed by the Customer. The Order must first\nbe in the `Modifying` state.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ModifyOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ModifyOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addManualPaymentToOrder","description":"Used to manually create a new Payment against an Order.\nThis can be used by an Administrator when an Order is in the ArrangingPayment state.\n\nIt is also used when a completed Order\nhas been modified (using `modifyOrder`) and the price has increased. The extra payment\ncan then be manually arranged by the administrator, and the details used to create a new\nPayment.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ManualPaymentInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AddManualPaymentToOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createDraftOrder","description":"Creates a draft Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteDraftOrder","description":"Deletes a draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addItemToDraftOrder","description":"Adds an item to the draft Order.","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddItemToDraftOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustDraftOrderLine","description":"Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available.","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustDraftOrderLineInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeDraftOrderLine","description":"Remove an OrderLine from the draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setCustomerForDraftOrder","description":null,"args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SetCustomerForDraftOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setDraftOrderShippingAddress","description":"Sets the shipping address for a draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setDraftOrderBillingAddress","description":"Sets the billing address for a draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setDraftOrderCustomFields","description":"Allows any custom fields to be set for the active order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"applyCouponCodeToDraftOrder","description":"Applies the given coupon code to the draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ApplyCouponCodeResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCouponCodeFromDraftOrder","description":"Removes the given coupon code from the draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"setDraftOrderShippingMethod","description":"Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethodId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SetOrderShippingMethodResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createPaymentMethod","description":"Create existing PaymentMethod","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreatePaymentMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePaymentMethod","description":"Update an existing PaymentMethod","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePaymentMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePaymentMethod","description":"Delete a PaymentMethod","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePaymentMethods","description":"Delete multiple PaymentMethods","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignPaymentMethodsToChannel","description":"Assigns PaymentMethods to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignPaymentMethodsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removePaymentMethodsFromChannel","description":"Removes PaymentMethods from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemovePaymentMethodsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createProductOptionGroup","description":"Create a new ProductOptionGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductOptionGroupInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProductOptionGroup","description":"Update an existing ProductOptionGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductOptionGroupInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createProductOption","description":"Create a new ProductOption within a ProductOptionGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProductOption","description":"Create a new ProductOption within a ProductOptionGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductOptionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProductOption","description":"Delete a ProductOption","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reindex","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"runPendingSearchIndexUpdates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createProduct","description":"Create a new Product","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProduct","description":"Update an existing Product","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProducts","description":"Update multiple existing Products","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProduct","description":"Delete a Product","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProducts","description":"Delete multiple Products","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants\nthe mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed.\nSetting the `force` argument to `true` will override this and remove the OptionGroup anyway,\nas well as removing any of the group's options from the Product's ProductVariants.","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveOptionGroupFromProductResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createProductVariants","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProductVariants","description":"Update existing ProductVariants","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductVariantInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProductVariant","description":"Delete a ProductVariant","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProductVariants","description":"Delete multiple ProductVariants","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignProductsToChannel","description":"Assigns all ProductVariants of Product to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignProductsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeProductsFromChannel","description":"Removes all ProductVariants of Product from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveProductsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignProductVariantsToChannel","description":"Assigns ProductVariants to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignProductVariantsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeProductVariantsFromChannel","description":"Removes ProductVariants from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveProductVariantsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createPromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreatePromotionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreatePromotionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdatePromotionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePromotion","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePromotions","description":null,"args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignPromotionsToChannel","description":"Assigns Promotions to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignPromotionsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removePromotionsFromChannel","description":"Removes Promotions from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemovePromotionsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createProvince","description":"Create a new Province","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProvinceInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Province","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProvince","description":"Update an existing Province","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProvinceInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Province","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProvince","description":"Delete a Province","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createRole","description":"Create a new Role","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateRoleInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateRole","description":"Update an existing Role","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateRoleInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteRole","description":"Delete an existing Role","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteRoles","description":"Delete multiple Roles","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createSeller","description":"Create a new Seller","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateSellerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Seller","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateSeller","description":"Update an existing Seller","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateSellerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Seller","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteSeller","description":"Delete a Seller","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteSellers","description":"Delete multiple Sellers","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createShippingMethod","description":"Create a new ShippingMethod","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateShippingMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateShippingMethod","description":"Update an existing ShippingMethod","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateShippingMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteShippingMethod","description":"Delete a ShippingMethod","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteShippingMethods","description":"Delete multiple ShippingMethods","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignShippingMethodsToChannel","description":"Assigns ShippingMethods to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignShippingMethodsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeShippingMethodsFromChannel","description":"Removes ShippingMethods from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveShippingMethodsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createStockLocation","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateStockLocationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateStockLocation","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateStockLocationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteStockLocation","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DeleteStockLocationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteStockLocations","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DeleteStockLocationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignStockLocationsToChannel","description":"Assigns StockLocations to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignStockLocationsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeStockLocationsFromChannel","description":"Removes StockLocations from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveStockLocationsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createTag","description":"Create a new Tag","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateTagInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateTag","description":"Update an existing Tag","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateTagInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTag","description":"Delete an existing Tag","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createTaxCategory","description":"Create a new TaxCategory","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateTaxCategory","description":"Update an existing TaxCategory","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTaxCategory","description":"Deletes a TaxCategory","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTaxCategories","description":"Deletes multiple TaxCategories","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createTaxRate","description":"Create a new TaxRate","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateTaxRateInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateTaxRate","description":"Update an existing TaxRate","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateTaxRateInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTaxRate","description":"Delete a TaxRate","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTaxRates","description":"Delete multiple TaxRates","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createZone","description":"Create a new Zone","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateZoneInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateZone","description":"Update an existing Zone","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteZone","description":"Delete a Zone","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteZones","description":"Delete a Zone","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"roleIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"roleIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateActiveAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MimeTypeError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateAssetResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"MimeTypeError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"tags","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tagsOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"AssetSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CoordinateInput","description":null,"fields":null,"inputFields":[{"name":"x","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"y","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DeleteAssetInput","description":null,"fields":null,"inputFields":[{"name":"assetId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"deleteFromAllChannels","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DeleteAssetsInput","description":null,"fields":null,"inputFields":[{"name":"assetIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"deleteFromAllChannels","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAssetInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"type":{"kind":"INPUT_OBJECT","name":"CoordinateInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignAssetsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"assetIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AuthenticationInput","description":null,"fields":null,"inputFields":[{"name":"native","description":null,"type":{"kind":"INPUT_OBJECT","name":"NativeAuthInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"NativeAuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"AuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null}]},{"kind":"OBJECT","name":"ChannelList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ChannelListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ChannelSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ChannelFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateChannelInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguageCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use defaultCurrencyCode instead"},{"name":"defaultCurrencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"availableCurrencyCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sellerId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateChannelInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguageCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use defaultCurrencyCode instead"},{"name":"defaultCurrencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"availableCurrencyCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sellerId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","description":"Returned if attempting to set a Channel's defaultLanguageCode to a language which is not enabled in GlobalSettings","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null}]},{"kind":"UNION","name":"UpdateChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null}]},{"kind":"OBJECT","name":"Collection","description":null,"fields":[{"name":"isPrivate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"breadcrumbs","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionBreadcrumb","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"children","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariants","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionListOptions","description":null,"fields":null,"inputFields":[{"name":"topLevelOnly","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MoveCollectionInput","description":null,"fields":null,"inputFields":[{"name":"collectionId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"index","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCollectionTranslationInput","description":null,"fields":null,"inputFields":[{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCollectionTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCollectionInput","description":null,"fields":null,"inputFields":[{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCollectionTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PreviewCollectionVariantsInput","description":null,"fields":null,"inputFields":[{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCollectionInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCollectionTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignCollectionsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"collectionIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveCollectionsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"collectionIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCountryInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CountryTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCountryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CountryTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CountrySortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"groups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"history","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addresses","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGroupList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerGroupListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CustomerGroupSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"postalCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AddNoteToCustomerInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPublic","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerNoteInput","description":null,"fields":null,"inputFields":[{"name":"noteId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateCustomerResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"UNION","name":"UpdateCustomerResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"OBJECT","name":"EntityDuplicatorDefinition","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArgDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"forEntities","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DuplicateEntitySuccess","description":null,"fields":[{"name":"newEntityId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DuplicateEntityError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"duplicationError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"DuplicateEntityResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"DuplicateEntitySuccess","ofType":null},{"kind":"OBJECT","name":"DuplicateEntityError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"DuplicateEntityInput","description":null,"fields":null,"inputFields":[{"name":"entityName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"entityId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"duplicatorInput","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"isPrivate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"valueList","description":"Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0.","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"FacetSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPrivate","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueInput","description":null,"fields":null,"inputFields":[{"name":"facetId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignFacetsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"facetIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveFacetsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"facetIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetInUseError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"variantCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"RemoveFacetFromChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetInUseError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"UpdateGlobalSettingsInput","description":null,"fields":null,"inputFields":[{"name":"availableLanguages","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","description":"Returned when the default LanguageCode of a Channel is no longer found in the `availableLanguages`\nof the GlobalSettings","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channelCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"UpdateGlobalSettingsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"GlobalSettings","ofType":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","ofType":null}]},{"kind":"OBJECT","name":"GlobalSettings","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguages","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"serverConfig","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ServerConfig","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderProcessState","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"to","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PermissionDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ServerConfig","description":null,"fields":[{"name":"orderProcess","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderProcessState","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"permittedAssetTypes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PermissionDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"moneyStrategyPrecision","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFieldConfig","description":"This field is deprecated in v2.2 in favor of the entityCustomFields field,\nwhich allows custom fields to be defined on user-supplies entities.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomFields","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"entityCustomFields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"EntityCustomFields","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"HistoryEntry","description":null,"fields":[{"name":"isPublic","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"HistoryEntryType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"JSON","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ImportInfo","description":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"processed","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"imported","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"JobBufferSize","description":null,"fields":[{"name":"bufferId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"JobState","description":"@description\nThe state of a Job in the JobQueue\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PENDING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RUNNING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COMPLETED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RETRYING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FAILED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCELLED","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"JobSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"JobFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"JobList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Job","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startedAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"settledAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"queueName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"JobState","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"progress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"error","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isSettled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"retries","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"attempts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"JobQueue","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"running","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Order","description":null,"fields":[{"name":"nextStates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"modifications","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderModification","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"sellerOrders","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"aggregateOrder","description":null,"args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"aggregateOrderId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"OrderType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":"The date & time that the Order was placed, i.e. the Customer\ncompleted the checkout and the Order is no longer \"active\"","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"A unique code for the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"active","description":"An order is active as long as the payment process has not been completed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"billingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"surcharges","description":"Surcharges are arbitrary modifications to the Order total which are neither\nProductVariants nor discounts resulting from applied Promotions. For example,\none-off discounts based on customer interaction, or surcharges based on payment\nmethods.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Surcharge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","description":"An array of all coupon codes applied to the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"promotions","description":"Promotions applied to the order. Only gets populated after the payment process has completed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"payments","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillments","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":"The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level\ndiscounts which have been prorated (proportionally distributed) amongst the items of each OrderLine.\nTo get a total of all OrderLines which does not account for prorated discounts, use the\nsum of `OrderLine.discountedLinePrice` values.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":"Same as subTotal, but inclusive of tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":"Equal to subTotal plus shipping","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":"The final payable amount. Equal to subTotalWithTax plus shippingWithTax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxSummary","description":"A summary of the taxes being applied to this Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderTaxSummary","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"history","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Fulfillment","description":null,"fields":[{"name":"nextStates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"summary","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use the `lines` field instead"},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Payment","description":null,"fields":[{"name":"nextStates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errorMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refunds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModificationLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"modification","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderModification","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"modificationId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModification","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceChange","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderModificationLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"surcharges","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Surcharge","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"payment","description":null,"args":[],"type":{"kind":"OBJECT","name":"Payment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refund","description":null,"args":[],"type":{"kind":"OBJECT","name":"Refund","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isSettled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"customerLastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"aggregateOrderId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"active","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"customerLastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"aggregateOrderId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"OrderSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SetOrderCustomerInput","description":null,"fields":null,"inputFields":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FulfillOrderInput","description":null,"fields":null,"inputFields":[{"name":"lines","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderLineInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CancelOrderInput","description":null,"fields":null,"inputFields":[{"name":"orderId","description":"The id of the order to be cancelled","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":"Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderLineInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"cancelShipping","description":"Specify whether the shipping charges should also be cancelled. Defaults to false","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RefundOrderInput","description":null,"fields":null,"inputFields":[{"name":"lines","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderLineInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":"If an amount is specified, this value will be used to create a Refund rather than calculating the\namount automatically. This was added in v2.2 and will be the preferred way to specify the refund\namount in the future. The `lines`, `shipping` and `adjustment` fields will likely be removed in a future\nversion.","type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"paymentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderLineInput","description":null,"fields":null,"inputFields":[{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SettleRefundInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AddNoteToOrderInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPublic","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateOrderNoteInput","description":null,"fields":null,"inputFields":[{"name":"noteId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPublic","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorPaymentInput","description":null,"fields":null,"inputFields":[{"name":"paymentMethod","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorRefundInput","description":null,"fields":null,"inputFields":[{"name":"paymentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":"The amount to be refunded to this particular Payment. This was introduced in\nv2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment`\nfields will be removed in a future version.","type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ModifyOrderOptions","description":null,"fields":null,"inputFields":[{"name":"freezePromotions","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"recalculateShipping","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateOrderAddressInput","description":null,"fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ModifyOrderInput","description":null,"fields":null,"inputFields":[{"name":"dryRun","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"addItems","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddItemInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"adjustOrderLines","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderLineInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"surcharges","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SurchargeInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updateShippingAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"UpdateOrderAddressInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updateBillingAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"UpdateOrderAddressInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"refund","description":"Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be\napplied in the case that multiple payment methods have been used on the order.","type":{"kind":"INPUT_OBJECT","name":"AdministratorRefundInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"refunds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdministratorRefundInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ModifyOrderOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethodIds","description":"Added in v2.2","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AddItemInput","description":null,"fields":null,"inputFields":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SurchargeInput","description":null,"fields":null,"inputFields":[{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceIncludesTax","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"taxDescription","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ManualPaymentInput","description":null,"fields":null,"inputFields":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AddItemToDraftOrderInput","description":null,"fields":null,"inputFields":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustDraftOrderLineInput","description":null,"fields":null,"inputFields":[{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SettlePaymentError","description":"Returned if the Payment settlement fails","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CancelPaymentError","description":"Returned if the Payment cancellation fails","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","description":"Returned if no OrderLines have been specified for the operation","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","description":"Returned if the specified items are already part of a Fulfillment","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InvalidFulfillmentHandlerError","description":"Returned if the specified FulfillmentHandler code is not valid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreateFulfillmentError","description":"Returned if an error is thrown in a FulfillmentHandler's createFulfillment method","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","description":"Returned if attempting to create a Fulfillment when there is insufficient\nstockOnHand of a ProductVariant to satisfy the requested quantity.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MultipleOrderError","description":"Returned if an operation has specified OrderLines from multiple Orders","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CancelActiveOrderError","description":"Returned if an attempting to cancel lines from an Order which is still active","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","description":"Returned if an attempting to refund a Payment against OrderLines from a different Order","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundOrderStateError","description":"Returned if an attempting to refund an Order which is not in the expected state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NothingToRefundError","description":"Returned if an attempting to refund an Order but neither items nor shipping refund was specified","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AlreadyRefundedError","description":"Returned if an attempting to refund an OrderItem which has already been refunded","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"QuantityTooGreatError","description":"Returned if the specified quantity of an OrderLine is greater than the number of items in that line","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundAmountError","description":"Returned if `amount` is greater than the maximum un-refunded amount of the Payment","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maximumRefundable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundStateTransitionError","description":"Returned when there is an error in transitioning the Refund state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","description":"Returned when there is an error in transitioning the Payment state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","description":"Returned when there is an error in transitioning the Fulfillment state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModificationStateError","description":"Returned when attempting to modify the contents of an Order that is not in the `Modifying` state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NoChangesSpecifiedError","description":"Returned when a call to modifyOrder fails to specify any changes","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodMissingError","description":"Returned when a call to modifyOrder fails to include a paymentMethod even\nthough the price has increased as a result of the changes.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundPaymentIdMissingError","description":"Returned when a call to modifyOrder fails to include a refundPaymentId even\nthough the price has decreased as a result of the changes.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ManualPaymentStateError","description":"Returned when a call to addManualPaymentToOrder is made but the Order\nis not in the required state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"TransitionOrderToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"SettlePaymentResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"SettlePaymentError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"CancelPaymentResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"CancelPaymentError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null}]},{"kind":"UNION","name":"AddFulfillmentToOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","ofType":null},{"kind":"OBJECT","name":"InvalidFulfillmentHandlerError","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"CreateFulfillmentError","ofType":null}]},{"kind":"UNION","name":"CancelOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"CancelActiveOrderError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"RefundOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"NothingToRefundError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","ofType":null},{"kind":"OBJECT","name":"RefundOrderStateError","ofType":null},{"kind":"OBJECT","name":"AlreadyRefundedError","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null},{"kind":"OBJECT","name":"RefundAmountError","ofType":null}]},{"kind":"UNION","name":"SettleRefundResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null}]},{"kind":"UNION","name":"TransitionFulfillmentToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null}]},{"kind":"UNION","name":"TransitionPaymentToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null}]},{"kind":"UNION","name":"ModifyOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"NoChangesSpecifiedError","ofType":null},{"kind":"OBJECT","name":"OrderModificationStateError","ofType":null},{"kind":"OBJECT","name":"PaymentMethodMissingError","ofType":null},{"kind":"OBJECT","name":"RefundPaymentIdMissingError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null}]},{"kind":"UNION","name":"AddManualPaymentToOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"ManualPaymentStateError","ofType":null}]},{"kind":"UNION","name":"SetCustomerForDraftOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"OBJECT","name":"PaymentMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"PaymentMethodSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreatePaymentMethodInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentMethodTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdatePaymentMethodInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentMethodTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignPaymentMethodsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"paymentMethodIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemovePaymentMethodsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"paymentMethodIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":"Returns all ProductVariants","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variantList","description":"Returns a paginated, sortable, filterable list of ProductVariants","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantPrice","description":null,"fields":[{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"GlobalFlag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":true,"deprecationReason":"use stockLevels"},{"name":"stockAllocated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":true,"deprecationReason":"use stockLevels"},{"name":"outOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"prices","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantPrice","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLevels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLevel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"stockMovements","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"StockMovementListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockMovementList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRateApplied","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionGroupInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateGroupOptionInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductOptionGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateGroupOptionInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","description":null,"fields":null,"inputFields":[{"name":"productOptionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductOptionInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResult","description":null,"fields":[{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channelIds","description":"An array of ids of the Channels in which this result appears","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"SearchResultAsset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"SearchResultAsset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultPrice","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultPrice","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetIds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collectionIds","description":"An array of ids of the Collections in which this result appears","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"score","description":"A relevance score for the result. Differs between database implementations","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockMovementListOptions","description":null,"fields":null,"inputFields":[{"name":"type","description":null,"type":{"kind":"ENUM","name":"StockMovementType","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProductSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","description":null,"fields":null,"inputFields":[{"name":"facetValueId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"facetValueId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockAllocated","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductInput","description":null,"fields":null,"inputFields":[{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantOptionInput","description":null,"fields":null,"inputFields":[{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockLevelInput","description":null,"fields":null,"inputFields":[{"name":"stockLocationId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantPriceInput","description":"Used to set up update the price of a ProductVariant in a particular Channel.\nIf the `delete` flag is `true`, the price will be deleted for the given Channel.","fields":null,"inputFields":[{"name":"currencyCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"delete","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"taxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"optionIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevels","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"StockLevelInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"ENUM","name":"GlobalFlag","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductVariantInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"optionIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"taxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"Sets the price for the ProductVariant in the Channel's default currency","type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"prices","description":"Allows multiple prices to be set for the ProductVariant in different currencies.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantPriceInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevels","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"StockLevelInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"ENUM","name":"GlobalFlag","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignProductsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"productIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceFactor","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveProductsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"productIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignProductVariantsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"productVariantIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceFactor","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveProductVariantsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"productVariantIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionInUseError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroupCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"RemoveOptionGroupFromProductResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductOptionInUseError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreatePromotionInput","description":null,"fields":null,"inputFields":[{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"conditions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"actions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PromotionTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PromotionTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignPromotionsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"promotionIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemovePromotionsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"promotionIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MissingConditionsError","description":"Returned if a PromotionCondition has neither a couponCode nor any conditions set","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreatePromotionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null}]},{"kind":"UNION","name":"UpdatePromotionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"ProvinceTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProvinceInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProvinceTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProvinceInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProvinceTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProvinceListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProvinceSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProvinceFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"RoleSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateRoleInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateRoleInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SellerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Seller","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SellerListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"SellerSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"SellerFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateSellerInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateSellerInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ShippingMethodSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateShippingMethodInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandler","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateShippingMethodInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandler","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TestShippingMethodInput","description":null,"fields":null,"inputFields":[{"name":"checker","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestShippingMethodOrderLineInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TestEligibleShippingMethodsInput","description":null,"fields":null,"inputFields":[{"name":"shippingAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestShippingMethodOrderLineInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TestShippingMethodOrderLineInput","description":null,"fields":null,"inputFields":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TestShippingMethodResult","description":null,"fields":[{"name":"eligible","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quote","description":null,"args":[],"type":{"kind":"OBJECT","name":"TestShippingMethodQuote","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TestShippingMethodQuote","description":null,"fields":[{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignShippingMethodsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"shippingMethodIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveShippingMethodsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"shippingMethodIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StockLevel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLocationId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockAllocated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLocation","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockLocationListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"StockLocationSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"StockLocationFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StockLocationList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateStockLocationInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateStockLocationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DeleteStockLocationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transferToLocationId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignStockLocationsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"stockLocationIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveStockLocationsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"stockLocationIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StockLocation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"StockMovementType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ADJUSTMENT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALLOCATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RELEASE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SALE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCELLATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RETURN","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"StockMovement","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null}]},{"kind":"OBJECT","name":"StockAdjustment","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Allocation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Sale","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Cancellation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Return","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Release","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"StockMovementItem","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null}]},{"kind":"OBJECT","name":"StockMovementList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"StockMovementItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TagListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"TagSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"TagFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTagInput","description":null,"fields":null,"inputFields":[{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTagInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxCategoryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxCategoryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"TaxCategorySortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"TaxCategoryFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxRateInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"categoryId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxRateInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"categoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"zoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ZoneList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ZoneListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ZoneSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ZoneFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AssetType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"width","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"source","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Coordinate","description":null,"fields":[{"name":"x","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"y","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUser","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUserChannel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUserChannel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguageCodes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":true,"deprecationReason":"Use defaultCurrencyCode instead"},{"name":"defaultCurrencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableCurrencyCodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":"Not yet used - will be implemented in a future release.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":"Not yet used - will be implemented in a future release.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seller","description":null,"args":[],"type":{"kind":"OBJECT","name":"Seller","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionBreadcrumb","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"GlobalFlag","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TRUE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FALSE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INHERIT","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DISTRIBUTED_ORDER_PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OTHER","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"DeletionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"DELETED","description":"The entity was successfully deleted","isDeprecated":false,"deprecationReason":null},{"name":"NOT_DELETED","description":"Deletion did not take place, reason given in message","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":"@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n## Understanding Permission.Owner\n\n`Permission.Owner` is a special permission which is used in some Vendure resolvers to indicate that that resolver should only\nbe accessible to the \"owner\" of that resource.\n\nFor example, the Shop API `activeCustomer` query resolver should only return the Customer object for the \"owner\" of that Customer, i.e.\nbased on the activeUserId of the current session. As a result, the resolver code looks like this:\n\n@example\n```TypeScript\n\\@Query()\n\\@Allow(Permission.Owner)\nasync activeCustomer(\\@Ctx() ctx: RequestContext): Promise {\n const userId = ctx.activeUserId;\n if (userId) {\n return this.customerService.findOneByUserId(ctx, userId);\n }\n}\n```\n\nHere we can see that the \"ownership\" must be enforced by custom logic inside the resolver. Since \"ownership\" cannot be defined generally\nnor statically encoded at build-time, any resolvers using `Permission.Owner` **must** include logic to enforce that only the owner\nof the resource has access. If not, then it is the equivalent of using `Permission.Public`.\n\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":"Authenticated means simply that the user is logged in","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":"SuperAdmin has unrestricted access to all operations","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":"Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":"Public means any unauthenticated user may perform the operation","isDeprecated":false,"deprecationReason":null},{"name":"UpdateGlobalSettings","description":"Grants permission to update GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":"Grants permission to create Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":"Grants permission to read Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":"Grants permission to update Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":"Grants permission to delete Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":"Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":"Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":"Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":"Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":"Grants permission to create Administrator","isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":"Grants permission to read Administrator","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":"Grants permission to update Administrator","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":"Grants permission to delete Administrator","isDeprecated":false,"deprecationReason":null},{"name":"CreateAsset","description":"Grants permission to create Asset","isDeprecated":false,"deprecationReason":null},{"name":"ReadAsset","description":"Grants permission to read Asset","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAsset","description":"Grants permission to update Asset","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAsset","description":"Grants permission to delete Asset","isDeprecated":false,"deprecationReason":null},{"name":"CreateChannel","description":"Grants permission to create Channel","isDeprecated":false,"deprecationReason":null},{"name":"ReadChannel","description":"Grants permission to read Channel","isDeprecated":false,"deprecationReason":null},{"name":"UpdateChannel","description":"Grants permission to update Channel","isDeprecated":false,"deprecationReason":null},{"name":"DeleteChannel","description":"Grants permission to delete Channel","isDeprecated":false,"deprecationReason":null},{"name":"CreateCollection","description":"Grants permission to create Collection","isDeprecated":false,"deprecationReason":null},{"name":"ReadCollection","description":"Grants permission to read Collection","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCollection","description":"Grants permission to update Collection","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCollection","description":"Grants permission to delete Collection","isDeprecated":false,"deprecationReason":null},{"name":"CreateCountry","description":"Grants permission to create Country","isDeprecated":false,"deprecationReason":null},{"name":"ReadCountry","description":"Grants permission to read Country","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCountry","description":"Grants permission to update Country","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCountry","description":"Grants permission to delete Country","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":"Grants permission to create Customer","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":"Grants permission to read Customer","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":"Grants permission to update Customer","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":"Grants permission to delete Customer","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomerGroup","description":"Grants permission to create CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomerGroup","description":"Grants permission to read CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomerGroup","description":"Grants permission to update CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomerGroup","description":"Grants permission to delete CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"CreateFacet","description":"Grants permission to create Facet","isDeprecated":false,"deprecationReason":null},{"name":"ReadFacet","description":"Grants permission to read Facet","isDeprecated":false,"deprecationReason":null},{"name":"UpdateFacet","description":"Grants permission to update Facet","isDeprecated":false,"deprecationReason":null},{"name":"DeleteFacet","description":"Grants permission to delete Facet","isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":"Grants permission to create Order","isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":"Grants permission to read Order","isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":"Grants permission to update Order","isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":"Grants permission to delete Order","isDeprecated":false,"deprecationReason":null},{"name":"CreatePaymentMethod","description":"Grants permission to create PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"ReadPaymentMethod","description":"Grants permission to read PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePaymentMethod","description":"Grants permission to update PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"DeletePaymentMethod","description":"Grants permission to delete PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"CreateProduct","description":"Grants permission to create Product","isDeprecated":false,"deprecationReason":null},{"name":"ReadProduct","description":"Grants permission to read Product","isDeprecated":false,"deprecationReason":null},{"name":"UpdateProduct","description":"Grants permission to update Product","isDeprecated":false,"deprecationReason":null},{"name":"DeleteProduct","description":"Grants permission to delete Product","isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":"Grants permission to create Promotion","isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":"Grants permission to read Promotion","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":"Grants permission to update Promotion","isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":"Grants permission to delete Promotion","isDeprecated":false,"deprecationReason":null},{"name":"CreateShippingMethod","description":"Grants permission to create ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"ReadShippingMethod","description":"Grants permission to read ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"UpdateShippingMethod","description":"Grants permission to update ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"DeleteShippingMethod","description":"Grants permission to delete ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"CreateTag","description":"Grants permission to create Tag","isDeprecated":false,"deprecationReason":null},{"name":"ReadTag","description":"Grants permission to read Tag","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTag","description":"Grants permission to update Tag","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTag","description":"Grants permission to delete Tag","isDeprecated":false,"deprecationReason":null},{"name":"CreateTaxCategory","description":"Grants permission to create TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"ReadTaxCategory","description":"Grants permission to read TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTaxCategory","description":"Grants permission to update TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTaxCategory","description":"Grants permission to delete TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"CreateTaxRate","description":"Grants permission to create TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"ReadTaxRate","description":"Grants permission to read TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTaxRate","description":"Grants permission to update TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTaxRate","description":"Grants permission to delete TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"CreateSeller","description":"Grants permission to create Seller","isDeprecated":false,"deprecationReason":null},{"name":"ReadSeller","description":"Grants permission to read Seller","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSeller","description":"Grants permission to update Seller","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSeller","description":"Grants permission to delete Seller","isDeprecated":false,"deprecationReason":null},{"name":"CreateStockLocation","description":"Grants permission to create StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"ReadStockLocation","description":"Grants permission to read StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"UpdateStockLocation","description":"Grants permission to update StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"DeleteStockLocation","description":"Grants permission to delete StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"CreateSystem","description":"Grants permission to create System","isDeprecated":false,"deprecationReason":null},{"name":"ReadSystem","description":"Grants permission to read System","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSystem","description":"Grants permission to update System","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSystem","description":"Grants permission to delete System","isDeprecated":false,"deprecationReason":null},{"name":"CreateZone","description":"Grants permission to create Zone","isDeprecated":false,"deprecationReason":null},{"name":"ReadZone","description":"Grants permission to read Zone","isDeprecated":false,"deprecationReason":null},{"name":"UpdateZone","description":"Grants permission to update Zone","isDeprecated":false,"deprecationReason":null},{"name":"DeleteZone","description":"Grants permission to delete Zone","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ErrorCode","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UNKNOWN_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MIME_TYPE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"LANGUAGE_NOT_AVAILABLE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DUPLICATE_ENTITY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FACET_IN_USE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CHANNEL_DEFAULT_LANGUAGE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SETTLE_PAYMENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCEL_PAYMENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMPTY_ORDER_LINE_SELECTION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ITEMS_ALREADY_FULFILLED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVALID_FULFILLMENT_HANDLER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CREATE_FULFILLMENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INSUFFICIENT_STOCK_ON_HAND_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MULTIPLE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCEL_ACTIVE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_ORDER_MISMATCH_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_ORDER_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NOTHING_TO_REFUND_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALREADY_REFUNDED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"QUANTITY_TOO_GREAT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_AMOUNT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FULFILLMENT_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFICATION_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NO_CHANGES_SPECIFIED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_METHOD_MISSING_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_PAYMENT_ID_MISSING_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MANUAL_PAYMENT_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT_OPTION_IN_USE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MISSING_CONDITIONS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NATIVE_AUTH_STRATEGY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVALID_CREDENTIALS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMAIL_ADDRESS_CONFLICT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"GUEST_CHECKOUT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_LIMIT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NEGATIVE_QUANTITY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INSUFFICIENT_STOCK_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_LIMIT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFICATION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INELIGIBLE_SHIPPING_METHOD_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NO_ACTIVE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"LogicalOperator","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","description":"Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InvalidCredentialsError","description":"Returned if the user authentication credentials are not valid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderStateTransitionError","description":"Returned if there is an error in transitioning the Order state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmailAddressConflictError","description":"Returned when attempting to create a Customer with an email address already registered to an existing User.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GuestCheckoutError","description":"Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"errorDetail","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLimitError","description":"Returned when the maximum order size limit has been reached.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NegativeQuantityError","description":"Returned when attempting to set a negative OrderLine quantity.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InsufficientStockError","description":"Returned when attempting to add more items to the Order than are available","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantityAvailable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeLimitError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModificationError","description":"Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","description":"Returned when attempting to set a ShippingMethod for which the Order is not eligible","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NoActiveOrderError","description":"Returned when invoking a mutation which depends on there being an active Order on the\ncurrent session.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"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.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Money","description":"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).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"ChannelList","ofType":null},{"kind":"OBJECT","name":"CustomerGroupList","ofType":null},{"kind":"OBJECT","name":"JobList","ofType":null},{"kind":"OBJECT","name":"PaymentMethodList","ofType":null},{"kind":"OBJECT","name":"SellerList","ofType":null},{"kind":"OBJECT","name":"StockLocationList","ofType":null},{"kind":"OBJECT","name":"TaxCategoryList","ofType":null},{"kind":"OBJECT","name":"ZoneList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CollectionList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"FacetValueList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"ProductVariantList","ofType":null},{"kind":"OBJECT","name":"PromotionList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"ProvinceList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null},{"kind":"OBJECT","name":"ShippingMethodList","ofType":null},{"kind":"OBJECT","name":"TagList","ofType":null},{"kind":"OBJECT","name":"TaxRateList","ofType":null}]},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"Job","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"OrderModification","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"StockLevel","ofType":null},{"kind":"OBJECT","name":"StockLocation","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"Surcharge","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Province","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Seller","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"Tag","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MimeTypeError","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null},{"kind":"OBJECT","name":"DuplicateEntityError","ofType":null},{"kind":"OBJECT","name":"FacetInUseError","ofType":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","ofType":null},{"kind":"OBJECT","name":"SettlePaymentError","ofType":null},{"kind":"OBJECT","name":"CancelPaymentError","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","ofType":null},{"kind":"OBJECT","name":"InvalidFulfillmentHandlerError","ofType":null},{"kind":"OBJECT","name":"CreateFulfillmentError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"CancelActiveOrderError","ofType":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","ofType":null},{"kind":"OBJECT","name":"RefundOrderStateError","ofType":null},{"kind":"OBJECT","name":"NothingToRefundError","ofType":null},{"kind":"OBJECT","name":"AlreadyRefundedError","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"RefundAmountError","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"OrderModificationStateError","ofType":null},{"kind":"OBJECT","name":"NoChangesSpecifiedError","ofType":null},{"kind":"OBJECT","name":"PaymentMethodMissingError","ofType":null},{"kind":"OBJECT","name":"RefundPaymentIdMissingError","ofType":null},{"kind":"OBJECT","name":"ManualPaymentStateError","ofType":null},{"kind":"OBJECT","name":"ProductOptionInUseError","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null},{"kind":"OBJECT","name":"GuestCheckoutError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null}]},{"kind":"OBJECT","name":"Adjustment","description":null,"fields":[{"name":"adjustmentSource","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxLine","description":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArg","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArgDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperation","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArg","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperationDefinition","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArgDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DeletionResponse","description":null,"fields":[{"name":"result","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DeletionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigArgInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"A JSON stringified representation of the actual value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"arguments","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigArgInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":"Operators for filtering on a String field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notEq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notContains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notIn","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"regex","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"IDOperators","description":"Operators for filtering on an ID field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notEq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notIn","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":"Operators for filtering on a Boolean field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberOperators","description":"Operators for filtering on a Int or Float field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":"Operators for filtering on a DateTime field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringListOperators","description":"Operators for filtering on a list of String fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberListOperators","description":"Operators for filtering on a list of Number fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanListOperators","description":"Operators for filtering on a list of Boolean fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"IDListOperators","description":"Operators for filtering on a list of ID fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateListOperators","description":"Operators for filtering on a list of Date fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueFilterInput","description":"Used to construct boolean expressions for filtering search results\nby FacetValue ID. Examples:\n\n* ID=1 OR ID=2: `{ facetValueFilters: [{ or: [1,2] }] }`\n* ID=1 AND ID=2: `{ facetValueFilters: [{ and: 1 }, { and: 2 }] }`\n* ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }`","fields":null,"inputFields":[{"name":"and","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SearchInput","description":null,"fields":null,"inputFields":[{"name":"term","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use `facetValueFilters` instead"},{"name":"facetValueOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use `facetValueFilters` instead"},{"name":"facetValueFilters","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"collectionId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"collectionSlug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"groupByProduct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAddressInput","description":"Input used to create an Address.\n\nThe countryCode must correspond to a `code` property of a Country that has been defined in the\nVendure server. The `code` property is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc.\nIf an invalid code is passed, the mutation will fail.","fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","description":"Input used to update an Address.\n\nThe countryCode must correspond to a `code` property of a Country that has been defined in the\nVendure server. The `code` property is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc.\nIf an invalid code is passed, the mutation will fail.","fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Success","description":"Indicates that an operation succeeded, where we do not want to return any more specific information.","fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodQuote","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":"Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult","args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodQuote","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isEligible","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eligibilityMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"UpdateOrderItemsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null}]},{"kind":"UNION","name":"RemoveOrderItemsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null}]},{"kind":"UNION","name":"SetOrderShippingMethodResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null}]},{"kind":"UNION","name":"ApplyCouponCodeResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null}]},{"kind":"ENUM","name":"CurrencyCode","description":"@description\nISO 4217 currency code\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AED","description":"United Arab Emirates dirham","isDeprecated":false,"deprecationReason":null},{"name":"AFN","description":"Afghan afghani","isDeprecated":false,"deprecationReason":null},{"name":"ALL","description":"Albanian lek","isDeprecated":false,"deprecationReason":null},{"name":"AMD","description":"Armenian dram","isDeprecated":false,"deprecationReason":null},{"name":"ANG","description":"Netherlands Antillean guilder","isDeprecated":false,"deprecationReason":null},{"name":"AOA","description":"Angolan kwanza","isDeprecated":false,"deprecationReason":null},{"name":"ARS","description":"Argentine peso","isDeprecated":false,"deprecationReason":null},{"name":"AUD","description":"Australian dollar","isDeprecated":false,"deprecationReason":null},{"name":"AWG","description":"Aruban florin","isDeprecated":false,"deprecationReason":null},{"name":"AZN","description":"Azerbaijani manat","isDeprecated":false,"deprecationReason":null},{"name":"BAM","description":"Bosnia and Herzegovina convertible mark","isDeprecated":false,"deprecationReason":null},{"name":"BBD","description":"Barbados dollar","isDeprecated":false,"deprecationReason":null},{"name":"BDT","description":"Bangladeshi taka","isDeprecated":false,"deprecationReason":null},{"name":"BGN","description":"Bulgarian lev","isDeprecated":false,"deprecationReason":null},{"name":"BHD","description":"Bahraini dinar","isDeprecated":false,"deprecationReason":null},{"name":"BIF","description":"Burundian franc","isDeprecated":false,"deprecationReason":null},{"name":"BMD","description":"Bermudian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BND","description":"Brunei dollar","isDeprecated":false,"deprecationReason":null},{"name":"BOB","description":"Boliviano","isDeprecated":false,"deprecationReason":null},{"name":"BRL","description":"Brazilian real","isDeprecated":false,"deprecationReason":null},{"name":"BSD","description":"Bahamian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BTN","description":"Bhutanese ngultrum","isDeprecated":false,"deprecationReason":null},{"name":"BWP","description":"Botswana pula","isDeprecated":false,"deprecationReason":null},{"name":"BYN","description":"Belarusian ruble","isDeprecated":false,"deprecationReason":null},{"name":"BZD","description":"Belize dollar","isDeprecated":false,"deprecationReason":null},{"name":"CAD","description":"Canadian dollar","isDeprecated":false,"deprecationReason":null},{"name":"CDF","description":"Congolese franc","isDeprecated":false,"deprecationReason":null},{"name":"CHF","description":"Swiss franc","isDeprecated":false,"deprecationReason":null},{"name":"CLP","description":"Chilean peso","isDeprecated":false,"deprecationReason":null},{"name":"CNY","description":"Renminbi (Chinese) yuan","isDeprecated":false,"deprecationReason":null},{"name":"COP","description":"Colombian peso","isDeprecated":false,"deprecationReason":null},{"name":"CRC","description":"Costa Rican colon","isDeprecated":false,"deprecationReason":null},{"name":"CUC","description":"Cuban convertible peso","isDeprecated":false,"deprecationReason":null},{"name":"CUP","description":"Cuban peso","isDeprecated":false,"deprecationReason":null},{"name":"CVE","description":"Cape Verde escudo","isDeprecated":false,"deprecationReason":null},{"name":"CZK","description":"Czech koruna","isDeprecated":false,"deprecationReason":null},{"name":"DJF","description":"Djiboutian franc","isDeprecated":false,"deprecationReason":null},{"name":"DKK","description":"Danish krone","isDeprecated":false,"deprecationReason":null},{"name":"DOP","description":"Dominican peso","isDeprecated":false,"deprecationReason":null},{"name":"DZD","description":"Algerian dinar","isDeprecated":false,"deprecationReason":null},{"name":"EGP","description":"Egyptian pound","isDeprecated":false,"deprecationReason":null},{"name":"ERN","description":"Eritrean nakfa","isDeprecated":false,"deprecationReason":null},{"name":"ETB","description":"Ethiopian birr","isDeprecated":false,"deprecationReason":null},{"name":"EUR","description":"Euro","isDeprecated":false,"deprecationReason":null},{"name":"FJD","description":"Fiji dollar","isDeprecated":false,"deprecationReason":null},{"name":"FKP","description":"Falkland Islands pound","isDeprecated":false,"deprecationReason":null},{"name":"GBP","description":"Pound sterling","isDeprecated":false,"deprecationReason":null},{"name":"GEL","description":"Georgian lari","isDeprecated":false,"deprecationReason":null},{"name":"GHS","description":"Ghanaian cedi","isDeprecated":false,"deprecationReason":null},{"name":"GIP","description":"Gibraltar pound","isDeprecated":false,"deprecationReason":null},{"name":"GMD","description":"Gambian dalasi","isDeprecated":false,"deprecationReason":null},{"name":"GNF","description":"Guinean franc","isDeprecated":false,"deprecationReason":null},{"name":"GTQ","description":"Guatemalan quetzal","isDeprecated":false,"deprecationReason":null},{"name":"GYD","description":"Guyanese dollar","isDeprecated":false,"deprecationReason":null},{"name":"HKD","description":"Hong Kong dollar","isDeprecated":false,"deprecationReason":null},{"name":"HNL","description":"Honduran lempira","isDeprecated":false,"deprecationReason":null},{"name":"HRK","description":"Croatian kuna","isDeprecated":false,"deprecationReason":null},{"name":"HTG","description":"Haitian gourde","isDeprecated":false,"deprecationReason":null},{"name":"HUF","description":"Hungarian forint","isDeprecated":false,"deprecationReason":null},{"name":"IDR","description":"Indonesian rupiah","isDeprecated":false,"deprecationReason":null},{"name":"ILS","description":"Israeli new shekel","isDeprecated":false,"deprecationReason":null},{"name":"INR","description":"Indian rupee","isDeprecated":false,"deprecationReason":null},{"name":"IQD","description":"Iraqi dinar","isDeprecated":false,"deprecationReason":null},{"name":"IRR","description":"Iranian rial","isDeprecated":false,"deprecationReason":null},{"name":"ISK","description":"Icelandic króna","isDeprecated":false,"deprecationReason":null},{"name":"JMD","description":"Jamaican dollar","isDeprecated":false,"deprecationReason":null},{"name":"JOD","description":"Jordanian dinar","isDeprecated":false,"deprecationReason":null},{"name":"JPY","description":"Japanese yen","isDeprecated":false,"deprecationReason":null},{"name":"KES","description":"Kenyan shilling","isDeprecated":false,"deprecationReason":null},{"name":"KGS","description":"Kyrgyzstani som","isDeprecated":false,"deprecationReason":null},{"name":"KHR","description":"Cambodian riel","isDeprecated":false,"deprecationReason":null},{"name":"KMF","description":"Comoro franc","isDeprecated":false,"deprecationReason":null},{"name":"KPW","description":"North Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KRW","description":"South Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KWD","description":"Kuwaiti dinar","isDeprecated":false,"deprecationReason":null},{"name":"KYD","description":"Cayman Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"KZT","description":"Kazakhstani tenge","isDeprecated":false,"deprecationReason":null},{"name":"LAK","description":"Lao kip","isDeprecated":false,"deprecationReason":null},{"name":"LBP","description":"Lebanese pound","isDeprecated":false,"deprecationReason":null},{"name":"LKR","description":"Sri Lankan rupee","isDeprecated":false,"deprecationReason":null},{"name":"LRD","description":"Liberian dollar","isDeprecated":false,"deprecationReason":null},{"name":"LSL","description":"Lesotho loti","isDeprecated":false,"deprecationReason":null},{"name":"LYD","description":"Libyan dinar","isDeprecated":false,"deprecationReason":null},{"name":"MAD","description":"Moroccan dirham","isDeprecated":false,"deprecationReason":null},{"name":"MDL","description":"Moldovan leu","isDeprecated":false,"deprecationReason":null},{"name":"MGA","description":"Malagasy ariary","isDeprecated":false,"deprecationReason":null},{"name":"MKD","description":"Macedonian denar","isDeprecated":false,"deprecationReason":null},{"name":"MMK","description":"Myanmar kyat","isDeprecated":false,"deprecationReason":null},{"name":"MNT","description":"Mongolian tögrög","isDeprecated":false,"deprecationReason":null},{"name":"MOP","description":"Macanese pataca","isDeprecated":false,"deprecationReason":null},{"name":"MRU","description":"Mauritanian ouguiya","isDeprecated":false,"deprecationReason":null},{"name":"MUR","description":"Mauritian rupee","isDeprecated":false,"deprecationReason":null},{"name":"MVR","description":"Maldivian rufiyaa","isDeprecated":false,"deprecationReason":null},{"name":"MWK","description":"Malawian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"MXN","description":"Mexican peso","isDeprecated":false,"deprecationReason":null},{"name":"MYR","description":"Malaysian ringgit","isDeprecated":false,"deprecationReason":null},{"name":"MZN","description":"Mozambican metical","isDeprecated":false,"deprecationReason":null},{"name":"NAD","description":"Namibian dollar","isDeprecated":false,"deprecationReason":null},{"name":"NGN","description":"Nigerian naira","isDeprecated":false,"deprecationReason":null},{"name":"NIO","description":"Nicaraguan córdoba","isDeprecated":false,"deprecationReason":null},{"name":"NOK","description":"Norwegian krone","isDeprecated":false,"deprecationReason":null},{"name":"NPR","description":"Nepalese rupee","isDeprecated":false,"deprecationReason":null},{"name":"NZD","description":"New Zealand dollar","isDeprecated":false,"deprecationReason":null},{"name":"OMR","description":"Omani rial","isDeprecated":false,"deprecationReason":null},{"name":"PAB","description":"Panamanian balboa","isDeprecated":false,"deprecationReason":null},{"name":"PEN","description":"Peruvian sol","isDeprecated":false,"deprecationReason":null},{"name":"PGK","description":"Papua New Guinean kina","isDeprecated":false,"deprecationReason":null},{"name":"PHP","description":"Philippine peso","isDeprecated":false,"deprecationReason":null},{"name":"PKR","description":"Pakistani rupee","isDeprecated":false,"deprecationReason":null},{"name":"PLN","description":"Polish złoty","isDeprecated":false,"deprecationReason":null},{"name":"PYG","description":"Paraguayan guaraní","isDeprecated":false,"deprecationReason":null},{"name":"QAR","description":"Qatari riyal","isDeprecated":false,"deprecationReason":null},{"name":"RON","description":"Romanian leu","isDeprecated":false,"deprecationReason":null},{"name":"RSD","description":"Serbian dinar","isDeprecated":false,"deprecationReason":null},{"name":"RUB","description":"Russian ruble","isDeprecated":false,"deprecationReason":null},{"name":"RWF","description":"Rwandan franc","isDeprecated":false,"deprecationReason":null},{"name":"SAR","description":"Saudi riyal","isDeprecated":false,"deprecationReason":null},{"name":"SBD","description":"Solomon Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"SCR","description":"Seychelles rupee","isDeprecated":false,"deprecationReason":null},{"name":"SDG","description":"Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"SEK","description":"Swedish krona/kronor","isDeprecated":false,"deprecationReason":null},{"name":"SGD","description":"Singapore dollar","isDeprecated":false,"deprecationReason":null},{"name":"SHP","description":"Saint Helena pound","isDeprecated":false,"deprecationReason":null},{"name":"SLL","description":"Sierra Leonean leone","isDeprecated":false,"deprecationReason":null},{"name":"SOS","description":"Somali shilling","isDeprecated":false,"deprecationReason":null},{"name":"SRD","description":"Surinamese dollar","isDeprecated":false,"deprecationReason":null},{"name":"SSP","description":"South Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"STN","description":"São Tomé and Príncipe dobra","isDeprecated":false,"deprecationReason":null},{"name":"SVC","description":"Salvadoran colón","isDeprecated":false,"deprecationReason":null},{"name":"SYP","description":"Syrian pound","isDeprecated":false,"deprecationReason":null},{"name":"SZL","description":"Swazi lilangeni","isDeprecated":false,"deprecationReason":null},{"name":"THB","description":"Thai baht","isDeprecated":false,"deprecationReason":null},{"name":"TJS","description":"Tajikistani somoni","isDeprecated":false,"deprecationReason":null},{"name":"TMT","description":"Turkmenistan manat","isDeprecated":false,"deprecationReason":null},{"name":"TND","description":"Tunisian dinar","isDeprecated":false,"deprecationReason":null},{"name":"TOP","description":"Tongan paʻanga","isDeprecated":false,"deprecationReason":null},{"name":"TRY","description":"Turkish lira","isDeprecated":false,"deprecationReason":null},{"name":"TTD","description":"Trinidad and Tobago dollar","isDeprecated":false,"deprecationReason":null},{"name":"TWD","description":"New Taiwan dollar","isDeprecated":false,"deprecationReason":null},{"name":"TZS","description":"Tanzanian shilling","isDeprecated":false,"deprecationReason":null},{"name":"UAH","description":"Ukrainian hryvnia","isDeprecated":false,"deprecationReason":null},{"name":"UGX","description":"Ugandan shilling","isDeprecated":false,"deprecationReason":null},{"name":"USD","description":"United States dollar","isDeprecated":false,"deprecationReason":null},{"name":"UYU","description":"Uruguayan peso","isDeprecated":false,"deprecationReason":null},{"name":"UZS","description":"Uzbekistan som","isDeprecated":false,"deprecationReason":null},{"name":"VES","description":"Venezuelan bolívar soberano","isDeprecated":false,"deprecationReason":null},{"name":"VND","description":"Vietnamese đồng","isDeprecated":false,"deprecationReason":null},{"name":"VUV","description":"Vanuatu vatu","isDeprecated":false,"deprecationReason":null},{"name":"WST","description":"Samoan tala","isDeprecated":false,"deprecationReason":null},{"name":"XAF","description":"CFA franc BEAC","isDeprecated":false,"deprecationReason":null},{"name":"XCD","description":"East Caribbean dollar","isDeprecated":false,"deprecationReason":null},{"name":"XOF","description":"CFA franc BCEAO","isDeprecated":false,"deprecationReason":null},{"name":"XPF","description":"CFP franc (franc Pacifique)","isDeprecated":false,"deprecationReason":null},{"name":"YER","description":"Yemeni rial","isDeprecated":false,"deprecationReason":null},{"name":"ZAR","description":"South African rand","isDeprecated":false,"deprecationReason":null},{"name":"ZMW","description":"Zambian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"ZWL","description":"Zimbabwean dollar","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"CustomField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"StructCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StringCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringFieldOption","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StringFieldOption","description":null,"fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","description":"Expects the same validation formats as the `` HTML element.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"entity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"scalarFields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"StructField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextStructFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StringStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringFieldOption","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IntStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","description":"Expects the same validation formats as the `` HTML element.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TextStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"StructFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextStructFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StructCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"StructFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocalizedString","description":null,"fields":[{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CustomFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"StructCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customers","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValue","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"FacetValueSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"HistoryEntryType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CUSTOMER_REGISTERED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_DETAIL_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDED_TO_GROUP","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_REMOVED_FROM_GROUP","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_CREATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_DELETED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_RESET_REQUESTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_RESET_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_EMAIL_UPDATE_REQUESTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_EMAIL_UPDATE_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_NOTE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_PAYMENT_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_FULFILLMENT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_CANCELLATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_REFUND_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_FULFILLMENT_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_NOTE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_COUPON_APPLIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_COUPON_REMOVED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_CUSTOMER_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"HistoryEntryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntry","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"LanguageCode","description":"@description\nLanguages in the form of a ISO 639-1 language code with optional\nregion or script modifier (e.g. de_AT). The selection available is based\non the [Unicode CLDR summary list](https://unicode-org.github.io/cldr-staging/charts/37/summary/root.html)\nand includes the major spoken languages of the world and any widely-used variants.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"af","description":"Afrikaans","isDeprecated":false,"deprecationReason":null},{"name":"ak","description":"Akan","isDeprecated":false,"deprecationReason":null},{"name":"sq","description":"Albanian","isDeprecated":false,"deprecationReason":null},{"name":"am","description":"Amharic","isDeprecated":false,"deprecationReason":null},{"name":"ar","description":"Arabic","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bangla","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bs","description":"Bosnian","isDeprecated":false,"deprecationReason":null},{"name":"br","description":"Breton","isDeprecated":false,"deprecationReason":null},{"name":"bg","description":"Bulgarian","isDeprecated":false,"deprecationReason":null},{"name":"my","description":"Burmese","isDeprecated":false,"deprecationReason":null},{"name":"ca","description":"Catalan","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"zh_Hans","description":"Simplified Chinese","isDeprecated":false,"deprecationReason":null},{"name":"zh_Hant","description":"Traditional Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch","isDeprecated":false,"deprecationReason":null},{"name":"nl_BE","description":"Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"English","isDeprecated":false,"deprecationReason":null},{"name":"en_AU","description":"Australian English","isDeprecated":false,"deprecationReason":null},{"name":"en_CA","description":"Canadian English","isDeprecated":false,"deprecationReason":null},{"name":"en_GB","description":"British English","isDeprecated":false,"deprecationReason":null},{"name":"en_US","description":"American English","isDeprecated":false,"deprecationReason":null},{"name":"eo","description":"Esperanto","isDeprecated":false,"deprecationReason":null},{"name":"et","description":"Estonian","isDeprecated":false,"deprecationReason":null},{"name":"ee","description":"Ewe","isDeprecated":false,"deprecationReason":null},{"name":"fo","description":"Faroese","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fr_CA","description":"Canadian French","isDeprecated":false,"deprecationReason":null},{"name":"fr_CH","description":"Swiss French","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"de_AT","description":"Austrian German","isDeprecated":false,"deprecationReason":null},{"name":"de_CH","description":"Swiss High German","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"lo","description":"Lao","isDeprecated":false,"deprecationReason":null},{"name":"la","description":"Latin","isDeprecated":false,"deprecationReason":null},{"name":"lv","description":"Latvian","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Odia","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pashto","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"fa_AF","description":"Dari","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pt_BR","description":"Brazilian Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pt_PT","description":"European Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian","isDeprecated":false,"deprecationReason":null},{"name":"ro_MD","description":"Moldavian","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Southern Sotho","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish","isDeprecated":false,"deprecationReason":null},{"name":"es_ES","description":"European Spanish","isDeprecated":false,"deprecationReason":null},{"name":"es_MX","description":"Mexican Spanish","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sw_CD","description":"Congo Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"ta","description":"Tamil","isDeprecated":false,"deprecationReason":null},{"name":"tt","description":"Tatar","isDeprecated":false,"deprecationReason":null},{"name":"te","description":"Telugu","isDeprecated":false,"deprecationReason":null},{"name":"th","description":"Thai","isDeprecated":false,"deprecationReason":null},{"name":"bo","description":"Tibetan","isDeprecated":false,"deprecationReason":null},{"name":"ti","description":"Tigrinya","isDeprecated":false,"deprecationReason":null},{"name":"to","description":"Tongan","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"vi","description":"Vietnamese","isDeprecated":false,"deprecationReason":null},{"name":"vo","description":"Volapük","isDeprecated":false,"deprecationReason":null},{"name":"cy","description":"Welsh","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"wo","description":"Wolof","isDeprecated":false,"deprecationReason":null},{"name":"xh","description":"Xhosa","isDeprecated":false,"deprecationReason":null},{"name":"yi","description":"Yiddish","isDeprecated":false,"deprecationReason":null},{"name":"yo","description":"Yoruba","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"OrderType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Regular","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"Seller","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"Aggregate","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"OrderTaxSummary","description":"A summary of the taxes being applied to this order, grouped\nby taxRate.","fields":[{"name":"description","description":"A description of this tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":"The taxRate as a percentage","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxBase","description":"The total net price of OrderLines to which this taxRate applies","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxTotal","description":"The total tax being applied to the Order at this taxRate","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderAddress","description":null,"fields":[{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingLine","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Discount","description":null,"fields":[{"name":"adjustmentSource","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLine","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":"The price of a single unit, excluding tax and discounts","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":"The price of a single unit, including tax but excluding discounts","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceChangeSinceAdded","description":"Non-zero if the unitPrice has changed since it was initially added to Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTaxChangeSinceAdded","description":"Non-zero if the unitPriceWithTax has changed since it was initially added to Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedUnitPrice","description":"The price of a single unit including discounts, excluding tax.\n\nIf Order-level discounts have been applied, this will not be the\nactual taxable unit price (see `proratedUnitPrice`), but is generally the\ncorrect price to display to customers to avoid confusion\nabout the internal handling of distributed Order-level discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedUnitPriceWithTax","description":"The price of a single unit including discounts and tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedUnitPrice","description":"The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)\nOrder-level discounts. This value is the true economic value of the OrderItem, and is used in tax\nand refund calculations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedUnitPriceWithTax","description":"The proratedUnitPrice including tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of items purchased","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedQuantity","description":"The quantity at the time the Order was placed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePrice","description":"The total price of the line excluding tax and discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePriceWithTax","description":"The total price of the line including tax but excluding discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedLinePrice","description":"The price of the line including discounts, excluding tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedLinePriceWithTax","description":"The price of the line including discounts and tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedLinePrice","description":"The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed)\nOrder-level discounts. This value is the true economic value of the OrderLine, and is used in tax\nand refund calculations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedLinePriceWithTax","description":"The proratedLinePrice including tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lineTax","description":"The total tax on this line","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"taxLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentLines","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refund","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Refund","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RefundLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Surcharge","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroupTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroupTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOption","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"groupId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"group","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchReindexResponse","description":null,"fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResponse","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueResult","description":"Which FacetValues are present in the products returned\nby the search, and in what quantity.","fields":[{"name":"facetValue","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionResult","description":"Which Collections are present in the products returned\nby the search, and in what quantity.","fields":[{"name":"collection","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResultAsset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"SearchResultPrice","description":"The price of a search result product, either as a range or as a single price","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"PriceRange","ofType":null},{"kind":"OBJECT","name":"SinglePrice","ofType":null}]},{"kind":"OBJECT","name":"SinglePrice","description":"The price value where the result has a single price","fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PriceRange","description":"The price range where the result has more than one price","fields":[{"name":"min","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"conditions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"actions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PromotionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Region","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Province","ofType":null}]},{"kind":"OBJECT","name":"RegionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":"A Country of the world which your shop operates in.\n\nThe `code` field is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc. This code is used in certain inputs such as\n`UpdateAddressInput` and `CreateAddressInput` to specify the country.","fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Region","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CountryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Province","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Region","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProvinceList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Province","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Seller","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Tag","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TagList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxCategory","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRate","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"category","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerGroup","description":null,"args":[],"type":{"kind":"OBJECT","name":"CustomerGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verified","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"roles","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"lastLogin","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationMethods","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AuthenticationMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"strategy","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Region","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MetricSummary","description":null,"fields":[{"name":"interval","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MetricInterval","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MetricType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"entries","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MetricSummaryEntry","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"MetricInterval","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Daily","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"MetricType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"OrderCount","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OrderTotal","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"AverageOrderValue","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"MetricSummaryEntry","description":null,"fields":[{"name":"label","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MetricSummaryInput","description":null,"fields":null,"inputFields":[{"name":"interval","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MetricInterval","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"types","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MetricType","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"refresh","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"width","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"height","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"source","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"width","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"height","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"source","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ChannelFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultCurrencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ChannelFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ChannelFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ChannelSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"isPrivate","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","description":null,"fields":null,"inputFields":[{"name":"stockOnHand","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockAllocated","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerGroupSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","description":null,"fields":null,"inputFields":[{"name":"isPrivate","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"settledAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"queueName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"progress","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isSettled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"retries","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"attempts","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"JobFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"JobFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"settledAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"queueName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"progress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"retries","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"attempts","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProvinceFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProvinceFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProvinceFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProvinceSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SellerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SellerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SellerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SellerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerCode","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockLocationFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"StockLocationFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"StockLocationFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockLocationSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TagFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TagFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TagFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TagSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxCategoryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TaxCategoryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TaxCategoryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxCategorySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ZoneFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ZoneFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ZoneFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ZoneSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"isPublic","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NativeAuthInput","description":null,"fields":null,"inputFields":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomFields","description":"This type is deprecated in v2.2 in favor of the EntityCustomFields type,\nwhich allows custom fields to be defined on user-supplied entities.","fields":[{"name":"Address","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Administrator","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Asset","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Channel","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Collection","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Customer","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"CustomerGroup","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Facet","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"FacetValue","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Fulfillment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"GlobalSettings","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"OrderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"PaymentMethod","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Product","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ProductOption","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ProductOptionGroup","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ProductVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ProductVariantPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Promotion","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Region","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Seller","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ShippingMethod","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"StockLocation","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"TaxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"TaxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"User","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Zone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EntityCustomFields","description":null,"fields":[{"name":"entityName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByURL","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isOneOf","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null}],"directives":[{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\"","isDeprecated":false,"deprecationReason":null}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behavior of this scalar.","locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behavior of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"oneOf","description":"Indicates exactly one field must be supplied and this field must not be `null`.","locations":["INPUT_OBJECT"],"args":[]}]}}} +{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"administrators","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AdministratorList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"activeAdministrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":"Get a list of Assets","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AssetList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"asset","description":"Get a single Asset by id","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":null,"args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ChannelListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ChannelList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channel","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Channel","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"activeChannel","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"collection","description":"Get a Collection either by id or slug. If neither id nor slug is specified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"collectionFilters","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"previewCollectionVariants","description":"Used for real-time previews of the contents of a Collection","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PreviewCollectionVariantsInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"countries","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CountryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Country","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customerGroups","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerGroupListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroupList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerGroup","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"CustomerGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customers","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"entityDuplicators","description":"Returns all configured EntityDuplicators.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"EntityDuplicatorDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facets","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Facet","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"globalSettings","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"GlobalSettings","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"job","description":null,"args":[{"name":"jobId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Job","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"jobs","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"JobListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"JobList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"jobsById","description":null,"args":[{"name":"jobIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"jobQueues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"JobQueue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"jobBufferSize","description":null,"args":[{"name":"bufferIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"JobBufferSize","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eligibleShippingMethodsForDraftOrder","description":"Returns a list of eligible shipping methods for the draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodQuote","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethods","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaymentMethodListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethodList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethod","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"PaymentMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethodEligibilityCheckers","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentMethodHandlers","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productOptionGroups","description":null,"args":[{"name":"filterTerm","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productOptionGroup","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"search","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SearchInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pendingSearchIndexUpdates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"List Products","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"Get a Product either by id or slug. If neither id nor slug is specified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Product","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productVariants","description":"List ProductVariants either all or for the specific product.","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":"Get a ProductVariant by id","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ProductVariant","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"promotion","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Promotion","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"promotions","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PromotionList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"promotionConditions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"promotionActions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"provinces","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProvinceListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProvinceList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Province","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"roles","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RoleList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"role","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Role","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sellers","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"SellerListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SellerList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seller","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Seller","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethods","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ShippingMethodListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ShippingMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingEligibilityCheckers","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingCalculators","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlers","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"testShippingMethod","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestShippingMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TestShippingMethodResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"testEligibleShippingMethods","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestEligibleShippingMethodsInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodQuote","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLocation","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"StockLocation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stockLocations","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"StockLocationListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocationList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tag","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TagListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TagList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategories","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxCategoryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategoryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TaxCategory","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxRates","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRateList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"TaxRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zones","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ZoneListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ZoneList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"metricSummary","description":"Get metrics for the given interval and metric types.","args":[{"name":"input","description":null,"type":{"kind":"INPUT_OBJECT","name":"MetricSummaryInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MetricSummary","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"fields":[{"name":"createAdministrator","description":"Create a new Administrator","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateAdministrator","description":"Update an existing Administrator","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateActiveAdministrator","description":"Update the active (currently logged-in) Administrator","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateActiveAdministratorInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteAdministrator","description":"Delete an Administrator","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteAdministrators","description":"Delete multiple Administrators","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignRoleToAdministrator","description":"Assign a Role to an Administrator","args":[{"name":"administratorId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"roleId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createAssets","description":"Create a new Asset","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAssetInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreateAssetResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"updateAsset","description":"Update an existing Asset","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAssetInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteAsset","description":"Delete an Asset","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DeleteAssetInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteAssets","description":"Delete multiple Assets","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DeleteAssetsInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignAssetsToChannel","description":"Assign assets to channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignAssetsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":"Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }})\n\nThe `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie\nto 1 year.","args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"NativeAuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticate","description":"Authenticates the user using a named authentication strategy","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AuthenticationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":"Create a new Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreateChannelResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateChannel","description":"Update an existing Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateChannelResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteChannel","description":"Delete a Channel","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteChannels","description":"Delete multiple Channels","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createCollection","description":"Create a new Collection","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCollectionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCollection","description":"Update an existing Collection","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCollectionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCollection","description":"Delete a Collection and all of its descendants","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCollections","description":"Delete multiple Collections and all of their descendants","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"moveCollection","description":"Move a Collection to a different parent or index","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"MoveCollectionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignCollectionsToChannel","description":"Assigns Collections to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignCollectionsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCollectionsFromChannel","description":"Removes Collections from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveCollectionsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createCountry","description":"Create a new Country","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCountryInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCountry","description":"Update an existing Country","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCountryInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCountry","description":"Delete a Country","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCountries","description":"Delete multiple Countries","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomerGroup","description":"Create a new CustomerGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerGroup","description":"Update an existing CustomerGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerGroup","description":"Delete a CustomerGroup","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerGroups","description":"Delete multiple CustomerGroups","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"addCustomersToGroup","description":"Add Customers to a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCustomersFromGroup","description":"Remove Customers from a CustomerGroup","args":[{"name":"customerGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomer","description":"Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreateCustomerResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomer","description":"Update an existing Customer","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateCustomerResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomer","description":"Delete a Customer","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomers","description":"Deletes Customers","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomerAddress","description":"Create a new Address and associate it with the Customer specified by customerId","args":[{"name":"customerId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerAddress","description":"Update an existing Address","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerAddress","description":"Update an existing Address","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addNoteToCustomer","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddNoteToCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerNote","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerNoteInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntry","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerNote","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"duplicateEntity","description":"Duplicate an existing entity using a specific EntityDuplicator.\nSince v2.2.0.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DuplicateEntityInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"DuplicateEntityResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createFacet","description":"Create a new Facet","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateFacetInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateFacet","description":"Update an existing Facet","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateFacetInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteFacet","description":"Delete an existing Facet","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteFacets","description":"Delete multiple existing Facets","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createFacetValues","description":"Create one or more FacetValues","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateFacetValueInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"updateFacetValues","description":"Update one or more FacetValues","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateFacetValueInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteFacetValues","description":"Delete one or more FacetValues","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignFacetsToChannel","description":"Assigns Facets to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignFacetsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeFacetsFromChannel","description":"Removes Facets from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveFacetsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveFacetFromChannelResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"updateGlobalSettings","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateGlobalSettingsInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateGlobalSettingsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"importProducts","description":null,"args":[{"name":"csvFile","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"ImportInfo","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeSettledJobs","description":"Remove all settled jobs in the given queues older than the given date. Returns the number of jobs deleted.","args":[{"name":"queueNames","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"olderThan","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cancelJob","description":null,"args":[{"name":"jobId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"flushBufferedJobs","description":null,"args":[{"name":"bufferIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"settlePayment","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SettlePaymentResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cancelPayment","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CancelPaymentResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addFulfillmentToOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FulfillOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AddFulfillmentToOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cancelOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CancelOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CancelOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RefundOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RefundOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"settleRefund","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SettleRefundInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SettleRefundResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addNoteToOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddNoteToOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateOrderNote","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateOrderNoteInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntry","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteOrderNote","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionOrderToState","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"UNION","name":"TransitionOrderToStateResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"transitionFulfillmentToState","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"TransitionFulfillmentToStateResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionPaymentToState","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"TransitionPaymentToStateResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderCustomFields","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderCustomer","description":"Allows a different Customer to be assigned to an Order. Added in v2.2.0.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SetOrderCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"modifyOrder","description":"Allows an Order to be modified after it has been completed by the Customer. The Order must first\nbe in the `Modifying` state.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ModifyOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ModifyOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addManualPaymentToOrder","description":"Used to manually create a new Payment against an Order.\nThis can be used by an Administrator when an Order is in the ArrangingPayment state.\n\nIt is also used when a completed Order\nhas been modified (using `modifyOrder`) and the price has increased. The extra payment\ncan then be manually arranged by the administrator, and the details used to create a new\nPayment.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ManualPaymentInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AddManualPaymentToOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createDraftOrder","description":"Creates a draft Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteDraftOrder","description":"Deletes a draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addItemToDraftOrder","description":"Adds an item to the draft Order.","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddItemToDraftOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustDraftOrderLine","description":"Adjusts a draft OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available.","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdjustDraftOrderLineInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeDraftOrderLine","description":"Remove an OrderLine from the draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setCustomerForDraftOrder","description":null,"args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SetCustomerForDraftOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setDraftOrderShippingAddress","description":"Sets the shipping address for a draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setDraftOrderBillingAddress","description":"Sets the billing address for a draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unsetDraftOrderShippingAddress","description":"Unsets the shipping address for a draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unsetDraftOrderBillingAddress","description":"Unsets the billing address for a draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setDraftOrderCustomFields","description":"Allows any custom fields to be set for the active order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"applyCouponCodeToDraftOrder","description":"Applies the given coupon code to the draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ApplyCouponCodeResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCouponCodeFromDraftOrder","description":"Removes the given coupon code from the draft Order","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"setDraftOrderShippingMethod","description":"Sets the shipping method by id, which can be obtained with the `eligibleShippingMethodsForDraftOrder` query","args":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethodId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SetOrderShippingMethodResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createPaymentMethod","description":"Create existing PaymentMethod","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreatePaymentMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePaymentMethod","description":"Update an existing PaymentMethod","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePaymentMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePaymentMethod","description":"Delete a PaymentMethod","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePaymentMethods","description":"Delete multiple PaymentMethods","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignPaymentMethodsToChannel","description":"Assigns PaymentMethods to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignPaymentMethodsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removePaymentMethodsFromChannel","description":"Removes PaymentMethods from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemovePaymentMethodsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createProductOptionGroup","description":"Create a new ProductOptionGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductOptionGroupInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProductOptionGroup","description":"Update an existing ProductOptionGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductOptionGroupInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createProductOption","description":"Create a new ProductOption within a ProductOptionGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProductOption","description":"Create a new ProductOption within a ProductOptionGroup","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductOptionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProductOption","description":"Delete a ProductOption","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"reindex","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"runPendingSearchIndexUpdates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createProduct","description":"Create a new Product","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProduct","description":"Update an existing Product","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProducts","description":"Update multiple existing Products","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProduct","description":"Delete a Product","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProducts","description":"Delete multiple Products","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"addOptionGroupToProduct","description":"Add an OptionGroup to a Product","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOptionGroupFromProduct","description":"Remove an OptionGroup from a Product. If the OptionGroup is in use by any ProductVariants\nthe mutation will return a ProductOptionInUseError, and the OptionGroup will not be removed.\nSetting the `force` argument to `true` will override this and remove the OptionGroup anyway,\nas well as removing any of the group's options from the Product's ProductVariants.","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveOptionGroupFromProductResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createProductVariants","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProductVariants","description":"Update existing ProductVariants","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProductVariantInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProductVariant","description":"Delete a ProductVariant","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProductVariants","description":"Delete multiple ProductVariants","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignProductsToChannel","description":"Assigns all ProductVariants of Product to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignProductsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeProductsFromChannel","description":"Removes all ProductVariants of Product from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveProductsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignProductVariantsToChannel","description":"Assigns ProductVariants to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignProductVariantsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeProductVariantsFromChannel","description":"Removes ProductVariants from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveProductVariantsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createPromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreatePromotionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreatePromotionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdatePromotionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePromotion","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePromotions","description":null,"args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignPromotionsToChannel","description":"Assigns Promotions to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignPromotionsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removePromotionsFromChannel","description":"Removes Promotions from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemovePromotionsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createProvince","description":"Create a new Province","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProvinceInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Province","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateProvince","description":"Update an existing Province","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateProvinceInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Province","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteProvince","description":"Delete a Province","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createRole","description":"Create a new Role","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateRoleInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateRole","description":"Update an existing Role","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateRoleInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteRole","description":"Delete an existing Role","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteRoles","description":"Delete multiple Roles","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createSeller","description":"Create a new Seller","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateSellerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Seller","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateSeller","description":"Update an existing Seller","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateSellerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Seller","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteSeller","description":"Delete a Seller","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteSellers","description":"Delete multiple Sellers","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createShippingMethod","description":"Create a new ShippingMethod","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateShippingMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateShippingMethod","description":"Update an existing ShippingMethod","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateShippingMethodInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteShippingMethod","description":"Delete a ShippingMethod","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteShippingMethods","description":"Delete multiple ShippingMethods","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignShippingMethodsToChannel","description":"Assigns ShippingMethods to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignShippingMethodsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeShippingMethodsFromChannel","description":"Removes ShippingMethods from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveShippingMethodsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createStockLocation","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateStockLocationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateStockLocation","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateStockLocationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteStockLocation","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DeleteStockLocationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteStockLocations","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"DeleteStockLocationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignStockLocationsToChannel","description":"Assigns StockLocations to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignStockLocationsToChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeStockLocationsFromChannel","description":"Removes StockLocations from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveStockLocationsFromChannelInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createTag","description":"Create a new Tag","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateTagInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateTag","description":"Update an existing Tag","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateTagInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTag","description":"Delete an existing Tag","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createTaxCategory","description":"Create a new TaxCategory","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateTaxCategory","description":"Update an existing TaxCategory","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTaxCategory","description":"Deletes a TaxCategory","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTaxCategories","description":"Deletes multiple TaxCategories","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createTaxRate","description":"Create a new TaxRate","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateTaxRateInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateTaxRate","description":"Update an existing TaxRate","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateTaxRateInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTaxRate","description":"Delete a TaxRate","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteTaxRates","description":"Delete multiple TaxRates","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createZone","description":"Create a new Zone","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateZoneInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateZone","description":"Update an existing Zone","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteZone","description":"Delete a Zone","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteZones","description":"Delete a Zone","args":[{"name":"ids","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"addMembersToZone","description":"Add members to a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeMembersFromZone","description":"Remove members from a Zone","args":[{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"memberIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"roleIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"roleIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateActiveAdministratorInput","description":null,"fields":null,"inputFields":[{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Administrator","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"User","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AdministratorList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Administrator","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MimeTypeError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateAssetResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"MimeTypeError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"tags","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tagsOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"AssetSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAssetInput","description":null,"fields":null,"inputFields":[{"name":"file","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CoordinateInput","description":null,"fields":null,"inputFields":[{"name":"x","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"y","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DeleteAssetInput","description":null,"fields":null,"inputFields":[{"name":"assetId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"deleteFromAllChannels","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DeleteAssetsInput","description":null,"fields":null,"inputFields":[{"name":"assetIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"deleteFromAllChannels","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAssetInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"type":{"kind":"INPUT_OBJECT","name":"CoordinateInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignAssetsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"assetIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AuthenticationInput","description":null,"fields":null,"inputFields":[{"name":"native","description":null,"type":{"kind":"INPUT_OBJECT","name":"NativeAuthInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"NativeAuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"AuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null}]},{"kind":"OBJECT","name":"ChannelList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ChannelListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ChannelSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ChannelFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateChannelInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguageCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use defaultCurrencyCode instead"},{"name":"defaultCurrencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"availableCurrencyCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sellerId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateChannelInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguageCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use defaultCurrencyCode instead"},{"name":"defaultCurrencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"availableCurrencyCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sellerId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","description":"Returned if attempting to set a Channel's defaultLanguageCode to a language which is not enabled in GlobalSettings","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null}]},{"kind":"UNION","name":"UpdateChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null}]},{"kind":"OBJECT","name":"Collection","description":null,"fields":[{"name":"isPrivate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"breadcrumbs","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionBreadcrumb","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"children","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariants","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionListOptions","description":null,"fields":null,"inputFields":[{"name":"topLevelOnly","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MoveCollectionInput","description":null,"fields":null,"inputFields":[{"name":"collectionId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"index","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCollectionTranslationInput","description":null,"fields":null,"inputFields":[{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCollectionTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCollectionInput","description":null,"fields":null,"inputFields":[{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCollectionTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PreviewCollectionVariantsInput","description":null,"fields":null,"inputFields":[{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCollectionInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCollectionTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignCollectionsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"collectionIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveCollectionsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"collectionIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCountryInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CountryTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCountryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CountryTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CountrySortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"groups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"history","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addresses","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerGroupList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerGroupListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CustomerGroupSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"postalCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AddNoteToCustomerInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPublic","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerNoteInput","description":null,"fields":null,"inputFields":[{"name":"noteId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateCustomerResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"UNION","name":"UpdateCustomerResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"OBJECT","name":"EntityDuplicatorDefinition","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArgDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"forEntities","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DuplicateEntitySuccess","description":null,"fields":[{"name":"newEntityId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DuplicateEntityError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"duplicationError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"DuplicateEntityResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"DuplicateEntitySuccess","ofType":null},{"kind":"OBJECT","name":"DuplicateEntityError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"DuplicateEntityInput","description":null,"fields":null,"inputFields":[{"name":"entityName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"entityId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"duplicatorInput","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"isPrivate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"valueList","description":"Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0.","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"FacetSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPrivate","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueWithFacetInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateFacetValueInput","description":null,"fields":null,"inputFields":[{"name":"facetId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateFacetValueInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignFacetsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"facetIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveFacetsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"facetIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetInUseError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"variantCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"RemoveFacetFromChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"FacetInUseError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"UpdateGlobalSettingsInput","description":null,"fields":null,"inputFields":[{"name":"availableLanguages","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","description":"Returned when the default LanguageCode of a Channel is no longer found in the `availableLanguages`\nof the GlobalSettings","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channelCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"UpdateGlobalSettingsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"GlobalSettings","ofType":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","ofType":null}]},{"kind":"OBJECT","name":"GlobalSettings","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguages","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"serverConfig","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ServerConfig","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderProcessState","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"to","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PermissionDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ServerConfig","description":null,"fields":[{"name":"orderProcess","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderProcessState","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"permittedAssetTypes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PermissionDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"moneyStrategyPrecision","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFieldConfig","description":"This field is deprecated in v2.2 in favor of the entityCustomFields field,\nwhich allows custom fields to be defined on user-supplies entities.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomFields","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"entityCustomFields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"EntityCustomFields","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"HistoryEntry","description":null,"fields":[{"name":"isPublic","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"administrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"HistoryEntryType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"JSON","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ImportInfo","description":null,"fields":[{"name":"errors","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"processed","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"imported","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"JobBufferSize","description":null,"fields":[{"name":"bufferId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"size","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"JobState","description":"@description\nThe state of a Job in the JobQueue\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PENDING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RUNNING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COMPLETED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RETRYING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FAILED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCELLED","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"JobSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"JobFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"JobList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Job","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startedAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"settledAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"queueName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"JobState","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"progress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"error","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isSettled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"retries","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"attempts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"JobQueue","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"running","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Order","description":null,"fields":[{"name":"nextStates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"modifications","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderModification","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"sellerOrders","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"aggregateOrder","description":null,"args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"aggregateOrderId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"OrderType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":"The date & time that the Order was placed, i.e. the Customer\ncompleted the checkout and the Order is no longer \"active\"","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"A unique code for the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"active","description":"An order is active as long as the payment process has not been completed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"billingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"surcharges","description":"Surcharges are arbitrary modifications to the Order total which are neither\nProductVariants nor discounts resulting from applied Promotions. For example,\none-off discounts based on customer interaction, or surcharges based on payment\nmethods.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Surcharge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","description":"An array of all coupon codes applied to the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"promotions","description":"Promotions applied to the order. Only gets populated after the payment process has completed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"payments","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillments","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":"The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level\ndiscounts which have been prorated (proportionally distributed) amongst the items of each OrderLine.\nTo get a total of all OrderLines which does not account for prorated discounts, use the\nsum of `OrderLine.discountedLinePrice` values.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":"Same as subTotal, but inclusive of tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":"Equal to subTotal plus shipping","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":"The final payable amount. Equal to subTotalWithTax plus shippingWithTax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxSummary","description":"A summary of the taxes being applied to this Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderTaxSummary","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"history","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Fulfillment","description":null,"fields":[{"name":"nextStates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"summary","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use the `lines` field instead"},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Payment","description":null,"fields":[{"name":"nextStates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errorMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refunds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModificationLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"modification","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderModification","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"modificationId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModification","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceChange","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderModificationLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"surcharges","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Surcharge","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"payment","description":null,"args":[],"type":{"kind":"OBJECT","name":"Payment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refund","description":null,"args":[],"type":{"kind":"OBJECT","name":"Refund","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isSettled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"customerLastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"aggregateOrderId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"active","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"customerLastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"aggregateOrderId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"OrderSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SetOrderCustomerInput","description":null,"fields":null,"inputFields":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FulfillOrderInput","description":null,"fields":null,"inputFields":[{"name":"lines","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderLineInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CancelOrderInput","description":null,"fields":null,"inputFields":[{"name":"orderId","description":"The id of the order to be cancelled","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":"Optionally specify which OrderLines to cancel. If not provided, all OrderLines will be cancelled","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderLineInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"cancelShipping","description":"Specify whether the shipping charges should also be cancelled. Defaults to false","type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RefundOrderInput","description":null,"fields":null,"inputFields":[{"name":"lines","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderLineInput","ofType":null}}},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use the `amount` field instead"},{"name":"shipping","description":null,"type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use the `amount` field instead"},{"name":"adjustment","description":null,"type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use the `amount` field instead"},{"name":"amount","description":"The amount to be refunded to this particular payment. This was introduced in v2.2.0 as the preferred way to specify the refund amount.\nCan be as much as the total amount of the payment minus the sum of all previous refunds.","type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"paymentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderLineInput","description":null,"fields":null,"inputFields":[{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SettleRefundInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AddNoteToOrderInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPublic","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateOrderNoteInput","description":null,"fields":null,"inputFields":[{"name":"noteId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isPublic","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorPaymentInput","description":null,"fields":null,"inputFields":[{"name":"paymentMethod","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorRefundInput","description":null,"fields":null,"inputFields":[{"name":"paymentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":"The amount to be refunded to this particular Payment. This was introduced in\nv2.2.0 as the preferred way to specify the refund amount. The `lines`, `shipping` and `adjustment`\nfields will be removed in a future version.","type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ModifyOrderOptions","description":null,"fields":null,"inputFields":[{"name":"freezePromotions","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"recalculateShipping","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateOrderAddressInput","description":null,"fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ModifyOrderInput","description":null,"fields":null,"inputFields":[{"name":"dryRun","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"addItems","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddItemInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"adjustOrderLines","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderLineInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"surcharges","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SurchargeInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updateShippingAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"UpdateOrderAddressInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updateBillingAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"UpdateOrderAddressInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"note","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"refund","description":"Deprecated in v2.2.0. Use `refunds` instead to allow multiple refunds to be\napplied in the case that multiple payment methods have been used on the order.","type":{"kind":"INPUT_OBJECT","name":"AdministratorRefundInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"refunds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdministratorRefundInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ModifyOrderOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethodIds","description":"Added in v2.2","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AddItemInput","description":null,"fields":null,"inputFields":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SurchargeInput","description":null,"fields":null,"inputFields":[{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceIncludesTax","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"taxDescription","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ManualPaymentInput","description":null,"fields":null,"inputFields":[{"name":"orderId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AddItemToDraftOrderInput","description":null,"fields":null,"inputFields":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdjustDraftOrderLineInput","description":null,"fields":null,"inputFields":[{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SettlePaymentError","description":"Returned if the Payment settlement fails","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CancelPaymentError","description":"Returned if the Payment cancellation fails","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","description":"Returned if no OrderLines have been specified for the operation","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","description":"Returned if the specified items are already part of a Fulfillment","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InvalidFulfillmentHandlerError","description":"Returned if the specified FulfillmentHandler code is not valid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CreateFulfillmentError","description":"Returned if an error is thrown in a FulfillmentHandler's createFulfillment method","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","description":"Returned if attempting to create a Fulfillment when there is insufficient\nstockOnHand of a ProductVariant to satisfy the requested quantity.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MultipleOrderError","description":"Returned if an operation has specified OrderLines from multiple Orders","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CancelActiveOrderError","description":"Returned if an attempting to cancel lines from an Order which is still active","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","description":"Returned if an attempting to refund a Payment against OrderLines from a different Order","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundOrderStateError","description":"Returned if an attempting to refund an Order which is not in the expected state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NothingToRefundError","description":"Returned if an attempting to refund an Order but neither items nor shipping refund was specified","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AlreadyRefundedError","description":"Returned if an attempting to refund an OrderItem which has already been refunded","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"QuantityTooGreatError","description":"Returned if the specified quantity of an OrderLine is greater than the number of items in that line","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundAmountError","description":"Returned if `amount` is greater than the maximum un-refunded amount of the Payment","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maximumRefundable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundStateTransitionError","description":"Returned when there is an error in transitioning the Refund state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","description":"Returned when there is an error in transitioning the Payment state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","description":"Returned when there is an error in transitioning the Fulfillment state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModificationStateError","description":"Returned when attempting to modify the contents of an Order that is not in the `Modifying` state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NoChangesSpecifiedError","description":"Returned when a call to modifyOrder fails to specify any changes","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodMissingError","description":"Returned when a call to modifyOrder fails to include a paymentMethod even\nthough the price has increased as a result of the changes.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundPaymentIdMissingError","description":"Returned when a call to modifyOrder fails to include a refundPaymentId even\nthough the price has decreased as a result of the changes.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ManualPaymentStateError","description":"Returned when a call to addManualPaymentToOrder is made but the Order\nis not in the required state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"TransitionOrderToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"SettlePaymentResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"SettlePaymentError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"CancelPaymentResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"CancelPaymentError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null}]},{"kind":"UNION","name":"AddFulfillmentToOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","ofType":null},{"kind":"OBJECT","name":"InvalidFulfillmentHandlerError","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"CreateFulfillmentError","ofType":null}]},{"kind":"UNION","name":"CancelOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"CancelActiveOrderError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"RefundOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"NothingToRefundError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","ofType":null},{"kind":"OBJECT","name":"RefundOrderStateError","ofType":null},{"kind":"OBJECT","name":"AlreadyRefundedError","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null},{"kind":"OBJECT","name":"RefundAmountError","ofType":null}]},{"kind":"UNION","name":"SettleRefundResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null}]},{"kind":"UNION","name":"TransitionFulfillmentToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null}]},{"kind":"UNION","name":"TransitionPaymentToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null}]},{"kind":"UNION","name":"ModifyOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"NoChangesSpecifiedError","ofType":null},{"kind":"OBJECT","name":"OrderModificationStateError","ofType":null},{"kind":"OBJECT","name":"PaymentMethodMissingError","ofType":null},{"kind":"OBJECT","name":"RefundPaymentIdMissingError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null}]},{"kind":"UNION","name":"AddManualPaymentToOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"ManualPaymentStateError","ofType":null}]},{"kind":"UNION","name":"SetCustomerForDraftOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"OBJECT","name":"PaymentMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"PaymentMethodSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreatePaymentMethodInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentMethodTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdatePaymentMethodInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentMethodTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignPaymentMethodsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"paymentMethodIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemovePaymentMethodsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"paymentMethodIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":"Returns all ProductVariants","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variantList","description":"Returns a paginated, sortable, filterable list of ProductVariants","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantPrice","description":null,"fields":[{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"GlobalFlag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":true,"deprecationReason":"use stockLevels"},{"name":"stockAllocated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":true,"deprecationReason":"use stockLevels"},{"name":"outOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"prices","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantPrice","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLevels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLevel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"stockMovements","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"StockMovementListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockMovementList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRateApplied","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionGroupInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateGroupOptionInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductOptionGroupInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductOptionTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateGroupOptionInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductOptionInput","description":null,"fields":null,"inputFields":[{"name":"productOptionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductOptionInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionGroupTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResult","description":null,"fields":[{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channelIds","description":"An array of ids of the Channels in which this result appears","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"SearchResultAsset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"SearchResultAsset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultPrice","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultPrice","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetIds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collectionIds","description":"An array of ids of the Collections in which this result appears","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"score","description":"A relevance score for the result. Differs between database implementations","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockMovementListOptions","description":null,"fields":null,"inputFields":[{"name":"type","description":null,"type":{"kind":"ENUM","name":"StockMovementType","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProductSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","description":null,"fields":null,"inputFields":[{"name":"facetValueId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"facetValueId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockAllocated","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductInput","description":null,"fields":null,"inputFields":[{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantOptionInput","description":null,"fields":null,"inputFields":[{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductOptionTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockLevelInput","description":null,"fields":null,"inputFields":[{"name":"stockLocationId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantPriceInput","description":"Used to set up update the price of a ProductVariant in a particular Channel.\nIf the `delete` flag is `true`, the price will be deleted for the given Channel.","fields":null,"inputFields":[{"name":"currencyCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"delete","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","description":null,"fields":null,"inputFields":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"taxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"optionIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevels","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"StockLevelInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"ENUM","name":"GlobalFlag","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProductVariantInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"optionIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"taxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":"Sets the price for the ProductVariant in the Channel's default currency","type":{"kind":"SCALAR","name":"Money","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"prices","description":"Allows multiple prices to be set for the ProductVariant in different currencies.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantPriceInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevels","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"StockLevelInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"ENUM","name":"GlobalFlag","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignProductsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"productIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceFactor","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveProductsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"productIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignProductVariantsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"productVariantIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceFactor","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveProductVariantsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"productVariantIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionInUseError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroupCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"RemoveOptionGroupFromProductResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductOptionInUseError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreatePromotionInput","description":null,"fields":null,"inputFields":[{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"conditions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"actions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PromotionTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"conditions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"actions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PromotionTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignPromotionsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"promotionIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemovePromotionsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"promotionIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MissingConditionsError","description":"Returned if a PromotionCondition has neither a couponCode nor any conditions set","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreatePromotionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null}]},{"kind":"UNION","name":"UpdatePromotionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"ProvinceTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateProvinceInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProvinceTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateProvinceInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProvinceTranslationInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProvinceListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProvinceSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProvinceFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"RoleSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateRoleInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateRoleInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SellerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Seller","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SellerListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"SellerSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"SellerFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateSellerInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateSellerInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ShippingMethodSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateShippingMethodInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandler","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateShippingMethodInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandler","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TestShippingMethodInput","description":null,"fields":null,"inputFields":[{"name":"checker","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestShippingMethodOrderLineInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TestEligibleShippingMethodsInput","description":null,"fields":null,"inputFields":[{"name":"shippingAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestShippingMethodOrderLineInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TestShippingMethodOrderLineInput","description":null,"fields":null,"inputFields":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TestShippingMethodResult","description":null,"fields":[{"name":"eligible","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quote","description":null,"args":[],"type":{"kind":"OBJECT","name":"TestShippingMethodQuote","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TestShippingMethodQuote","description":null,"fields":[{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignShippingMethodsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"shippingMethodIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveShippingMethodsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"shippingMethodIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StockLevel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLocationId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockAllocated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLocation","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockLocationListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"StockLocationSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"StockLocationFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StockLocationList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateStockLocationInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateStockLocationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DeleteStockLocationInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"transferToLocationId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssignStockLocationsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"stockLocationIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RemoveStockLocationsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"stockLocationIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StockLocation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"StockMovementType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ADJUSTMENT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALLOCATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RELEASE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SALE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCELLATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RETURN","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"StockMovement","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null}]},{"kind":"OBJECT","name":"StockAdjustment","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Allocation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Sale","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Cancellation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Return","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Release","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"StockMovementItem","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null}]},{"kind":"OBJECT","name":"StockMovementList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"StockMovementItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TagListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"TagSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"TagFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTagInput","description":null,"fields":null,"inputFields":[{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTagInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxCategoryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxCategoryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"TaxCategorySortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"TaxCategoryFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxCategoryInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateTaxRateInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"categoryId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateTaxRateInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"categoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"zoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ZoneList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ZoneListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ZoneSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ZoneFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateZoneInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateZoneInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AssetType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"width","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"source","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Coordinate","description":null,"fields":[{"name":"x","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"y","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUser","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUserChannel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUserChannel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguageCodes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":true,"deprecationReason":"Use defaultCurrencyCode instead"},{"name":"defaultCurrencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableCurrencyCodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":"Not yet used - will be implemented in a future release.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":"Not yet used - will be implemented in a future release.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seller","description":null,"args":[],"type":{"kind":"OBJECT","name":"Seller","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionBreadcrumb","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"GlobalFlag","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TRUE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FALSE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INHERIT","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DISTRIBUTED_ORDER_PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OTHER","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"DeletionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"DELETED","description":"The entity was successfully deleted","isDeprecated":false,"deprecationReason":null},{"name":"NOT_DELETED","description":"Deletion did not take place, reason given in message","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":"@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n## Understanding Permission.Owner\n\n`Permission.Owner` is a special permission which is used in some Vendure resolvers to indicate that that resolver should only\nbe accessible to the \"owner\" of that resource.\n\nFor example, the Shop API `activeCustomer` query resolver should only return the Customer object for the \"owner\" of that Customer, i.e.\nbased on the activeUserId of the current session. As a result, the resolver code looks like this:\n\n@example\n```TypeScript\n\\@Query()\n\\@Allow(Permission.Owner)\nasync activeCustomer(\\@Ctx() ctx: RequestContext): Promise {\n const userId = ctx.activeUserId;\n if (userId) {\n return this.customerService.findOneByUserId(ctx, userId);\n }\n}\n```\n\nHere we can see that the \"ownership\" must be enforced by custom logic inside the resolver. Since \"ownership\" cannot be defined generally\nnor statically encoded at build-time, any resolvers using `Permission.Owner` **must** include logic to enforce that only the owner\nof the resource has access. If not, then it is the equivalent of using `Permission.Public`.\n\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":"Authenticated means simply that the user is logged in","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":"SuperAdmin has unrestricted access to all operations","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":"Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":"Public means any unauthenticated user may perform the operation","isDeprecated":false,"deprecationReason":null},{"name":"UpdateGlobalSettings","description":"Grants permission to update GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":"Grants permission to create Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":"Grants permission to read Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":"Grants permission to update Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":"Grants permission to delete Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":"Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":"Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":"Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":"Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":"Grants permission to create Administrator","isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":"Grants permission to read Administrator","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":"Grants permission to update Administrator","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":"Grants permission to delete Administrator","isDeprecated":false,"deprecationReason":null},{"name":"CreateAsset","description":"Grants permission to create Asset","isDeprecated":false,"deprecationReason":null},{"name":"ReadAsset","description":"Grants permission to read Asset","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAsset","description":"Grants permission to update Asset","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAsset","description":"Grants permission to delete Asset","isDeprecated":false,"deprecationReason":null},{"name":"CreateChannel","description":"Grants permission to create Channel","isDeprecated":false,"deprecationReason":null},{"name":"ReadChannel","description":"Grants permission to read Channel","isDeprecated":false,"deprecationReason":null},{"name":"UpdateChannel","description":"Grants permission to update Channel","isDeprecated":false,"deprecationReason":null},{"name":"DeleteChannel","description":"Grants permission to delete Channel","isDeprecated":false,"deprecationReason":null},{"name":"CreateCollection","description":"Grants permission to create Collection","isDeprecated":false,"deprecationReason":null},{"name":"ReadCollection","description":"Grants permission to read Collection","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCollection","description":"Grants permission to update Collection","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCollection","description":"Grants permission to delete Collection","isDeprecated":false,"deprecationReason":null},{"name":"CreateCountry","description":"Grants permission to create Country","isDeprecated":false,"deprecationReason":null},{"name":"ReadCountry","description":"Grants permission to read Country","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCountry","description":"Grants permission to update Country","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCountry","description":"Grants permission to delete Country","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":"Grants permission to create Customer","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":"Grants permission to read Customer","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":"Grants permission to update Customer","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":"Grants permission to delete Customer","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomerGroup","description":"Grants permission to create CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomerGroup","description":"Grants permission to read CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomerGroup","description":"Grants permission to update CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomerGroup","description":"Grants permission to delete CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"CreateFacet","description":"Grants permission to create Facet","isDeprecated":false,"deprecationReason":null},{"name":"ReadFacet","description":"Grants permission to read Facet","isDeprecated":false,"deprecationReason":null},{"name":"UpdateFacet","description":"Grants permission to update Facet","isDeprecated":false,"deprecationReason":null},{"name":"DeleteFacet","description":"Grants permission to delete Facet","isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":"Grants permission to create Order","isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":"Grants permission to read Order","isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":"Grants permission to update Order","isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":"Grants permission to delete Order","isDeprecated":false,"deprecationReason":null},{"name":"CreatePaymentMethod","description":"Grants permission to create PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"ReadPaymentMethod","description":"Grants permission to read PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePaymentMethod","description":"Grants permission to update PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"DeletePaymentMethod","description":"Grants permission to delete PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"CreateProduct","description":"Grants permission to create Product","isDeprecated":false,"deprecationReason":null},{"name":"ReadProduct","description":"Grants permission to read Product","isDeprecated":false,"deprecationReason":null},{"name":"UpdateProduct","description":"Grants permission to update Product","isDeprecated":false,"deprecationReason":null},{"name":"DeleteProduct","description":"Grants permission to delete Product","isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":"Grants permission to create Promotion","isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":"Grants permission to read Promotion","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":"Grants permission to update Promotion","isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":"Grants permission to delete Promotion","isDeprecated":false,"deprecationReason":null},{"name":"CreateShippingMethod","description":"Grants permission to create ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"ReadShippingMethod","description":"Grants permission to read ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"UpdateShippingMethod","description":"Grants permission to update ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"DeleteShippingMethod","description":"Grants permission to delete ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"CreateTag","description":"Grants permission to create Tag","isDeprecated":false,"deprecationReason":null},{"name":"ReadTag","description":"Grants permission to read Tag","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTag","description":"Grants permission to update Tag","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTag","description":"Grants permission to delete Tag","isDeprecated":false,"deprecationReason":null},{"name":"CreateTaxCategory","description":"Grants permission to create TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"ReadTaxCategory","description":"Grants permission to read TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTaxCategory","description":"Grants permission to update TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTaxCategory","description":"Grants permission to delete TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"CreateTaxRate","description":"Grants permission to create TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"ReadTaxRate","description":"Grants permission to read TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTaxRate","description":"Grants permission to update TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTaxRate","description":"Grants permission to delete TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"CreateSeller","description":"Grants permission to create Seller","isDeprecated":false,"deprecationReason":null},{"name":"ReadSeller","description":"Grants permission to read Seller","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSeller","description":"Grants permission to update Seller","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSeller","description":"Grants permission to delete Seller","isDeprecated":false,"deprecationReason":null},{"name":"CreateStockLocation","description":"Grants permission to create StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"ReadStockLocation","description":"Grants permission to read StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"UpdateStockLocation","description":"Grants permission to update StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"DeleteStockLocation","description":"Grants permission to delete StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"CreateSystem","description":"Grants permission to create System","isDeprecated":false,"deprecationReason":null},{"name":"ReadSystem","description":"Grants permission to read System","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSystem","description":"Grants permission to update System","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSystem","description":"Grants permission to delete System","isDeprecated":false,"deprecationReason":null},{"name":"CreateZone","description":"Grants permission to create Zone","isDeprecated":false,"deprecationReason":null},{"name":"ReadZone","description":"Grants permission to read Zone","isDeprecated":false,"deprecationReason":null},{"name":"UpdateZone","description":"Grants permission to update Zone","isDeprecated":false,"deprecationReason":null},{"name":"DeleteZone","description":"Grants permission to delete Zone","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ErrorCode","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UNKNOWN_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MIME_TYPE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"LANGUAGE_NOT_AVAILABLE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DUPLICATE_ENTITY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FACET_IN_USE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CHANNEL_DEFAULT_LANGUAGE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SETTLE_PAYMENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCEL_PAYMENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMPTY_ORDER_LINE_SELECTION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ITEMS_ALREADY_FULFILLED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVALID_FULFILLMENT_HANDLER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CREATE_FULFILLMENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INSUFFICIENT_STOCK_ON_HAND_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MULTIPLE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCEL_ACTIVE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_ORDER_MISMATCH_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_ORDER_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NOTHING_TO_REFUND_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALREADY_REFUNDED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"QUANTITY_TOO_GREAT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_AMOUNT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FULFILLMENT_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFICATION_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NO_CHANGES_SPECIFIED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_METHOD_MISSING_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_PAYMENT_ID_MISSING_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MANUAL_PAYMENT_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT_OPTION_IN_USE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MISSING_CONDITIONS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NATIVE_AUTH_STRATEGY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVALID_CREDENTIALS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMAIL_ADDRESS_CONFLICT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"GUEST_CHECKOUT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_LIMIT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NEGATIVE_QUANTITY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INSUFFICIENT_STOCK_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_LIMIT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFICATION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INELIGIBLE_SHIPPING_METHOD_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NO_ACTIVE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_INTERCEPTOR_ERROR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"LogicalOperator","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","description":"Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InvalidCredentialsError","description":"Returned if the user authentication credentials are not valid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderStateTransitionError","description":"Returned if there is an error in transitioning the Order state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmailAddressConflictError","description":"Returned when attempting to create a Customer with an email address already registered to an existing User.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GuestCheckoutError","description":"Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"errorDetail","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLimitError","description":"Returned when the maximum order size limit has been reached.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NegativeQuantityError","description":"Returned when attempting to set a negative OrderLine quantity.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InsufficientStockError","description":"Returned when attempting to add more items to the Order than are available","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantityAvailable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeLimitError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModificationError","description":"Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","description":"Returned when attempting to set a ShippingMethod for which the Order is not eligible","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NoActiveOrderError","description":"Returned when invoking a mutation which depends on there being an active Order on the\ncurrent session.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderInterceptorError","description":"Returned when an order operation is rejected by an OrderInterceptor method.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"interceptorError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"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.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Money","description":"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).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"ChannelList","ofType":null},{"kind":"OBJECT","name":"CustomerGroupList","ofType":null},{"kind":"OBJECT","name":"JobList","ofType":null},{"kind":"OBJECT","name":"PaymentMethodList","ofType":null},{"kind":"OBJECT","name":"SellerList","ofType":null},{"kind":"OBJECT","name":"StockLocationList","ofType":null},{"kind":"OBJECT","name":"TaxCategoryList","ofType":null},{"kind":"OBJECT","name":"ZoneList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CollectionList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"FacetValueList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"ProductVariantList","ofType":null},{"kind":"OBJECT","name":"PromotionList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"ProvinceList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null},{"kind":"OBJECT","name":"ShippingMethodList","ofType":null},{"kind":"OBJECT","name":"TagList","ofType":null},{"kind":"OBJECT","name":"TaxRateList","ofType":null}]},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"Job","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"OrderModification","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"StockLevel","ofType":null},{"kind":"OBJECT","name":"StockLocation","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"Surcharge","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Province","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Seller","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"Tag","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MimeTypeError","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null},{"kind":"OBJECT","name":"DuplicateEntityError","ofType":null},{"kind":"OBJECT","name":"FacetInUseError","ofType":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","ofType":null},{"kind":"OBJECT","name":"SettlePaymentError","ofType":null},{"kind":"OBJECT","name":"CancelPaymentError","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","ofType":null},{"kind":"OBJECT","name":"InvalidFulfillmentHandlerError","ofType":null},{"kind":"OBJECT","name":"CreateFulfillmentError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"CancelActiveOrderError","ofType":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","ofType":null},{"kind":"OBJECT","name":"RefundOrderStateError","ofType":null},{"kind":"OBJECT","name":"NothingToRefundError","ofType":null},{"kind":"OBJECT","name":"AlreadyRefundedError","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"RefundAmountError","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"OrderModificationStateError","ofType":null},{"kind":"OBJECT","name":"NoChangesSpecifiedError","ofType":null},{"kind":"OBJECT","name":"PaymentMethodMissingError","ofType":null},{"kind":"OBJECT","name":"RefundPaymentIdMissingError","ofType":null},{"kind":"OBJECT","name":"ManualPaymentStateError","ofType":null},{"kind":"OBJECT","name":"ProductOptionInUseError","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null},{"kind":"OBJECT","name":"GuestCheckoutError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null},{"kind":"OBJECT","name":"OrderInterceptorError","ofType":null}]},{"kind":"OBJECT","name":"Adjustment","description":null,"fields":[{"name":"adjustmentSource","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxLine","description":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArg","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArgDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperation","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArg","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperationDefinition","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArgDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DeletionResponse","description":null,"fields":[{"name":"result","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DeletionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigArgInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"A JSON stringified representation of the actual value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"arguments","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigArgInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":"Operators for filtering on a String field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notEq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notContains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notIn","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"regex","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"IDOperators","description":"Operators for filtering on an ID field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notEq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notIn","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":"Operators for filtering on a Boolean field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberOperators","description":"Operators for filtering on a Int or Float field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":"Operators for filtering on a DateTime field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringListOperators","description":"Operators for filtering on a list of String fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberListOperators","description":"Operators for filtering on a list of Number fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanListOperators","description":"Operators for filtering on a list of Boolean fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"IDListOperators","description":"Operators for filtering on a list of ID fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateListOperators","description":"Operators for filtering on a list of Date fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueFilterInput","description":"Used to construct boolean expressions for filtering search results\nby FacetValue ID. Examples:\n\n* ID=1 OR ID=2: `{ facetValueFilters: [{ or: [1,2] }] }`\n* ID=1 AND ID=2: `{ facetValueFilters: [{ and: 1 }, { and: 2 }] }`\n* ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }`","fields":null,"inputFields":[{"name":"and","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SearchInput","description":null,"fields":null,"inputFields":[{"name":"term","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use `facetValueFilters` instead"},{"name":"facetValueOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use `facetValueFilters` instead"},{"name":"facetValueFilters","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"collectionId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"collectionSlug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"groupByProduct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAddressInput","description":"Input used to create an Address.\n\nThe countryCode must correspond to a `code` property of a Country that has been defined in the\nVendure server. The `code` property is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc.\nIf an invalid code is passed, the mutation will fail.","fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","description":"Input used to update an Address.\n\nThe countryCode must correspond to a `code` property of a Country that has been defined in the\nVendure server. The `code` property is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc.\nIf an invalid code is passed, the mutation will fail.","fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Success","description":"Indicates that an operation succeeded, where we do not want to return any more specific information.","fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodQuote","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":"Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult","args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodQuote","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isEligible","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eligibilityMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"UpdateOrderItemsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null},{"kind":"OBJECT","name":"OrderInterceptorError","ofType":null}]},{"kind":"UNION","name":"RemoveOrderItemsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"OrderInterceptorError","ofType":null}]},{"kind":"UNION","name":"SetOrderShippingMethodResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null}]},{"kind":"UNION","name":"ApplyCouponCodeResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null}]},{"kind":"ENUM","name":"CurrencyCode","description":"@description\nISO 4217 currency code\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AED","description":"United Arab Emirates dirham","isDeprecated":false,"deprecationReason":null},{"name":"AFN","description":"Afghan afghani","isDeprecated":false,"deprecationReason":null},{"name":"ALL","description":"Albanian lek","isDeprecated":false,"deprecationReason":null},{"name":"AMD","description":"Armenian dram","isDeprecated":false,"deprecationReason":null},{"name":"ANG","description":"Netherlands Antillean guilder","isDeprecated":false,"deprecationReason":null},{"name":"AOA","description":"Angolan kwanza","isDeprecated":false,"deprecationReason":null},{"name":"ARS","description":"Argentine peso","isDeprecated":false,"deprecationReason":null},{"name":"AUD","description":"Australian dollar","isDeprecated":false,"deprecationReason":null},{"name":"AWG","description":"Aruban florin","isDeprecated":false,"deprecationReason":null},{"name":"AZN","description":"Azerbaijani manat","isDeprecated":false,"deprecationReason":null},{"name":"BAM","description":"Bosnia and Herzegovina convertible mark","isDeprecated":false,"deprecationReason":null},{"name":"BBD","description":"Barbados dollar","isDeprecated":false,"deprecationReason":null},{"name":"BDT","description":"Bangladeshi taka","isDeprecated":false,"deprecationReason":null},{"name":"BGN","description":"Bulgarian lev","isDeprecated":false,"deprecationReason":null},{"name":"BHD","description":"Bahraini dinar","isDeprecated":false,"deprecationReason":null},{"name":"BIF","description":"Burundian franc","isDeprecated":false,"deprecationReason":null},{"name":"BMD","description":"Bermudian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BND","description":"Brunei dollar","isDeprecated":false,"deprecationReason":null},{"name":"BOB","description":"Boliviano","isDeprecated":false,"deprecationReason":null},{"name":"BRL","description":"Brazilian real","isDeprecated":false,"deprecationReason":null},{"name":"BSD","description":"Bahamian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BTN","description":"Bhutanese ngultrum","isDeprecated":false,"deprecationReason":null},{"name":"BWP","description":"Botswana pula","isDeprecated":false,"deprecationReason":null},{"name":"BYN","description":"Belarusian ruble","isDeprecated":false,"deprecationReason":null},{"name":"BZD","description":"Belize dollar","isDeprecated":false,"deprecationReason":null},{"name":"CAD","description":"Canadian dollar","isDeprecated":false,"deprecationReason":null},{"name":"CDF","description":"Congolese franc","isDeprecated":false,"deprecationReason":null},{"name":"CHF","description":"Swiss franc","isDeprecated":false,"deprecationReason":null},{"name":"CLP","description":"Chilean peso","isDeprecated":false,"deprecationReason":null},{"name":"CNY","description":"Renminbi (Chinese) yuan","isDeprecated":false,"deprecationReason":null},{"name":"COP","description":"Colombian peso","isDeprecated":false,"deprecationReason":null},{"name":"CRC","description":"Costa Rican colon","isDeprecated":false,"deprecationReason":null},{"name":"CUC","description":"Cuban convertible peso","isDeprecated":false,"deprecationReason":null},{"name":"CUP","description":"Cuban peso","isDeprecated":false,"deprecationReason":null},{"name":"CVE","description":"Cape Verde escudo","isDeprecated":false,"deprecationReason":null},{"name":"CZK","description":"Czech koruna","isDeprecated":false,"deprecationReason":null},{"name":"DJF","description":"Djiboutian franc","isDeprecated":false,"deprecationReason":null},{"name":"DKK","description":"Danish krone","isDeprecated":false,"deprecationReason":null},{"name":"DOP","description":"Dominican peso","isDeprecated":false,"deprecationReason":null},{"name":"DZD","description":"Algerian dinar","isDeprecated":false,"deprecationReason":null},{"name":"EGP","description":"Egyptian pound","isDeprecated":false,"deprecationReason":null},{"name":"ERN","description":"Eritrean nakfa","isDeprecated":false,"deprecationReason":null},{"name":"ETB","description":"Ethiopian birr","isDeprecated":false,"deprecationReason":null},{"name":"EUR","description":"Euro","isDeprecated":false,"deprecationReason":null},{"name":"FJD","description":"Fiji dollar","isDeprecated":false,"deprecationReason":null},{"name":"FKP","description":"Falkland Islands pound","isDeprecated":false,"deprecationReason":null},{"name":"GBP","description":"Pound sterling","isDeprecated":false,"deprecationReason":null},{"name":"GEL","description":"Georgian lari","isDeprecated":false,"deprecationReason":null},{"name":"GHS","description":"Ghanaian cedi","isDeprecated":false,"deprecationReason":null},{"name":"GIP","description":"Gibraltar pound","isDeprecated":false,"deprecationReason":null},{"name":"GMD","description":"Gambian dalasi","isDeprecated":false,"deprecationReason":null},{"name":"GNF","description":"Guinean franc","isDeprecated":false,"deprecationReason":null},{"name":"GTQ","description":"Guatemalan quetzal","isDeprecated":false,"deprecationReason":null},{"name":"GYD","description":"Guyanese dollar","isDeprecated":false,"deprecationReason":null},{"name":"HKD","description":"Hong Kong dollar","isDeprecated":false,"deprecationReason":null},{"name":"HNL","description":"Honduran lempira","isDeprecated":false,"deprecationReason":null},{"name":"HRK","description":"Croatian kuna","isDeprecated":false,"deprecationReason":null},{"name":"HTG","description":"Haitian gourde","isDeprecated":false,"deprecationReason":null},{"name":"HUF","description":"Hungarian forint","isDeprecated":false,"deprecationReason":null},{"name":"IDR","description":"Indonesian rupiah","isDeprecated":false,"deprecationReason":null},{"name":"ILS","description":"Israeli new shekel","isDeprecated":false,"deprecationReason":null},{"name":"INR","description":"Indian rupee","isDeprecated":false,"deprecationReason":null},{"name":"IQD","description":"Iraqi dinar","isDeprecated":false,"deprecationReason":null},{"name":"IRR","description":"Iranian rial","isDeprecated":false,"deprecationReason":null},{"name":"ISK","description":"Icelandic króna","isDeprecated":false,"deprecationReason":null},{"name":"JMD","description":"Jamaican dollar","isDeprecated":false,"deprecationReason":null},{"name":"JOD","description":"Jordanian dinar","isDeprecated":false,"deprecationReason":null},{"name":"JPY","description":"Japanese yen","isDeprecated":false,"deprecationReason":null},{"name":"KES","description":"Kenyan shilling","isDeprecated":false,"deprecationReason":null},{"name":"KGS","description":"Kyrgyzstani som","isDeprecated":false,"deprecationReason":null},{"name":"KHR","description":"Cambodian riel","isDeprecated":false,"deprecationReason":null},{"name":"KMF","description":"Comoro franc","isDeprecated":false,"deprecationReason":null},{"name":"KPW","description":"North Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KRW","description":"South Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KWD","description":"Kuwaiti dinar","isDeprecated":false,"deprecationReason":null},{"name":"KYD","description":"Cayman Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"KZT","description":"Kazakhstani tenge","isDeprecated":false,"deprecationReason":null},{"name":"LAK","description":"Lao kip","isDeprecated":false,"deprecationReason":null},{"name":"LBP","description":"Lebanese pound","isDeprecated":false,"deprecationReason":null},{"name":"LKR","description":"Sri Lankan rupee","isDeprecated":false,"deprecationReason":null},{"name":"LRD","description":"Liberian dollar","isDeprecated":false,"deprecationReason":null},{"name":"LSL","description":"Lesotho loti","isDeprecated":false,"deprecationReason":null},{"name":"LYD","description":"Libyan dinar","isDeprecated":false,"deprecationReason":null},{"name":"MAD","description":"Moroccan dirham","isDeprecated":false,"deprecationReason":null},{"name":"MDL","description":"Moldovan leu","isDeprecated":false,"deprecationReason":null},{"name":"MGA","description":"Malagasy ariary","isDeprecated":false,"deprecationReason":null},{"name":"MKD","description":"Macedonian denar","isDeprecated":false,"deprecationReason":null},{"name":"MMK","description":"Myanmar kyat","isDeprecated":false,"deprecationReason":null},{"name":"MNT","description":"Mongolian tögrög","isDeprecated":false,"deprecationReason":null},{"name":"MOP","description":"Macanese pataca","isDeprecated":false,"deprecationReason":null},{"name":"MRU","description":"Mauritanian ouguiya","isDeprecated":false,"deprecationReason":null},{"name":"MUR","description":"Mauritian rupee","isDeprecated":false,"deprecationReason":null},{"name":"MVR","description":"Maldivian rufiyaa","isDeprecated":false,"deprecationReason":null},{"name":"MWK","description":"Malawian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"MXN","description":"Mexican peso","isDeprecated":false,"deprecationReason":null},{"name":"MYR","description":"Malaysian ringgit","isDeprecated":false,"deprecationReason":null},{"name":"MZN","description":"Mozambican metical","isDeprecated":false,"deprecationReason":null},{"name":"NAD","description":"Namibian dollar","isDeprecated":false,"deprecationReason":null},{"name":"NGN","description":"Nigerian naira","isDeprecated":false,"deprecationReason":null},{"name":"NIO","description":"Nicaraguan córdoba","isDeprecated":false,"deprecationReason":null},{"name":"NOK","description":"Norwegian krone","isDeprecated":false,"deprecationReason":null},{"name":"NPR","description":"Nepalese rupee","isDeprecated":false,"deprecationReason":null},{"name":"NZD","description":"New Zealand dollar","isDeprecated":false,"deprecationReason":null},{"name":"OMR","description":"Omani rial","isDeprecated":false,"deprecationReason":null},{"name":"PAB","description":"Panamanian balboa","isDeprecated":false,"deprecationReason":null},{"name":"PEN","description":"Peruvian sol","isDeprecated":false,"deprecationReason":null},{"name":"PGK","description":"Papua New Guinean kina","isDeprecated":false,"deprecationReason":null},{"name":"PHP","description":"Philippine peso","isDeprecated":false,"deprecationReason":null},{"name":"PKR","description":"Pakistani rupee","isDeprecated":false,"deprecationReason":null},{"name":"PLN","description":"Polish złoty","isDeprecated":false,"deprecationReason":null},{"name":"PYG","description":"Paraguayan guaraní","isDeprecated":false,"deprecationReason":null},{"name":"QAR","description":"Qatari riyal","isDeprecated":false,"deprecationReason":null},{"name":"RON","description":"Romanian leu","isDeprecated":false,"deprecationReason":null},{"name":"RSD","description":"Serbian dinar","isDeprecated":false,"deprecationReason":null},{"name":"RUB","description":"Russian ruble","isDeprecated":false,"deprecationReason":null},{"name":"RWF","description":"Rwandan franc","isDeprecated":false,"deprecationReason":null},{"name":"SAR","description":"Saudi riyal","isDeprecated":false,"deprecationReason":null},{"name":"SBD","description":"Solomon Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"SCR","description":"Seychelles rupee","isDeprecated":false,"deprecationReason":null},{"name":"SDG","description":"Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"SEK","description":"Swedish krona/kronor","isDeprecated":false,"deprecationReason":null},{"name":"SGD","description":"Singapore dollar","isDeprecated":false,"deprecationReason":null},{"name":"SHP","description":"Saint Helena pound","isDeprecated":false,"deprecationReason":null},{"name":"SLL","description":"Sierra Leonean leone","isDeprecated":false,"deprecationReason":null},{"name":"SOS","description":"Somali shilling","isDeprecated":false,"deprecationReason":null},{"name":"SRD","description":"Surinamese dollar","isDeprecated":false,"deprecationReason":null},{"name":"SSP","description":"South Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"STN","description":"São Tomé and Príncipe dobra","isDeprecated":false,"deprecationReason":null},{"name":"SVC","description":"Salvadoran colón","isDeprecated":false,"deprecationReason":null},{"name":"SYP","description":"Syrian pound","isDeprecated":false,"deprecationReason":null},{"name":"SZL","description":"Swazi lilangeni","isDeprecated":false,"deprecationReason":null},{"name":"THB","description":"Thai baht","isDeprecated":false,"deprecationReason":null},{"name":"TJS","description":"Tajikistani somoni","isDeprecated":false,"deprecationReason":null},{"name":"TMT","description":"Turkmenistan manat","isDeprecated":false,"deprecationReason":null},{"name":"TND","description":"Tunisian dinar","isDeprecated":false,"deprecationReason":null},{"name":"TOP","description":"Tongan paʻanga","isDeprecated":false,"deprecationReason":null},{"name":"TRY","description":"Turkish lira","isDeprecated":false,"deprecationReason":null},{"name":"TTD","description":"Trinidad and Tobago dollar","isDeprecated":false,"deprecationReason":null},{"name":"TWD","description":"New Taiwan dollar","isDeprecated":false,"deprecationReason":null},{"name":"TZS","description":"Tanzanian shilling","isDeprecated":false,"deprecationReason":null},{"name":"UAH","description":"Ukrainian hryvnia","isDeprecated":false,"deprecationReason":null},{"name":"UGX","description":"Ugandan shilling","isDeprecated":false,"deprecationReason":null},{"name":"USD","description":"United States dollar","isDeprecated":false,"deprecationReason":null},{"name":"UYU","description":"Uruguayan peso","isDeprecated":false,"deprecationReason":null},{"name":"UZS","description":"Uzbekistan som","isDeprecated":false,"deprecationReason":null},{"name":"VES","description":"Venezuelan bolívar soberano","isDeprecated":false,"deprecationReason":null},{"name":"VND","description":"Vietnamese đồng","isDeprecated":false,"deprecationReason":null},{"name":"VUV","description":"Vanuatu vatu","isDeprecated":false,"deprecationReason":null},{"name":"WST","description":"Samoan tala","isDeprecated":false,"deprecationReason":null},{"name":"XAF","description":"CFA franc BEAC","isDeprecated":false,"deprecationReason":null},{"name":"XCD","description":"East Caribbean dollar","isDeprecated":false,"deprecationReason":null},{"name":"XOF","description":"CFA franc BCEAO","isDeprecated":false,"deprecationReason":null},{"name":"XPF","description":"CFP franc (franc Pacifique)","isDeprecated":false,"deprecationReason":null},{"name":"YER","description":"Yemeni rial","isDeprecated":false,"deprecationReason":null},{"name":"ZAR","description":"South African rand","isDeprecated":false,"deprecationReason":null},{"name":"ZMW","description":"Zambian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"ZWL","description":"Zimbabwean dollar","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"CustomField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"StructCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StringCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringFieldOption","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StringFieldOption","description":null,"fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","description":"Expects the same validation formats as the `` HTML element.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"entity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"scalarFields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"StructField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextStructFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StringStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringFieldOption","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IntStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","description":"Expects the same validation formats as the `` HTML element.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TextStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"StructFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextStructFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StructCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"StructFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocalizedString","description":null,"fields":[{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CustomFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"StructCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customers","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValue","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"FacetValueSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"HistoryEntryType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CUSTOMER_REGISTERED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_DETAIL_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDED_TO_GROUP","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_REMOVED_FROM_GROUP","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_CREATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_DELETED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_RESET_REQUESTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_RESET_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_EMAIL_UPDATE_REQUESTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_EMAIL_UPDATE_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_NOTE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_PAYMENT_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_FULFILLMENT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_CANCELLATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_REFUND_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_FULFILLMENT_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_NOTE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_COUPON_APPLIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_COUPON_REMOVED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_CUSTOMER_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"HistoryEntryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntry","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"LanguageCode","description":"@description\nLanguages in the form of a ISO 639-1 language code with optional\nregion or script modifier (e.g. de_AT). The selection available is based\non the [Unicode CLDR summary list](https://unicode-org.github.io/cldr-staging/charts/37/summary/root.html)\nand includes the major spoken languages of the world and any widely-used variants.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"af","description":"Afrikaans","isDeprecated":false,"deprecationReason":null},{"name":"ak","description":"Akan","isDeprecated":false,"deprecationReason":null},{"name":"sq","description":"Albanian","isDeprecated":false,"deprecationReason":null},{"name":"am","description":"Amharic","isDeprecated":false,"deprecationReason":null},{"name":"ar","description":"Arabic","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bangla","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bs","description":"Bosnian","isDeprecated":false,"deprecationReason":null},{"name":"br","description":"Breton","isDeprecated":false,"deprecationReason":null},{"name":"bg","description":"Bulgarian","isDeprecated":false,"deprecationReason":null},{"name":"my","description":"Burmese","isDeprecated":false,"deprecationReason":null},{"name":"ca","description":"Catalan","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"zh_Hans","description":"Simplified Chinese","isDeprecated":false,"deprecationReason":null},{"name":"zh_Hant","description":"Traditional Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch","isDeprecated":false,"deprecationReason":null},{"name":"nl_BE","description":"Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"English","isDeprecated":false,"deprecationReason":null},{"name":"en_AU","description":"Australian English","isDeprecated":false,"deprecationReason":null},{"name":"en_CA","description":"Canadian English","isDeprecated":false,"deprecationReason":null},{"name":"en_GB","description":"British English","isDeprecated":false,"deprecationReason":null},{"name":"en_US","description":"American English","isDeprecated":false,"deprecationReason":null},{"name":"eo","description":"Esperanto","isDeprecated":false,"deprecationReason":null},{"name":"et","description":"Estonian","isDeprecated":false,"deprecationReason":null},{"name":"ee","description":"Ewe","isDeprecated":false,"deprecationReason":null},{"name":"fo","description":"Faroese","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fr_CA","description":"Canadian French","isDeprecated":false,"deprecationReason":null},{"name":"fr_CH","description":"Swiss French","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"de_AT","description":"Austrian German","isDeprecated":false,"deprecationReason":null},{"name":"de_CH","description":"Swiss High German","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"lo","description":"Lao","isDeprecated":false,"deprecationReason":null},{"name":"la","description":"Latin","isDeprecated":false,"deprecationReason":null},{"name":"lv","description":"Latvian","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Odia","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pashto","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"fa_AF","description":"Dari","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pt_BR","description":"Brazilian Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pt_PT","description":"European Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian","isDeprecated":false,"deprecationReason":null},{"name":"ro_MD","description":"Moldavian","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Southern Sotho","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish","isDeprecated":false,"deprecationReason":null},{"name":"es_ES","description":"European Spanish","isDeprecated":false,"deprecationReason":null},{"name":"es_MX","description":"Mexican Spanish","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sw_CD","description":"Congo Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"ta","description":"Tamil","isDeprecated":false,"deprecationReason":null},{"name":"tt","description":"Tatar","isDeprecated":false,"deprecationReason":null},{"name":"te","description":"Telugu","isDeprecated":false,"deprecationReason":null},{"name":"th","description":"Thai","isDeprecated":false,"deprecationReason":null},{"name":"bo","description":"Tibetan","isDeprecated":false,"deprecationReason":null},{"name":"ti","description":"Tigrinya","isDeprecated":false,"deprecationReason":null},{"name":"to","description":"Tongan","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"vi","description":"Vietnamese","isDeprecated":false,"deprecationReason":null},{"name":"vo","description":"Volapük","isDeprecated":false,"deprecationReason":null},{"name":"cy","description":"Welsh","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"wo","description":"Wolof","isDeprecated":false,"deprecationReason":null},{"name":"xh","description":"Xhosa","isDeprecated":false,"deprecationReason":null},{"name":"yi","description":"Yiddish","isDeprecated":false,"deprecationReason":null},{"name":"yo","description":"Yoruba","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"OrderType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Regular","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"Seller","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"Aggregate","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"OrderTaxSummary","description":"A summary of the taxes being applied to this order, grouped\nby taxRate.","fields":[{"name":"description","description":"A description of this tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":"The taxRate as a percentage","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxBase","description":"The total net price of OrderLines to which this taxRate applies","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxTotal","description":"The total tax being applied to the Order at this taxRate","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderAddress","description":null,"fields":[{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingLine","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Discount","description":null,"fields":[{"name":"adjustmentSource","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLine","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":"The price of a single unit, excluding tax and discounts","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":"The price of a single unit, including tax but excluding discounts","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceChangeSinceAdded","description":"Non-zero if the unitPrice has changed since it was initially added to Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTaxChangeSinceAdded","description":"Non-zero if the unitPriceWithTax has changed since it was initially added to Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedUnitPrice","description":"The price of a single unit including discounts, excluding tax.\n\nIf Order-level discounts have been applied, this will not be the\nactual taxable unit price (see `proratedUnitPrice`), but is generally the\ncorrect price to display to customers to avoid confusion\nabout the internal handling of distributed Order-level discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedUnitPriceWithTax","description":"The price of a single unit including discounts and tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedUnitPrice","description":"The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)\nOrder-level discounts. This value is the true economic value of the OrderItem, and is used in tax\nand refund calculations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedUnitPriceWithTax","description":"The proratedUnitPrice including tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of items purchased","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedQuantity","description":"The quantity at the time the Order was placed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePrice","description":"The total price of the line excluding tax and discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePriceWithTax","description":"The total price of the line including tax but excluding discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedLinePrice","description":"The price of the line including discounts, excluding tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedLinePriceWithTax","description":"The price of the line including discounts and tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedLinePrice","description":"The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed)\nOrder-level discounts. This value is the true economic value of the OrderLine, and is used in tax\nand refund calculations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedLinePriceWithTax","description":"The proratedLinePrice including tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lineTax","description":"The total tax on this line","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"taxLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentLines","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refund","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Refund","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RefundLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Surcharge","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroupTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroupTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOption","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"groupId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"group","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchReindexResponse","description":null,"fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResponse","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueResult","description":"Which FacetValues are present in the products returned\nby the search, and in what quantity.","fields":[{"name":"facetValue","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionResult","description":"Which Collections are present in the products returned\nby the search, and in what quantity.","fields":[{"name":"collection","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResultAsset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"SearchResultPrice","description":"The price of a search result product, either as a range or as a single price","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"PriceRange","ofType":null},{"kind":"OBJECT","name":"SinglePrice","ofType":null}]},{"kind":"OBJECT","name":"SinglePrice","description":"The price value where the result has a single price","fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PriceRange","description":"The price range where the result has more than one price","fields":[{"name":"min","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"conditions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"actions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PromotionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Region","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Province","ofType":null}]},{"kind":"OBJECT","name":"RegionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":"A Country of the world which your shop operates in.\n\nThe `code` field is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc. This code is used in certain inputs such as\n`UpdateAddressInput` and `CreateAddressInput` to specify the country.","fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Region","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CountryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Province","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Region","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProvinceList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Province","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Seller","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Tag","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TagList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxCategory","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRate","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"category","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerGroup","description":null,"args":[],"type":{"kind":"OBJECT","name":"CustomerGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verified","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"roles","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"lastLogin","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationMethods","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AuthenticationMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"strategy","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Region","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MetricSummary","description":null,"fields":[{"name":"interval","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MetricInterval","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MetricType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"entries","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"MetricSummaryEntry","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"MetricInterval","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Daily","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"MetricType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"OrderCount","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OrderTotal","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"AverageOrderValue","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"MetricSummaryEntry","description":null,"fields":[{"name":"label","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"MetricSummaryInput","description":null,"fields":null,"inputFields":[{"name":"interval","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MetricInterval","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"types","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"MetricType","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"refresh","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"width","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"height","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"source","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"width","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"height","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"source","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ChannelFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultCurrencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ChannelFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ChannelFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ChannelSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"isPrivate","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"inheritFilters","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","description":null,"fields":null,"inputFields":[{"name":"stockOnHand","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockAllocated","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerGroupSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","description":null,"fields":null,"inputFields":[{"name":"isPrivate","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"settledAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"queueName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"progress","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isSettled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"retries","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"attempts","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"JobFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"JobFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"settledAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"queueName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"progress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"retries","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"attempts","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProvinceFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProvinceFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProvinceFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProvinceSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SellerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SellerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SellerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SellerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerCode","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockLocationFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"StockLocationFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"StockLocationFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StockLocationSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TagFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TagFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TagFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TagSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxCategoryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TaxCategoryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TaxCategoryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxCategorySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ZoneFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ZoneFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ZoneFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ZoneSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"isPublic","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NativeAuthInput","description":null,"fields":null,"inputFields":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomFields","description":"This type is deprecated in v2.2 in favor of the EntityCustomFields type,\nwhich allows custom fields to be defined on user-supplied entities.","fields":[{"name":"Address","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Administrator","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Asset","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Channel","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Collection","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Customer","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"CustomerGroup","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Facet","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"FacetValue","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Fulfillment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"GlobalSettings","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"OrderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"PaymentMethod","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Product","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ProductOption","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ProductOptionGroup","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ProductVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ProductVariantPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Promotion","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Region","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Seller","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ShippingMethod","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"StockLocation","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"TaxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"TaxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"User","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Zone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EntityCustomFields","description":null,"fields":[{"name":"entityName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByURL","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isOneOf","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null}],"directives":[{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\"","isDeprecated":false,"deprecationReason":null}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behavior of this scalar.","locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behavior of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"oneOf","description":"Indicates exactly one field must be supplied and this field must not be `null`.","locations":["INPUT_OBJECT"],"args":[]}]}}} diff --git a/schema-shop.json b/schema-shop.json index 784e7d1a35..4b9d33c9f0 100644 --- a/schema-shop.json +++ b/schema-shop.json @@ -1 +1 @@ -{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"activeChannel","description":"The active Channel","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"activeCustomer","description":"The active Customer","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"activeOrder","description":"The active Order. Will be `null` until an Order is created via `addItemToOrder`. Once an Order reaches the\nstate of `PaymentAuthorized` or `PaymentSettled`, then that Order is no longer considered \"active\" and this\nquery will once again return `null`.","args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"availableCountries","description":"An array of supported Countries","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":"A list of Collections available to the shop","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"collection","description":"Returns a Collection either by its id or slug. If neither 'id' nor 'slug' is specified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"eligibleShippingMethods","description":"Returns a list of eligible shipping methods based on the current active Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodQuote","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"eligiblePaymentMethods","description":"Returns a list of payment methods and their eligibility based on the current active Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethodQuote","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facets","description":"A list of Facets available to the shop","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":"Returns a Facet by its id","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Facet","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":"Returns information about the current authenticated User","args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nextOrderStates","description":"Returns the possible next states that the activeOrder can transition to","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"Returns an Order based on the id. Note that in the Shop API, only orders belonging to the\ncurrently-authenticated User may be queried.","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orderByCode","description":"Returns an Order based on the order `code`. For guest Orders (i.e. Orders placed by non-authenticated Customers)\nthis query will only return the Order within 2 hours of the Order being placed. This allows an Order confirmation\nscreen to be shown immediately after completion of a guest checkout, yet prevents security risks of allowing\ngeneral anonymous access to Order data.","args":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"Get a Product either by id or slug. If neither 'id' nor 'slug' is specified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Product","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"Get a list of Products","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"search","description":"Search Products based on the criteria set by the `SearchInput`","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SearchInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"fields":[{"name":"addItemToOrder","description":"Adds an item to the order. If custom fields are defined on the OrderLine entity, a third argument 'customFields' will be available.","args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOrderLine","description":"Remove an OrderLine from the Order","args":[{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeAllOrderLines","description":"Remove all OrderLine from the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustOrderLine","description":"Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available.","args":[{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"applyCouponCode","description":"Applies the given coupon code to the active Order","args":[{"name":"couponCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ApplyCouponCodeResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCouponCode","description":"Removes the given coupon code from the active Order","args":[{"name":"couponCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"transitionOrderToState","description":"Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates`","args":[{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"UNION","name":"TransitionOrderToStateResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderShippingAddress","description":"Sets the shipping address for this order","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ActiveOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderBillingAddress","description":"Sets the billing address for this order","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ActiveOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderCustomFields","description":"Allows any custom fields to be set for the active order","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ActiveOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderShippingMethod","description":"Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query.\nAn Order can have multiple shipping methods, in which case you can pass an array of ids. In this case,\nyou should configure a custom ShippingLineAssignmentStrategy in order to know which OrderLines each\nshipping method will apply to.","args":[{"name":"shippingMethodId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SetOrderShippingMethodResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addPaymentToOrder","description":"Add a Payment to the Order","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AddPaymentToOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setCustomerForOrder","description":"Set the Customer for the Order. Required only if the Customer is not currently logged in","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SetCustomerForOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":"Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }})\n\nThe `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie\nto 1 year.","args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"NativeAuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticate","description":"Authenticates the user using a named authentication strategy","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AuthenticationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":"End the current authenticated session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"registerCustomerAccount","description":"Register a Customer account with the given credentials. There are three possible registration flows:\n\n_If `authOptions.requireVerification` is set to `true`:_\n\n1. **The Customer is registered _with_ a password**. A verificationToken will be created (and typically emailed to the Customer). That\n verificationToken would then be passed to the `verifyCustomerAccount` mutation _without_ a password. The Customer is then\n verified and authenticated in one step.\n2. **The Customer is registered _without_ a password**. A verificationToken will be created (and typically emailed to the Customer). That\n verificationToken would then be passed to the `verifyCustomerAccount` mutation _with_ the chosen password of the Customer. The Customer is then\n verified and authenticated in one step.\n\n_If `authOptions.requireVerification` is set to `false`:_\n\n3. The Customer _must_ be registered _with_ a password. No further action is needed - the Customer is able to authenticate immediately.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RegisterCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RegisterCustomerAccountResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refreshCustomerVerification","description":"Regenerate and send a verification token for a new Customer registration. Only applicable if `authOptions.requireVerification` is set to true.","args":[{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RefreshCustomerVerificationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomer","description":"Update an existing Customer","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomerAddress","description":"Create a new Customer Address","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerAddress","description":"Update an existing Address","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerAddress","description":"Delete an existing Address","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verifyCustomerAccount","description":"Verify a Customer email address with the token sent to that address. Only applicable if `authOptions.requireVerification` is set to true.\n\nIf the Customer was not registered with a password in the `registerCustomerAccount` mutation, the password _must_ be\nprovided here.","args":[{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"VerifyCustomerAccountResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerPassword","description":"Update the password of the active Customer","args":[{"name":"currentPassword","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"newPassword","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateCustomerPasswordResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"requestUpdateCustomerEmailAddress","description":"Request to update the emailAddress of the active Customer. If `authOptions.requireVerification` is enabled\n(as is the default), then the `identifierChangeToken` will be assigned to the current User and\na IdentifierChangeRequestEvent will be raised. This can then be used e.g. by the EmailPlugin to email\nthat verification token to the Customer, which is then used to verify the change of email address.","args":[{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"newEmailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RequestUpdateCustomerEmailAddressResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerEmailAddress","description":"Confirm the update of the emailAddress with the provided token, which has been generated by the\n`requestUpdateCustomerEmailAddress` mutation.","args":[{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateCustomerEmailAddressResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"requestPasswordReset","description":"Requests a password reset email to be sent","args":[{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"UNION","name":"RequestPasswordResetResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"resetPassword","description":"Resets a Customer's password based on the provided token","args":[{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ResetPasswordResult","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AssetType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"width","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"source","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Coordinate","description":null,"fields":[{"name":"x","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"y","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUser","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUserChannel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUserChannel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguageCodes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":true,"deprecationReason":"Use defaultCurrencyCode instead"},{"name":"defaultCurrencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableCurrencyCodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":"Not yet used - will be implemented in a future release.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":"Not yet used - will be implemented in a future release.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seller","description":null,"args":[],"type":{"kind":"OBJECT","name":"Seller","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Collection","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"breadcrumbs","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionBreadcrumb","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"children","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariants","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionBreadcrumb","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"GlobalFlag","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TRUE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FALSE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INHERIT","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DISTRIBUTED_ORDER_PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OTHER","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"DeletionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"DELETED","description":"The entity was successfully deleted","isDeprecated":false,"deprecationReason":null},{"name":"NOT_DELETED","description":"Deletion did not take place, reason given in message","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":"@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n## Understanding Permission.Owner\n\n`Permission.Owner` is a special permission which is used in some Vendure resolvers to indicate that that resolver should only\nbe accessible to the \"owner\" of that resource.\n\nFor example, the Shop API `activeCustomer` query resolver should only return the Customer object for the \"owner\" of that Customer, i.e.\nbased on the activeUserId of the current session. As a result, the resolver code looks like this:\n\n@example\n```TypeScript\n\\@Query()\n\\@Allow(Permission.Owner)\nasync activeCustomer(\\@Ctx() ctx: RequestContext): Promise {\n const userId = ctx.activeUserId;\n if (userId) {\n return this.customerService.findOneByUserId(ctx, userId);\n }\n}\n```\n\nHere we can see that the \"ownership\" must be enforced by custom logic inside the resolver. Since \"ownership\" cannot be defined generally\nnor statically encoded at build-time, any resolvers using `Permission.Owner` **must** include logic to enforce that only the owner\nof the resource has access. If not, then it is the equivalent of using `Permission.Public`.\n\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":"Authenticated means simply that the user is logged in","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":"SuperAdmin has unrestricted access to all operations","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":"Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":"Public means any unauthenticated user may perform the operation","isDeprecated":false,"deprecationReason":null},{"name":"UpdateGlobalSettings","description":"Grants permission to update GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":"Grants permission to create Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":"Grants permission to read Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":"Grants permission to update Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":"Grants permission to delete Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":"Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":"Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":"Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":"Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":"Grants permission to create Administrator","isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":"Grants permission to read Administrator","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":"Grants permission to update Administrator","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":"Grants permission to delete Administrator","isDeprecated":false,"deprecationReason":null},{"name":"CreateAsset","description":"Grants permission to create Asset","isDeprecated":false,"deprecationReason":null},{"name":"ReadAsset","description":"Grants permission to read Asset","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAsset","description":"Grants permission to update Asset","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAsset","description":"Grants permission to delete Asset","isDeprecated":false,"deprecationReason":null},{"name":"CreateChannel","description":"Grants permission to create Channel","isDeprecated":false,"deprecationReason":null},{"name":"ReadChannel","description":"Grants permission to read Channel","isDeprecated":false,"deprecationReason":null},{"name":"UpdateChannel","description":"Grants permission to update Channel","isDeprecated":false,"deprecationReason":null},{"name":"DeleteChannel","description":"Grants permission to delete Channel","isDeprecated":false,"deprecationReason":null},{"name":"CreateCollection","description":"Grants permission to create Collection","isDeprecated":false,"deprecationReason":null},{"name":"ReadCollection","description":"Grants permission to read Collection","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCollection","description":"Grants permission to update Collection","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCollection","description":"Grants permission to delete Collection","isDeprecated":false,"deprecationReason":null},{"name":"CreateCountry","description":"Grants permission to create Country","isDeprecated":false,"deprecationReason":null},{"name":"ReadCountry","description":"Grants permission to read Country","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCountry","description":"Grants permission to update Country","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCountry","description":"Grants permission to delete Country","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":"Grants permission to create Customer","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":"Grants permission to read Customer","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":"Grants permission to update Customer","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":"Grants permission to delete Customer","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomerGroup","description":"Grants permission to create CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomerGroup","description":"Grants permission to read CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomerGroup","description":"Grants permission to update CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomerGroup","description":"Grants permission to delete CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"CreateFacet","description":"Grants permission to create Facet","isDeprecated":false,"deprecationReason":null},{"name":"ReadFacet","description":"Grants permission to read Facet","isDeprecated":false,"deprecationReason":null},{"name":"UpdateFacet","description":"Grants permission to update Facet","isDeprecated":false,"deprecationReason":null},{"name":"DeleteFacet","description":"Grants permission to delete Facet","isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":"Grants permission to create Order","isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":"Grants permission to read Order","isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":"Grants permission to update Order","isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":"Grants permission to delete Order","isDeprecated":false,"deprecationReason":null},{"name":"CreatePaymentMethod","description":"Grants permission to create PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"ReadPaymentMethod","description":"Grants permission to read PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePaymentMethod","description":"Grants permission to update PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"DeletePaymentMethod","description":"Grants permission to delete PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"CreateProduct","description":"Grants permission to create Product","isDeprecated":false,"deprecationReason":null},{"name":"ReadProduct","description":"Grants permission to read Product","isDeprecated":false,"deprecationReason":null},{"name":"UpdateProduct","description":"Grants permission to update Product","isDeprecated":false,"deprecationReason":null},{"name":"DeleteProduct","description":"Grants permission to delete Product","isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":"Grants permission to create Promotion","isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":"Grants permission to read Promotion","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":"Grants permission to update Promotion","isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":"Grants permission to delete Promotion","isDeprecated":false,"deprecationReason":null},{"name":"CreateShippingMethod","description":"Grants permission to create ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"ReadShippingMethod","description":"Grants permission to read ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"UpdateShippingMethod","description":"Grants permission to update ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"DeleteShippingMethod","description":"Grants permission to delete ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"CreateTag","description":"Grants permission to create Tag","isDeprecated":false,"deprecationReason":null},{"name":"ReadTag","description":"Grants permission to read Tag","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTag","description":"Grants permission to update Tag","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTag","description":"Grants permission to delete Tag","isDeprecated":false,"deprecationReason":null},{"name":"CreateTaxCategory","description":"Grants permission to create TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"ReadTaxCategory","description":"Grants permission to read TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTaxCategory","description":"Grants permission to update TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTaxCategory","description":"Grants permission to delete TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"CreateTaxRate","description":"Grants permission to create TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"ReadTaxRate","description":"Grants permission to read TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTaxRate","description":"Grants permission to update TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTaxRate","description":"Grants permission to delete TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"CreateSeller","description":"Grants permission to create Seller","isDeprecated":false,"deprecationReason":null},{"name":"ReadSeller","description":"Grants permission to read Seller","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSeller","description":"Grants permission to update Seller","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSeller","description":"Grants permission to delete Seller","isDeprecated":false,"deprecationReason":null},{"name":"CreateStockLocation","description":"Grants permission to create StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"ReadStockLocation","description":"Grants permission to read StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"UpdateStockLocation","description":"Grants permission to update StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"DeleteStockLocation","description":"Grants permission to delete StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"CreateSystem","description":"Grants permission to create System","isDeprecated":false,"deprecationReason":null},{"name":"ReadSystem","description":"Grants permission to read System","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSystem","description":"Grants permission to update System","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSystem","description":"Grants permission to delete System","isDeprecated":false,"deprecationReason":null},{"name":"CreateZone","description":"Grants permission to create Zone","isDeprecated":false,"deprecationReason":null},{"name":"ReadZone","description":"Grants permission to read Zone","isDeprecated":false,"deprecationReason":null},{"name":"UpdateZone","description":"Grants permission to update Zone","isDeprecated":false,"deprecationReason":null},{"name":"DeleteZone","description":"Grants permission to delete Zone","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ErrorCode","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UNKNOWN_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NATIVE_AUTH_STRATEGY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVALID_CREDENTIALS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMAIL_ADDRESS_CONFLICT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"GUEST_CHECKOUT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_LIMIT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NEGATIVE_QUANTITY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INSUFFICIENT_STOCK_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_LIMIT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFICATION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INELIGIBLE_SHIPPING_METHOD_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NO_ACTIVE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_PAYMENT_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INELIGIBLE_PAYMENT_METHOD_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_FAILED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_DECLINED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALREADY_LOGGED_IN_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MISSING_PASSWORD_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PASSWORD_VALIDATION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PASSWORD_ALREADY_SET_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VERIFICATION_TOKEN_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VERIFICATION_TOKEN_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PASSWORD_RESET_TOKEN_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PASSWORD_RESET_TOKEN_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NOT_VERIFIED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"LogicalOperator","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","description":"Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InvalidCredentialsError","description":"Returned if the user authentication credentials are not valid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderStateTransitionError","description":"Returned if there is an error in transitioning the Order state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmailAddressConflictError","description":"Returned when attempting to create a Customer with an email address already registered to an existing User.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GuestCheckoutError","description":"Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"errorDetail","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLimitError","description":"Returned when the maximum order size limit has been reached.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NegativeQuantityError","description":"Returned when attempting to set a negative OrderLine quantity.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InsufficientStockError","description":"Returned when attempting to add more items to the Order than are available","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantityAvailable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeLimitError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModificationError","description":"Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","description":"Returned when attempting to set a ShippingMethod for which the Order is not eligible","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NoActiveOrderError","description":"Returned when invoking a mutation which depends on there being an active Order on the\ncurrent session.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"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.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Money","description":"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).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CollectionList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"FacetValueList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"ProductVariantList","ofType":null},{"kind":"OBJECT","name":"PromotionList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"ProvinceList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null},{"kind":"OBJECT","name":"ShippingMethodList","ofType":null},{"kind":"OBJECT","name":"TagList","ofType":null},{"kind":"OBJECT","name":"TaxRateList","ofType":null}]},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Surcharge","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Province","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Seller","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"Tag","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null},{"kind":"OBJECT","name":"GuestCheckoutError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null},{"kind":"OBJECT","name":"OrderPaymentStateError","ofType":null},{"kind":"OBJECT","name":"IneligiblePaymentMethodError","ofType":null},{"kind":"OBJECT","name":"PaymentFailedError","ofType":null},{"kind":"OBJECT","name":"PaymentDeclinedError","ofType":null},{"kind":"OBJECT","name":"AlreadyLoggedInError","ofType":null},{"kind":"OBJECT","name":"MissingPasswordError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"PasswordAlreadySetError","ofType":null},{"kind":"OBJECT","name":"VerificationTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"VerificationTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"IdentifierChangeTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"IdentifierChangeTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"PasswordResetTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"PasswordResetTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"NotVerifiedError","ofType":null}]},{"kind":"OBJECT","name":"Adjustment","description":null,"fields":[{"name":"adjustmentSource","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxLine","description":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArg","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArgDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperation","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArg","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperationDefinition","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArgDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DeletionResponse","description":null,"fields":[{"name":"result","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DeletionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigArgInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"A JSON stringified representation of the actual value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"arguments","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigArgInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":"Operators for filtering on a String field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notEq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notContains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notIn","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"regex","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"IDOperators","description":"Operators for filtering on an ID field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notEq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notIn","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":"Operators for filtering on a Boolean field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberOperators","description":"Operators for filtering on a Int or Float field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":"Operators for filtering on a DateTime field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringListOperators","description":"Operators for filtering on a list of String fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberListOperators","description":"Operators for filtering on a list of Number fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanListOperators","description":"Operators for filtering on a list of Boolean fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"IDListOperators","description":"Operators for filtering on a list of ID fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateListOperators","description":"Operators for filtering on a list of Date fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueFilterInput","description":"Used to construct boolean expressions for filtering search results\nby FacetValue ID. Examples:\n\n* ID=1 OR ID=2: `{ facetValueFilters: [{ or: [1,2] }] }`\n* ID=1 AND ID=2: `{ facetValueFilters: [{ and: 1 }, { and: 2 }] }`\n* ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }`","fields":null,"inputFields":[{"name":"and","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SearchInput","description":null,"fields":null,"inputFields":[{"name":"term","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use `facetValueFilters` instead"},{"name":"facetValueOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use `facetValueFilters` instead"},{"name":"facetValueFilters","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"collectionId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"collectionSlug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"groupByProduct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAddressInput","description":"Input used to create an Address.\n\nThe countryCode must correspond to a `code` property of a Country that has been defined in the\nVendure server. The `code` property is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc.\nIf an invalid code is passed, the mutation will fail.","fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","description":"Input used to update an Address.\n\nThe countryCode must correspond to a `code` property of a Country that has been defined in the\nVendure server. The `code` property is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc.\nIf an invalid code is passed, the mutation will fail.","fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Success","description":"Indicates that an operation succeeded, where we do not want to return any more specific information.","fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodQuote","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":"Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult","args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodQuote","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isEligible","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eligibilityMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"UpdateOrderItemsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null}]},{"kind":"UNION","name":"RemoveOrderItemsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null}]},{"kind":"UNION","name":"SetOrderShippingMethodResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null}]},{"kind":"UNION","name":"ApplyCouponCodeResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null}]},{"kind":"ENUM","name":"CurrencyCode","description":"@description\nISO 4217 currency code\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AED","description":"United Arab Emirates dirham","isDeprecated":false,"deprecationReason":null},{"name":"AFN","description":"Afghan afghani","isDeprecated":false,"deprecationReason":null},{"name":"ALL","description":"Albanian lek","isDeprecated":false,"deprecationReason":null},{"name":"AMD","description":"Armenian dram","isDeprecated":false,"deprecationReason":null},{"name":"ANG","description":"Netherlands Antillean guilder","isDeprecated":false,"deprecationReason":null},{"name":"AOA","description":"Angolan kwanza","isDeprecated":false,"deprecationReason":null},{"name":"ARS","description":"Argentine peso","isDeprecated":false,"deprecationReason":null},{"name":"AUD","description":"Australian dollar","isDeprecated":false,"deprecationReason":null},{"name":"AWG","description":"Aruban florin","isDeprecated":false,"deprecationReason":null},{"name":"AZN","description":"Azerbaijani manat","isDeprecated":false,"deprecationReason":null},{"name":"BAM","description":"Bosnia and Herzegovina convertible mark","isDeprecated":false,"deprecationReason":null},{"name":"BBD","description":"Barbados dollar","isDeprecated":false,"deprecationReason":null},{"name":"BDT","description":"Bangladeshi taka","isDeprecated":false,"deprecationReason":null},{"name":"BGN","description":"Bulgarian lev","isDeprecated":false,"deprecationReason":null},{"name":"BHD","description":"Bahraini dinar","isDeprecated":false,"deprecationReason":null},{"name":"BIF","description":"Burundian franc","isDeprecated":false,"deprecationReason":null},{"name":"BMD","description":"Bermudian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BND","description":"Brunei dollar","isDeprecated":false,"deprecationReason":null},{"name":"BOB","description":"Boliviano","isDeprecated":false,"deprecationReason":null},{"name":"BRL","description":"Brazilian real","isDeprecated":false,"deprecationReason":null},{"name":"BSD","description":"Bahamian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BTN","description":"Bhutanese ngultrum","isDeprecated":false,"deprecationReason":null},{"name":"BWP","description":"Botswana pula","isDeprecated":false,"deprecationReason":null},{"name":"BYN","description":"Belarusian ruble","isDeprecated":false,"deprecationReason":null},{"name":"BZD","description":"Belize dollar","isDeprecated":false,"deprecationReason":null},{"name":"CAD","description":"Canadian dollar","isDeprecated":false,"deprecationReason":null},{"name":"CDF","description":"Congolese franc","isDeprecated":false,"deprecationReason":null},{"name":"CHF","description":"Swiss franc","isDeprecated":false,"deprecationReason":null},{"name":"CLP","description":"Chilean peso","isDeprecated":false,"deprecationReason":null},{"name":"CNY","description":"Renminbi (Chinese) yuan","isDeprecated":false,"deprecationReason":null},{"name":"COP","description":"Colombian peso","isDeprecated":false,"deprecationReason":null},{"name":"CRC","description":"Costa Rican colon","isDeprecated":false,"deprecationReason":null},{"name":"CUC","description":"Cuban convertible peso","isDeprecated":false,"deprecationReason":null},{"name":"CUP","description":"Cuban peso","isDeprecated":false,"deprecationReason":null},{"name":"CVE","description":"Cape Verde escudo","isDeprecated":false,"deprecationReason":null},{"name":"CZK","description":"Czech koruna","isDeprecated":false,"deprecationReason":null},{"name":"DJF","description":"Djiboutian franc","isDeprecated":false,"deprecationReason":null},{"name":"DKK","description":"Danish krone","isDeprecated":false,"deprecationReason":null},{"name":"DOP","description":"Dominican peso","isDeprecated":false,"deprecationReason":null},{"name":"DZD","description":"Algerian dinar","isDeprecated":false,"deprecationReason":null},{"name":"EGP","description":"Egyptian pound","isDeprecated":false,"deprecationReason":null},{"name":"ERN","description":"Eritrean nakfa","isDeprecated":false,"deprecationReason":null},{"name":"ETB","description":"Ethiopian birr","isDeprecated":false,"deprecationReason":null},{"name":"EUR","description":"Euro","isDeprecated":false,"deprecationReason":null},{"name":"FJD","description":"Fiji dollar","isDeprecated":false,"deprecationReason":null},{"name":"FKP","description":"Falkland Islands pound","isDeprecated":false,"deprecationReason":null},{"name":"GBP","description":"Pound sterling","isDeprecated":false,"deprecationReason":null},{"name":"GEL","description":"Georgian lari","isDeprecated":false,"deprecationReason":null},{"name":"GHS","description":"Ghanaian cedi","isDeprecated":false,"deprecationReason":null},{"name":"GIP","description":"Gibraltar pound","isDeprecated":false,"deprecationReason":null},{"name":"GMD","description":"Gambian dalasi","isDeprecated":false,"deprecationReason":null},{"name":"GNF","description":"Guinean franc","isDeprecated":false,"deprecationReason":null},{"name":"GTQ","description":"Guatemalan quetzal","isDeprecated":false,"deprecationReason":null},{"name":"GYD","description":"Guyanese dollar","isDeprecated":false,"deprecationReason":null},{"name":"HKD","description":"Hong Kong dollar","isDeprecated":false,"deprecationReason":null},{"name":"HNL","description":"Honduran lempira","isDeprecated":false,"deprecationReason":null},{"name":"HRK","description":"Croatian kuna","isDeprecated":false,"deprecationReason":null},{"name":"HTG","description":"Haitian gourde","isDeprecated":false,"deprecationReason":null},{"name":"HUF","description":"Hungarian forint","isDeprecated":false,"deprecationReason":null},{"name":"IDR","description":"Indonesian rupiah","isDeprecated":false,"deprecationReason":null},{"name":"ILS","description":"Israeli new shekel","isDeprecated":false,"deprecationReason":null},{"name":"INR","description":"Indian rupee","isDeprecated":false,"deprecationReason":null},{"name":"IQD","description":"Iraqi dinar","isDeprecated":false,"deprecationReason":null},{"name":"IRR","description":"Iranian rial","isDeprecated":false,"deprecationReason":null},{"name":"ISK","description":"Icelandic króna","isDeprecated":false,"deprecationReason":null},{"name":"JMD","description":"Jamaican dollar","isDeprecated":false,"deprecationReason":null},{"name":"JOD","description":"Jordanian dinar","isDeprecated":false,"deprecationReason":null},{"name":"JPY","description":"Japanese yen","isDeprecated":false,"deprecationReason":null},{"name":"KES","description":"Kenyan shilling","isDeprecated":false,"deprecationReason":null},{"name":"KGS","description":"Kyrgyzstani som","isDeprecated":false,"deprecationReason":null},{"name":"KHR","description":"Cambodian riel","isDeprecated":false,"deprecationReason":null},{"name":"KMF","description":"Comoro franc","isDeprecated":false,"deprecationReason":null},{"name":"KPW","description":"North Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KRW","description":"South Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KWD","description":"Kuwaiti dinar","isDeprecated":false,"deprecationReason":null},{"name":"KYD","description":"Cayman Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"KZT","description":"Kazakhstani tenge","isDeprecated":false,"deprecationReason":null},{"name":"LAK","description":"Lao kip","isDeprecated":false,"deprecationReason":null},{"name":"LBP","description":"Lebanese pound","isDeprecated":false,"deprecationReason":null},{"name":"LKR","description":"Sri Lankan rupee","isDeprecated":false,"deprecationReason":null},{"name":"LRD","description":"Liberian dollar","isDeprecated":false,"deprecationReason":null},{"name":"LSL","description":"Lesotho loti","isDeprecated":false,"deprecationReason":null},{"name":"LYD","description":"Libyan dinar","isDeprecated":false,"deprecationReason":null},{"name":"MAD","description":"Moroccan dirham","isDeprecated":false,"deprecationReason":null},{"name":"MDL","description":"Moldovan leu","isDeprecated":false,"deprecationReason":null},{"name":"MGA","description":"Malagasy ariary","isDeprecated":false,"deprecationReason":null},{"name":"MKD","description":"Macedonian denar","isDeprecated":false,"deprecationReason":null},{"name":"MMK","description":"Myanmar kyat","isDeprecated":false,"deprecationReason":null},{"name":"MNT","description":"Mongolian tögrög","isDeprecated":false,"deprecationReason":null},{"name":"MOP","description":"Macanese pataca","isDeprecated":false,"deprecationReason":null},{"name":"MRU","description":"Mauritanian ouguiya","isDeprecated":false,"deprecationReason":null},{"name":"MUR","description":"Mauritian rupee","isDeprecated":false,"deprecationReason":null},{"name":"MVR","description":"Maldivian rufiyaa","isDeprecated":false,"deprecationReason":null},{"name":"MWK","description":"Malawian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"MXN","description":"Mexican peso","isDeprecated":false,"deprecationReason":null},{"name":"MYR","description":"Malaysian ringgit","isDeprecated":false,"deprecationReason":null},{"name":"MZN","description":"Mozambican metical","isDeprecated":false,"deprecationReason":null},{"name":"NAD","description":"Namibian dollar","isDeprecated":false,"deprecationReason":null},{"name":"NGN","description":"Nigerian naira","isDeprecated":false,"deprecationReason":null},{"name":"NIO","description":"Nicaraguan córdoba","isDeprecated":false,"deprecationReason":null},{"name":"NOK","description":"Norwegian krone","isDeprecated":false,"deprecationReason":null},{"name":"NPR","description":"Nepalese rupee","isDeprecated":false,"deprecationReason":null},{"name":"NZD","description":"New Zealand dollar","isDeprecated":false,"deprecationReason":null},{"name":"OMR","description":"Omani rial","isDeprecated":false,"deprecationReason":null},{"name":"PAB","description":"Panamanian balboa","isDeprecated":false,"deprecationReason":null},{"name":"PEN","description":"Peruvian sol","isDeprecated":false,"deprecationReason":null},{"name":"PGK","description":"Papua New Guinean kina","isDeprecated":false,"deprecationReason":null},{"name":"PHP","description":"Philippine peso","isDeprecated":false,"deprecationReason":null},{"name":"PKR","description":"Pakistani rupee","isDeprecated":false,"deprecationReason":null},{"name":"PLN","description":"Polish złoty","isDeprecated":false,"deprecationReason":null},{"name":"PYG","description":"Paraguayan guaraní","isDeprecated":false,"deprecationReason":null},{"name":"QAR","description":"Qatari riyal","isDeprecated":false,"deprecationReason":null},{"name":"RON","description":"Romanian leu","isDeprecated":false,"deprecationReason":null},{"name":"RSD","description":"Serbian dinar","isDeprecated":false,"deprecationReason":null},{"name":"RUB","description":"Russian ruble","isDeprecated":false,"deprecationReason":null},{"name":"RWF","description":"Rwandan franc","isDeprecated":false,"deprecationReason":null},{"name":"SAR","description":"Saudi riyal","isDeprecated":false,"deprecationReason":null},{"name":"SBD","description":"Solomon Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"SCR","description":"Seychelles rupee","isDeprecated":false,"deprecationReason":null},{"name":"SDG","description":"Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"SEK","description":"Swedish krona/kronor","isDeprecated":false,"deprecationReason":null},{"name":"SGD","description":"Singapore dollar","isDeprecated":false,"deprecationReason":null},{"name":"SHP","description":"Saint Helena pound","isDeprecated":false,"deprecationReason":null},{"name":"SLL","description":"Sierra Leonean leone","isDeprecated":false,"deprecationReason":null},{"name":"SOS","description":"Somali shilling","isDeprecated":false,"deprecationReason":null},{"name":"SRD","description":"Surinamese dollar","isDeprecated":false,"deprecationReason":null},{"name":"SSP","description":"South Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"STN","description":"São Tomé and Príncipe dobra","isDeprecated":false,"deprecationReason":null},{"name":"SVC","description":"Salvadoran colón","isDeprecated":false,"deprecationReason":null},{"name":"SYP","description":"Syrian pound","isDeprecated":false,"deprecationReason":null},{"name":"SZL","description":"Swazi lilangeni","isDeprecated":false,"deprecationReason":null},{"name":"THB","description":"Thai baht","isDeprecated":false,"deprecationReason":null},{"name":"TJS","description":"Tajikistani somoni","isDeprecated":false,"deprecationReason":null},{"name":"TMT","description":"Turkmenistan manat","isDeprecated":false,"deprecationReason":null},{"name":"TND","description":"Tunisian dinar","isDeprecated":false,"deprecationReason":null},{"name":"TOP","description":"Tongan paʻanga","isDeprecated":false,"deprecationReason":null},{"name":"TRY","description":"Turkish lira","isDeprecated":false,"deprecationReason":null},{"name":"TTD","description":"Trinidad and Tobago dollar","isDeprecated":false,"deprecationReason":null},{"name":"TWD","description":"New Taiwan dollar","isDeprecated":false,"deprecationReason":null},{"name":"TZS","description":"Tanzanian shilling","isDeprecated":false,"deprecationReason":null},{"name":"UAH","description":"Ukrainian hryvnia","isDeprecated":false,"deprecationReason":null},{"name":"UGX","description":"Ugandan shilling","isDeprecated":false,"deprecationReason":null},{"name":"USD","description":"United States dollar","isDeprecated":false,"deprecationReason":null},{"name":"UYU","description":"Uruguayan peso","isDeprecated":false,"deprecationReason":null},{"name":"UZS","description":"Uzbekistan som","isDeprecated":false,"deprecationReason":null},{"name":"VES","description":"Venezuelan bolívar soberano","isDeprecated":false,"deprecationReason":null},{"name":"VND","description":"Vietnamese đồng","isDeprecated":false,"deprecationReason":null},{"name":"VUV","description":"Vanuatu vatu","isDeprecated":false,"deprecationReason":null},{"name":"WST","description":"Samoan tala","isDeprecated":false,"deprecationReason":null},{"name":"XAF","description":"CFA franc BEAC","isDeprecated":false,"deprecationReason":null},{"name":"XCD","description":"East Caribbean dollar","isDeprecated":false,"deprecationReason":null},{"name":"XOF","description":"CFA franc BCEAO","isDeprecated":false,"deprecationReason":null},{"name":"XPF","description":"CFP franc (franc Pacifique)","isDeprecated":false,"deprecationReason":null},{"name":"YER","description":"Yemeni rial","isDeprecated":false,"deprecationReason":null},{"name":"ZAR","description":"South African rand","isDeprecated":false,"deprecationReason":null},{"name":"ZMW","description":"Zambian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"ZWL","description":"Zimbabwean dollar","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"CustomField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"StructCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StringCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringFieldOption","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StringFieldOption","description":null,"fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","description":"Expects the same validation formats as the `` HTML element.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"entity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"scalarFields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"StructField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextStructFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StringStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringFieldOption","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IntStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","description":"Expects the same validation formats as the `` HTML element.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TextStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"StructFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextStructFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StructCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"StructFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocalizedString","description":null,"fields":[{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CustomFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"StructCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customers","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addresses","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValue","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"valueList","description":"Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0.","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"FacetValueSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"HistoryEntry","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"HistoryEntryType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"JSON","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"HistoryEntryType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CUSTOMER_REGISTERED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_DETAIL_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDED_TO_GROUP","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_REMOVED_FROM_GROUP","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_CREATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_DELETED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_RESET_REQUESTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_RESET_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_EMAIL_UPDATE_REQUESTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_EMAIL_UPDATE_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_NOTE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_PAYMENT_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_FULFILLMENT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_CANCELLATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_REFUND_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_FULFILLMENT_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_NOTE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_COUPON_APPLIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_COUPON_REMOVED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_CUSTOMER_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"HistoryEntryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntry","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"LanguageCode","description":"@description\nLanguages in the form of a ISO 639-1 language code with optional\nregion or script modifier (e.g. de_AT). The selection available is based\non the [Unicode CLDR summary list](https://unicode-org.github.io/cldr-staging/charts/37/summary/root.html)\nand includes the major spoken languages of the world and any widely-used variants.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"af","description":"Afrikaans","isDeprecated":false,"deprecationReason":null},{"name":"ak","description":"Akan","isDeprecated":false,"deprecationReason":null},{"name":"sq","description":"Albanian","isDeprecated":false,"deprecationReason":null},{"name":"am","description":"Amharic","isDeprecated":false,"deprecationReason":null},{"name":"ar","description":"Arabic","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bangla","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bs","description":"Bosnian","isDeprecated":false,"deprecationReason":null},{"name":"br","description":"Breton","isDeprecated":false,"deprecationReason":null},{"name":"bg","description":"Bulgarian","isDeprecated":false,"deprecationReason":null},{"name":"my","description":"Burmese","isDeprecated":false,"deprecationReason":null},{"name":"ca","description":"Catalan","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"zh_Hans","description":"Simplified Chinese","isDeprecated":false,"deprecationReason":null},{"name":"zh_Hant","description":"Traditional Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch","isDeprecated":false,"deprecationReason":null},{"name":"nl_BE","description":"Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"English","isDeprecated":false,"deprecationReason":null},{"name":"en_AU","description":"Australian English","isDeprecated":false,"deprecationReason":null},{"name":"en_CA","description":"Canadian English","isDeprecated":false,"deprecationReason":null},{"name":"en_GB","description":"British English","isDeprecated":false,"deprecationReason":null},{"name":"en_US","description":"American English","isDeprecated":false,"deprecationReason":null},{"name":"eo","description":"Esperanto","isDeprecated":false,"deprecationReason":null},{"name":"et","description":"Estonian","isDeprecated":false,"deprecationReason":null},{"name":"ee","description":"Ewe","isDeprecated":false,"deprecationReason":null},{"name":"fo","description":"Faroese","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fr_CA","description":"Canadian French","isDeprecated":false,"deprecationReason":null},{"name":"fr_CH","description":"Swiss French","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"de_AT","description":"Austrian German","isDeprecated":false,"deprecationReason":null},{"name":"de_CH","description":"Swiss High German","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"lo","description":"Lao","isDeprecated":false,"deprecationReason":null},{"name":"la","description":"Latin","isDeprecated":false,"deprecationReason":null},{"name":"lv","description":"Latvian","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Odia","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pashto","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"fa_AF","description":"Dari","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pt_BR","description":"Brazilian Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pt_PT","description":"European Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian","isDeprecated":false,"deprecationReason":null},{"name":"ro_MD","description":"Moldavian","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Southern Sotho","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish","isDeprecated":false,"deprecationReason":null},{"name":"es_ES","description":"European Spanish","isDeprecated":false,"deprecationReason":null},{"name":"es_MX","description":"Mexican Spanish","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sw_CD","description":"Congo Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"ta","description":"Tamil","isDeprecated":false,"deprecationReason":null},{"name":"tt","description":"Tatar","isDeprecated":false,"deprecationReason":null},{"name":"te","description":"Telugu","isDeprecated":false,"deprecationReason":null},{"name":"th","description":"Thai","isDeprecated":false,"deprecationReason":null},{"name":"bo","description":"Tibetan","isDeprecated":false,"deprecationReason":null},{"name":"ti","description":"Tigrinya","isDeprecated":false,"deprecationReason":null},{"name":"to","description":"Tongan","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"vi","description":"Vietnamese","isDeprecated":false,"deprecationReason":null},{"name":"vo","description":"Volapük","isDeprecated":false,"deprecationReason":null},{"name":"cy","description":"Welsh","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"wo","description":"Wolof","isDeprecated":false,"deprecationReason":null},{"name":"xh","description":"Xhosa","isDeprecated":false,"deprecationReason":null},{"name":"yi","description":"Yiddish","isDeprecated":false,"deprecationReason":null},{"name":"yo","description":"Yoruba","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"OrderType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Regular","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"Seller","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"Aggregate","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Order","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"OrderType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":"The date & time that the Order was placed, i.e. the Customer\ncompleted the checkout and the Order is no longer \"active\"","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"A unique code for the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"active","description":"An order is active as long as the payment process has not been completed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"billingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"surcharges","description":"Surcharges are arbitrary modifications to the Order total which are neither\nProductVariants nor discounts resulting from applied Promotions. For example,\none-off discounts based on customer interaction, or surcharges based on payment\nmethods.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Surcharge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","description":"An array of all coupon codes applied to the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"promotions","description":"Promotions applied to the order. Only gets populated after the payment process has completed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"payments","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillments","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":"The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level\ndiscounts which have been prorated (proportionally distributed) amongst the items of each OrderLine.\nTo get a total of all OrderLines which does not account for prorated discounts, use the\nsum of `OrderLine.discountedLinePrice` values.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":"Same as subTotal, but inclusive of tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":"Equal to subTotal plus shipping","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":"The final payable amount. Equal to subTotalWithTax plus shippingWithTax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxSummary","description":"A summary of the taxes being applied to this Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderTaxSummary","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"history","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderTaxSummary","description":"A summary of the taxes being applied to this order, grouped\nby taxRate.","fields":[{"name":"description","description":"A description of this tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":"The taxRate as a percentage","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxBase","description":"The total net price of OrderLines to which this taxRate applies","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxTotal","description":"The total tax being applied to the Order at this taxRate","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderAddress","description":null,"fields":[{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingLine","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Discount","description":null,"fields":[{"name":"adjustmentSource","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLine","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":"The price of a single unit, excluding tax and discounts","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":"The price of a single unit, including tax but excluding discounts","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceChangeSinceAdded","description":"Non-zero if the unitPrice has changed since it was initially added to Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTaxChangeSinceAdded","description":"Non-zero if the unitPriceWithTax has changed since it was initially added to Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedUnitPrice","description":"The price of a single unit including discounts, excluding tax.\n\nIf Order-level discounts have been applied, this will not be the\nactual taxable unit price (see `proratedUnitPrice`), but is generally the\ncorrect price to display to customers to avoid confusion\nabout the internal handling of distributed Order-level discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedUnitPriceWithTax","description":"The price of a single unit including discounts and tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedUnitPrice","description":"The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)\nOrder-level discounts. This value is the true economic value of the OrderItem, and is used in tax\nand refund calculations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedUnitPriceWithTax","description":"The proratedUnitPrice including tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of items purchased","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedQuantity","description":"The quantity at the time the Order was placed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePrice","description":"The total price of the line excluding tax and discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePriceWithTax","description":"The total price of the line including tax but excluding discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedLinePrice","description":"The price of the line including discounts, excluding tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedLinePriceWithTax","description":"The price of the line including discounts and tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedLinePrice","description":"The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed)\nOrder-level discounts. This value is the true economic value of the OrderLine, and is used in tax\nand refund calculations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedLinePriceWithTax","description":"The proratedLinePrice including tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lineTax","description":"The total tax on this line","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"taxLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentLines","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Payment","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errorMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refunds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refund","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Refund","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RefundLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Fulfillment","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"summary","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use the `lines` field instead"},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Surcharge","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroupTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroupTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOption","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"groupId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"group","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchReindexResponse","description":null,"fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResponse","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueResult","description":"Which FacetValues are present in the products returned\nby the search, and in what quantity.","fields":[{"name":"facetValue","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionResult","description":"Which Collections are present in the products returned\nby the search, and in what quantity.","fields":[{"name":"collection","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResultAsset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResult","description":null,"fields":[{"name":"sku","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"SearchResultAsset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"SearchResultAsset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultPrice","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultPrice","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetIds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collectionIds","description":"An array of ids of the Collections in which this result appears","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"score","description":"A relevance score for the result. Differs between database implementations","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"SearchResultPrice","description":"The price of a search result product, either as a range or as a single price","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"PriceRange","ofType":null},{"kind":"OBJECT","name":"SinglePrice","ofType":null}]},{"kind":"OBJECT","name":"SinglePrice","description":"The price value where the result has a single price","fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PriceRange","description":"The price range where the result has more than one price","fields":[{"name":"min","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":"Returns all ProductVariants","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variantList","description":"Returns a paginated, sortable, filterable list of ProductVariants","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRateApplied","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"conditions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"actions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PromotionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Region","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Province","ofType":null}]},{"kind":"OBJECT","name":"RegionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":"A Country of the world which your shop operates in.\n\nThe `code` field is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc. This code is used in certain inputs such as\n`UpdateAddressInput` and `CreateAddressInput` to specify the country.","fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Region","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CountryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Province","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Region","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProvinceList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Province","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Seller","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Tag","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TagList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxCategory","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRate","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"category","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerGroup","description":null,"args":[],"type":{"kind":"OBJECT","name":"CustomerGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verified","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"roles","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"lastLogin","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationMethods","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AuthenticationMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"strategy","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Region","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderPaymentStateError","description":"Returned when attempting to add a Payment to an Order that is not in the `ArrangingPayment` state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IneligiblePaymentMethodError","description":"Returned when attempting to add a Payment using a PaymentMethod for which the Order is not eligible.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eligibilityCheckerMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentFailedError","description":"Returned when a Payment fails due to an error.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentDeclinedError","description":"Returned when a Payment is declined by the payment provider.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AlreadyLoggedInError","description":"Returned when attempting to set the Customer for an Order when already logged in.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MissingPasswordError","description":"Returned when attempting to register or verify a customer account without a password, when one is required.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PasswordValidationError","description":"Returned when attempting to register or verify a customer account where the given password fails password validation.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"validationErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PasswordAlreadySetError","description":"Returned when attempting to verify a customer account with a password, when a password has already been set.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VerificationTokenInvalidError","description":"Returned if the verification token (used to verify a Customer's email address) is either\ninvalid or does not match any expected tokens.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VerificationTokenExpiredError","description":"Returned if the verification token (used to verify a Customer's email address) is valid, but has\nexpired according to the `verificationTokenDuration` setting in the AuthOptions.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IdentifierChangeTokenInvalidError","description":"Returned if the token used to change a Customer's email address is either\ninvalid or does not match any expected tokens.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IdentifierChangeTokenExpiredError","description":"Returned if the token used to change a Customer's email address is valid, but has\nexpired according to the `verificationTokenDuration` setting in the AuthOptions.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PasswordResetTokenInvalidError","description":"Returned if the token used to reset a Customer's password is either\ninvalid or does not match any expected tokens.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PasswordResetTokenExpiredError","description":"Returned if the token used to reset a Customer's password is valid, but has\nexpired according to the `verificationTokenDuration` setting in the AuthOptions.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NotVerifiedError","description":"Returned if `authOptions.requireVerification` is set to `true` (which is the default)\nand an unverified user attempts to authenticate.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AuthenticationInput","description":null,"fields":null,"inputFields":[{"name":"native","description":null,"type":{"kind":"INPUT_OBJECT","name":"NativeAuthInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RegisterCustomerInput","description":null,"fields":null,"inputFields":[{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","description":null,"fields":null,"inputFields":[{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentInput","description":"Passed as input to the `addPaymentToOrder` mutation.","fields":null,"inputFields":[{"name":"method","description":"This field should correspond to the `code` property of a PaymentMethod.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":"This field should contain arbitrary data passed to the specified PaymentMethodHandler's `createPayment()` method\nas the \"metadata\" argument. For example, it could contain an ID for the payment and other\ndata generated by the payment provider.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"JSON","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionListOptions","description":null,"fields":null,"inputFields":[{"name":"topLevelOnly","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"FacetSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"OrderSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProductSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"AddPaymentToOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderPaymentStateError","ofType":null},{"kind":"OBJECT","name":"IneligiblePaymentMethodError","ofType":null},{"kind":"OBJECT","name":"PaymentFailedError","ofType":null},{"kind":"OBJECT","name":"PaymentDeclinedError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null}]},{"kind":"UNION","name":"TransitionOrderToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"SetCustomerForOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"AlreadyLoggedInError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null},{"kind":"OBJECT","name":"GuestCheckoutError","ofType":null}]},{"kind":"UNION","name":"RegisterCustomerAccountResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"MissingPasswordError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"RefreshCustomerVerificationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"VerifyCustomerAccountResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"VerificationTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"VerificationTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"MissingPasswordError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"PasswordAlreadySetError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"UpdateCustomerPasswordResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"RequestUpdateCustomerEmailAddressResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"UpdateCustomerEmailAddressResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"IdentifierChangeTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"IdentifierChangeTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"RequestPasswordResetResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"ResetPasswordResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"PasswordResetTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"PasswordResetTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null},{"kind":"OBJECT","name":"NotVerifiedError","ofType":null}]},{"kind":"UNION","name":"NativeAuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"NotVerifiedError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"AuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"NotVerifiedError","ofType":null}]},{"kind":"UNION","name":"ActiveOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"active","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NativeAuthInput","description":null,"fields":null,"inputFields":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByURL","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isOneOf","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null}],"directives":[{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\"","isDeprecated":false,"deprecationReason":null}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behavior of this scalar.","locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behavior of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"oneOf","description":"Indicates exactly one field must be supplied and this field must not be `null`.","locations":["INPUT_OBJECT"],"args":[]}]}}} +{"data":{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"Query","description":null,"fields":[{"name":"activeChannel","description":"The active Channel","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"activeCustomer","description":"The active Customer","args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"activeOrder","description":"The active Order. Will be `null` until an Order is created via `addItemToOrder`. Once an Order reaches the\nstate of `PaymentAuthorized` or `PaymentSettled`, then that Order is no longer considered \"active\" and this\nquery will once again return `null`.","args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"availableCountries","description":"An array of supported Countries","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":"A list of Collections available to the shop","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"collection","description":"Returns a Collection either by its id or slug. If neither 'id' nor 'slug' is specified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"eligibleShippingMethods","description":"Returns a list of eligible shipping methods based on the current active Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodQuote","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"eligiblePaymentMethods","description":"Returns a list of payment methods and their eligibility based on the current active Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethodQuote","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facets","description":"A list of Facets available to the shop","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":"Returns a Facet by its id","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Facet","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"me","description":"Returns information about the current authenticated User","args":[],"type":{"kind":"OBJECT","name":"CurrentUser","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nextOrderStates","description":"Returns the possible next states that the activeOrder can transition to","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":"Returns an Order based on the id. Note that in the Shop API, only orders belonging to the\ncurrently-authenticated User may be queried.","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"orderByCode","description":"Returns an Order based on the order `code`. For guest Orders (i.e. Orders placed by non-authenticated Customers)\nthis query will only return the Order within 2 hours of the Order being placed. This allows an Order confirmation\nscreen to be shown immediately after completion of a guest checkout, yet prevents security risks of allowing\ngeneral anonymous access to Order data.","args":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":"Get a Product either by id or slug. If neither 'id' nor 'slug' is specified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Product","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":"Get a list of Products","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"search","description":"Search Products based on the criteria set by the `SearchInput`","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SearchInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"fields":[{"name":"addItemToOrder","description":"Adds an item to the Order. If custom fields are defined on the OrderLine entity, a third argument 'customFields' will be available.","args":[{"name":"productVariantId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeOrderLine","description":"Remove an OrderLine from the Order","args":[{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeAllOrderLines","description":"Remove all OrderLine from the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RemoveOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustOrderLine","description":"Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available.","args":[{"name":"orderLineId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateOrderItemsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"applyCouponCode","description":"Applies the given coupon code to the active Order","args":[{"name":"couponCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ApplyCouponCodeResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"removeCouponCode","description":"Removes the given coupon code from the active Order","args":[{"name":"couponCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"transitionOrderToState","description":"Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates`","args":[{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"UNION","name":"TransitionOrderToStateResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderShippingAddress","description":"Sets the shipping address for the active Order","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ActiveOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderBillingAddress","description":"Sets the billing address for the active Order","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ActiveOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unsetOrderShippingAddress","description":"Unsets the shipping address for the active Order. Available since version 3.1.0","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ActiveOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unsetOrderBillingAddress","description":"Unsets the billing address for the active Order. Available since version 3.1.0","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ActiveOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderCustomFields","description":"Allows any custom fields to be set for the active Order","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ActiveOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderShippingMethod","description":"Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query.\nAn Order can have multiple shipping methods, in which case you can pass an array of ids. In this case,\nyou should configure a custom ShippingLineAssignmentStrategy in order to know which OrderLines each\nshipping method will apply to.","args":[{"name":"shippingMethodId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SetOrderShippingMethodResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addPaymentToOrder","description":"Add a Payment to the Order","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"PaymentInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AddPaymentToOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"setCustomerForOrder","description":"Set the Customer for the Order. Required only if the Customer is not currently logged in","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SetCustomerForOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":"Authenticates the user using the native authentication strategy. This mutation is an alias for authenticate({ native: { ... }})\n\nThe `rememberMe` option applies when using cookie-based sessions, and if `true` it will set the maxAge of the session cookie\nto 1 year.","args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"NativeAuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticate","description":"Authenticates the user using a named authentication strategy","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AuthenticationInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":"End the current authenticated session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"registerCustomerAccount","description":"Register a Customer account with the given credentials. There are three possible registration flows:\n\n_If `authOptions.requireVerification` is set to `true`:_\n\n1. **The Customer is registered _with_ a password**. A verificationToken will be created (and typically emailed to the Customer). That\n verificationToken would then be passed to the `verifyCustomerAccount` mutation _without_ a password. The Customer is then\n verified and authenticated in one step.\n2. **The Customer is registered _without_ a password**. A verificationToken will be created (and typically emailed to the Customer). That\n verificationToken would then be passed to the `verifyCustomerAccount` mutation _with_ the chosen password of the Customer. The Customer is then\n verified and authenticated in one step.\n\n_If `authOptions.requireVerification` is set to `false`:_\n\n3. The Customer _must_ be registered _with_ a password. No further action is needed - the Customer is able to authenticate immediately.","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RegisterCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RegisterCustomerAccountResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refreshCustomerVerification","description":"Regenerate and send a verification token for a new Customer registration. Only applicable if `authOptions.requireVerification` is set to true.","args":[{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RefreshCustomerVerificationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomer","description":"Update an existing Customer","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createCustomerAddress","description":"Create a new Customer Address","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerAddress","description":"Update an existing Address","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomerAddress","description":"Delete an existing Address","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verifyCustomerAccount","description":"Verify a Customer email address with the token sent to that address. Only applicable if `authOptions.requireVerification` is set to true.\n\nIf the Customer was not registered with a password in the `registerCustomerAccount` mutation, the password _must_ be\nprovided here.","args":[{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"VerifyCustomerAccountResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerPassword","description":"Update the password of the active Customer","args":[{"name":"currentPassword","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"newPassword","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateCustomerPasswordResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"requestUpdateCustomerEmailAddress","description":"Request to update the emailAddress of the active Customer. If `authOptions.requireVerification` is enabled\n(as is the default), then the `identifierChangeToken` will be assigned to the current User and\na IdentifierChangeRequestEvent will be raised. This can then be used e.g. by the EmailPlugin to email\nthat verification token to the Customer, which is then used to verify the change of email address.","args":[{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"newEmailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RequestUpdateCustomerEmailAddressResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomerEmailAddress","description":"Confirm the update of the emailAddress with the provided token, which has been generated by the\n`requestUpdateCustomerEmailAddress` mutation.","args":[{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateCustomerEmailAddressResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"requestPasswordReset","description":"Requests a password reset email to be sent","args":[{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"UNION","name":"RequestPasswordResetResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"resetPassword","description":"Resets a Customer's password based on the provided token","args":[{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"ResetPasswordResult","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Asset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AssetType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileSize","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"width","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"height","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"source","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"tags","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Coordinate","description":null,"fields":[{"name":"x","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"y","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUser","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUserChannel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUserChannel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguageCodes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":true,"deprecationReason":"Use defaultCurrencyCode instead"},{"name":"defaultCurrencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableCurrencyCodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":"Not yet used - will be implemented in a future release.","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":"Not yet used - will be implemented in a future release.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pricesIncludeTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"seller","description":null,"args":[],"type":{"kind":"OBJECT","name":"Seller","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Collection","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"breadcrumbs","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionBreadcrumb","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"OBJECT","name":"Collection","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"children","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"filters","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariants","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionBreadcrumb","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"GlobalFlag","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TRUE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FALSE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INHERIT","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DISTRIBUTED_ORDER_PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OTHER","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"DeletionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"DELETED","description":"The entity was successfully deleted","isDeprecated":false,"deprecationReason":null},{"name":"NOT_DELETED","description":"Deletion did not take place, reason given in message","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":"@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n## Understanding Permission.Owner\n\n`Permission.Owner` is a special permission which is used in some Vendure resolvers to indicate that that resolver should only\nbe accessible to the \"owner\" of that resource.\n\nFor example, the Shop API `activeCustomer` query resolver should only return the Customer object for the \"owner\" of that Customer, i.e.\nbased on the activeUserId of the current session. As a result, the resolver code looks like this:\n\n@example\n```TypeScript\n\\@Query()\n\\@Allow(Permission.Owner)\nasync activeCustomer(\\@Ctx() ctx: RequestContext): Promise {\n const userId = ctx.activeUserId;\n if (userId) {\n return this.customerService.findOneByUserId(ctx, userId);\n }\n}\n```\n\nHere we can see that the \"ownership\" must be enforced by custom logic inside the resolver. Since \"ownership\" cannot be defined generally\nnor statically encoded at build-time, any resolvers using `Permission.Owner` **must** include logic to enforce that only the owner\nof the resource has access. If not, then it is the equivalent of using `Permission.Public`.\n\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":"Authenticated means simply that the user is logged in","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":"SuperAdmin has unrestricted access to all operations","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":"Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":"Public means any unauthenticated user may perform the operation","isDeprecated":false,"deprecationReason":null},{"name":"UpdateGlobalSettings","description":"Grants permission to update GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":"Grants permission to create Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":"Grants permission to read Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":"Grants permission to update Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":"Grants permission to delete Products, Facets, Assets, Collections","isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":"Grants permission to create PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":"Grants permission to read PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":"Grants permission to update PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":"Grants permission to delete PaymentMethods, ShippingMethods, TaxCategories, TaxRates, Zones, Countries, System & GlobalSettings","isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":"Grants permission to create Administrator","isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":"Grants permission to read Administrator","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":"Grants permission to update Administrator","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":"Grants permission to delete Administrator","isDeprecated":false,"deprecationReason":null},{"name":"CreateAsset","description":"Grants permission to create Asset","isDeprecated":false,"deprecationReason":null},{"name":"ReadAsset","description":"Grants permission to read Asset","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAsset","description":"Grants permission to update Asset","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAsset","description":"Grants permission to delete Asset","isDeprecated":false,"deprecationReason":null},{"name":"CreateChannel","description":"Grants permission to create Channel","isDeprecated":false,"deprecationReason":null},{"name":"ReadChannel","description":"Grants permission to read Channel","isDeprecated":false,"deprecationReason":null},{"name":"UpdateChannel","description":"Grants permission to update Channel","isDeprecated":false,"deprecationReason":null},{"name":"DeleteChannel","description":"Grants permission to delete Channel","isDeprecated":false,"deprecationReason":null},{"name":"CreateCollection","description":"Grants permission to create Collection","isDeprecated":false,"deprecationReason":null},{"name":"ReadCollection","description":"Grants permission to read Collection","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCollection","description":"Grants permission to update Collection","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCollection","description":"Grants permission to delete Collection","isDeprecated":false,"deprecationReason":null},{"name":"CreateCountry","description":"Grants permission to create Country","isDeprecated":false,"deprecationReason":null},{"name":"ReadCountry","description":"Grants permission to read Country","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCountry","description":"Grants permission to update Country","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCountry","description":"Grants permission to delete Country","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":"Grants permission to create Customer","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":"Grants permission to read Customer","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":"Grants permission to update Customer","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":"Grants permission to delete Customer","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomerGroup","description":"Grants permission to create CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomerGroup","description":"Grants permission to read CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomerGroup","description":"Grants permission to update CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomerGroup","description":"Grants permission to delete CustomerGroup","isDeprecated":false,"deprecationReason":null},{"name":"CreateFacet","description":"Grants permission to create Facet","isDeprecated":false,"deprecationReason":null},{"name":"ReadFacet","description":"Grants permission to read Facet","isDeprecated":false,"deprecationReason":null},{"name":"UpdateFacet","description":"Grants permission to update Facet","isDeprecated":false,"deprecationReason":null},{"name":"DeleteFacet","description":"Grants permission to delete Facet","isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":"Grants permission to create Order","isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":"Grants permission to read Order","isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":"Grants permission to update Order","isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":"Grants permission to delete Order","isDeprecated":false,"deprecationReason":null},{"name":"CreatePaymentMethod","description":"Grants permission to create PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"ReadPaymentMethod","description":"Grants permission to read PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePaymentMethod","description":"Grants permission to update PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"DeletePaymentMethod","description":"Grants permission to delete PaymentMethod","isDeprecated":false,"deprecationReason":null},{"name":"CreateProduct","description":"Grants permission to create Product","isDeprecated":false,"deprecationReason":null},{"name":"ReadProduct","description":"Grants permission to read Product","isDeprecated":false,"deprecationReason":null},{"name":"UpdateProduct","description":"Grants permission to update Product","isDeprecated":false,"deprecationReason":null},{"name":"DeleteProduct","description":"Grants permission to delete Product","isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":"Grants permission to create Promotion","isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":"Grants permission to read Promotion","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":"Grants permission to update Promotion","isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":"Grants permission to delete Promotion","isDeprecated":false,"deprecationReason":null},{"name":"CreateShippingMethod","description":"Grants permission to create ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"ReadShippingMethod","description":"Grants permission to read ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"UpdateShippingMethod","description":"Grants permission to update ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"DeleteShippingMethod","description":"Grants permission to delete ShippingMethod","isDeprecated":false,"deprecationReason":null},{"name":"CreateTag","description":"Grants permission to create Tag","isDeprecated":false,"deprecationReason":null},{"name":"ReadTag","description":"Grants permission to read Tag","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTag","description":"Grants permission to update Tag","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTag","description":"Grants permission to delete Tag","isDeprecated":false,"deprecationReason":null},{"name":"CreateTaxCategory","description":"Grants permission to create TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"ReadTaxCategory","description":"Grants permission to read TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTaxCategory","description":"Grants permission to update TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTaxCategory","description":"Grants permission to delete TaxCategory","isDeprecated":false,"deprecationReason":null},{"name":"CreateTaxRate","description":"Grants permission to create TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"ReadTaxRate","description":"Grants permission to read TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"UpdateTaxRate","description":"Grants permission to update TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"DeleteTaxRate","description":"Grants permission to delete TaxRate","isDeprecated":false,"deprecationReason":null},{"name":"CreateSeller","description":"Grants permission to create Seller","isDeprecated":false,"deprecationReason":null},{"name":"ReadSeller","description":"Grants permission to read Seller","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSeller","description":"Grants permission to update Seller","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSeller","description":"Grants permission to delete Seller","isDeprecated":false,"deprecationReason":null},{"name":"CreateStockLocation","description":"Grants permission to create StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"ReadStockLocation","description":"Grants permission to read StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"UpdateStockLocation","description":"Grants permission to update StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"DeleteStockLocation","description":"Grants permission to delete StockLocation","isDeprecated":false,"deprecationReason":null},{"name":"CreateSystem","description":"Grants permission to create System","isDeprecated":false,"deprecationReason":null},{"name":"ReadSystem","description":"Grants permission to read System","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSystem","description":"Grants permission to update System","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSystem","description":"Grants permission to delete System","isDeprecated":false,"deprecationReason":null},{"name":"CreateZone","description":"Grants permission to create Zone","isDeprecated":false,"deprecationReason":null},{"name":"ReadZone","description":"Grants permission to read Zone","isDeprecated":false,"deprecationReason":null},{"name":"UpdateZone","description":"Grants permission to update Zone","isDeprecated":false,"deprecationReason":null},{"name":"DeleteZone","description":"Grants permission to delete Zone","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ErrorCode","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UNKNOWN_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NATIVE_AUTH_STRATEGY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVALID_CREDENTIALS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMAIL_ADDRESS_CONFLICT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"GUEST_CHECKOUT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_LIMIT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NEGATIVE_QUANTITY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INSUFFICIENT_STOCK_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_LIMIT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFICATION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INELIGIBLE_SHIPPING_METHOD_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NO_ACTIVE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_INTERCEPTOR_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_PAYMENT_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INELIGIBLE_PAYMENT_METHOD_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_FAILED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_DECLINED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALREADY_LOGGED_IN_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MISSING_PASSWORD_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PASSWORD_VALIDATION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PASSWORD_ALREADY_SET_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VERIFICATION_TOKEN_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VERIFICATION_TOKEN_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PASSWORD_RESET_TOKEN_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PASSWORD_RESET_TOKEN_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NOT_VERIFIED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"LogicalOperator","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","description":"Returned when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InvalidCredentialsError","description":"Returned if the user authentication credentials are not valid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderStateTransitionError","description":"Returned if there is an error in transitioning the Order state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmailAddressConflictError","description":"Returned when attempting to create a Customer with an email address already registered to an existing User.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GuestCheckoutError","description":"Returned when attempting to set the Customer on a guest checkout when the configured GuestCheckoutStrategy does not allow it.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"errorDetail","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLimitError","description":"Returned when the maximum order size limit has been reached.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"maxItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NegativeQuantityError","description":"Returned when attempting to set a negative OrderLine quantity.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InsufficientStockError","description":"Returned when attempting to add more items to the Order than are available","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantityAvailable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CouponCodeLimitError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"limit","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderModificationError","description":"Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","description":"Returned when attempting to set a ShippingMethod for which the Order is not eligible","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NoActiveOrderError","description":"Returned when invoking a mutation which depends on there being an active Order on the\ncurrent session.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderInterceptorError","description":"Returned when an order operation is rejected by an OrderInterceptor method.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"interceptorError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"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.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Money","description":"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).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CollectionList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"FacetValueList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"ProductVariantList","ofType":null},{"kind":"OBJECT","name":"PromotionList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"ProvinceList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null},{"kind":"OBJECT","name":"ShippingMethodList","ofType":null},{"kind":"OBJECT","name":"TagList","ofType":null},{"kind":"OBJECT","name":"TaxRateList","ofType":null}]},{"kind":"INTERFACE","name":"Node","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Surcharge","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Province","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Seller","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"Tag","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null},{"kind":"OBJECT","name":"GuestCheckoutError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null},{"kind":"OBJECT","name":"OrderInterceptorError","ofType":null},{"kind":"OBJECT","name":"OrderPaymentStateError","ofType":null},{"kind":"OBJECT","name":"IneligiblePaymentMethodError","ofType":null},{"kind":"OBJECT","name":"PaymentFailedError","ofType":null},{"kind":"OBJECT","name":"PaymentDeclinedError","ofType":null},{"kind":"OBJECT","name":"AlreadyLoggedInError","ofType":null},{"kind":"OBJECT","name":"MissingPasswordError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"PasswordAlreadySetError","ofType":null},{"kind":"OBJECT","name":"VerificationTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"VerificationTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"IdentifierChangeTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"IdentifierChangeTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"PasswordResetTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"PasswordResetTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"NotVerifiedError","ofType":null}]},{"kind":"OBJECT","name":"Adjustment","description":null,"fields":[{"name":"adjustmentSource","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxLine","description":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArg","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArgDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"required","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperation","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArg","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperationDefinition","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArgDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DeletionResponse","description":null,"fields":[{"name":"result","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DeletionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigArgInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"value","description":"A JSON stringified representation of the actual value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","description":null,"fields":null,"inputFields":[{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"arguments","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigArgInput","ofType":null}}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":"Operators for filtering on a String field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notEq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notContains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notIn","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"regex","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"IDOperators","description":"Operators for filtering on an ID field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notEq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"notIn","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":"Operators for filtering on a Boolean field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberOperators","description":"Operators for filtering on a Int or Float field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateRange","description":null,"fields":null,"inputFields":[{"name":"start","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":"Operators for filtering on a DateTime field","fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"isNull","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringListOperators","description":"Operators for filtering on a list of String fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberListOperators","description":"Operators for filtering on a list of Number fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanListOperators","description":"Operators for filtering on a list of Boolean fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"IDListOperators","description":"Operators for filtering on a list of ID fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateListOperators","description":"Operators for filtering on a list of Date fields","fields":null,"inputFields":[{"name":"inList","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueFilterInput","description":"Used to construct boolean expressions for filtering search results\nby FacetValue ID. Examples:\n\n* ID=1 OR ID=2: `{ facetValueFilters: [{ or: [1,2] }] }`\n* ID=1 AND ID=2: `{ facetValueFilters: [{ and: 1 }, { and: 2 }] }`\n* ID=1 AND (ID=2 OR ID=3): `{ facetValueFilters: [{ and: 1 }, { or: [2,3] }] }`","fields":null,"inputFields":[{"name":"and","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SearchInput","description":null,"fields":null,"inputFields":[{"name":"term","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use `facetValueFilters` instead"},{"name":"facetValueOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":true,"deprecationReason":"Use `facetValueFilters` instead"},{"name":"facetValueFilters","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterInput","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"collectionId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"collectionSlug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"groupByProduct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAddressInput","description":"Input used to create an Address.\n\nThe countryCode must correspond to a `code` property of a Country that has been defined in the\nVendure server. The `code` property is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc.\nIf an invalid code is passed, the mutation will fail.","fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","description":"Input used to update an Address.\n\nThe countryCode must correspond to a `code` property of a Country that has been defined in the\nVendure server. The `code` property is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc.\nIf an invalid code is passed, the mutation will fail.","fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Success","description":"Indicates that an operation succeeded, where we do not want to return any more specific information.","fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodQuote","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":"Any optional metadata returned by the ShippingCalculator in the ShippingCalculationResult","args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodQuote","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isEligible","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eligibilityMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"UpdateOrderItemsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockError","ofType":null},{"kind":"OBJECT","name":"OrderInterceptorError","ofType":null}]},{"kind":"UNION","name":"RemoveOrderItemsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"OrderInterceptorError","ofType":null}]},{"kind":"UNION","name":"SetOrderShippingMethodResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"IneligibleShippingMethodError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null}]},{"kind":"UNION","name":"ApplyCouponCodeResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null}]},{"kind":"ENUM","name":"CurrencyCode","description":"@description\nISO 4217 currency code\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AED","description":"United Arab Emirates dirham","isDeprecated":false,"deprecationReason":null},{"name":"AFN","description":"Afghan afghani","isDeprecated":false,"deprecationReason":null},{"name":"ALL","description":"Albanian lek","isDeprecated":false,"deprecationReason":null},{"name":"AMD","description":"Armenian dram","isDeprecated":false,"deprecationReason":null},{"name":"ANG","description":"Netherlands Antillean guilder","isDeprecated":false,"deprecationReason":null},{"name":"AOA","description":"Angolan kwanza","isDeprecated":false,"deprecationReason":null},{"name":"ARS","description":"Argentine peso","isDeprecated":false,"deprecationReason":null},{"name":"AUD","description":"Australian dollar","isDeprecated":false,"deprecationReason":null},{"name":"AWG","description":"Aruban florin","isDeprecated":false,"deprecationReason":null},{"name":"AZN","description":"Azerbaijani manat","isDeprecated":false,"deprecationReason":null},{"name":"BAM","description":"Bosnia and Herzegovina convertible mark","isDeprecated":false,"deprecationReason":null},{"name":"BBD","description":"Barbados dollar","isDeprecated":false,"deprecationReason":null},{"name":"BDT","description":"Bangladeshi taka","isDeprecated":false,"deprecationReason":null},{"name":"BGN","description":"Bulgarian lev","isDeprecated":false,"deprecationReason":null},{"name":"BHD","description":"Bahraini dinar","isDeprecated":false,"deprecationReason":null},{"name":"BIF","description":"Burundian franc","isDeprecated":false,"deprecationReason":null},{"name":"BMD","description":"Bermudian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BND","description":"Brunei dollar","isDeprecated":false,"deprecationReason":null},{"name":"BOB","description":"Boliviano","isDeprecated":false,"deprecationReason":null},{"name":"BRL","description":"Brazilian real","isDeprecated":false,"deprecationReason":null},{"name":"BSD","description":"Bahamian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BTN","description":"Bhutanese ngultrum","isDeprecated":false,"deprecationReason":null},{"name":"BWP","description":"Botswana pula","isDeprecated":false,"deprecationReason":null},{"name":"BYN","description":"Belarusian ruble","isDeprecated":false,"deprecationReason":null},{"name":"BZD","description":"Belize dollar","isDeprecated":false,"deprecationReason":null},{"name":"CAD","description":"Canadian dollar","isDeprecated":false,"deprecationReason":null},{"name":"CDF","description":"Congolese franc","isDeprecated":false,"deprecationReason":null},{"name":"CHF","description":"Swiss franc","isDeprecated":false,"deprecationReason":null},{"name":"CLP","description":"Chilean peso","isDeprecated":false,"deprecationReason":null},{"name":"CNY","description":"Renminbi (Chinese) yuan","isDeprecated":false,"deprecationReason":null},{"name":"COP","description":"Colombian peso","isDeprecated":false,"deprecationReason":null},{"name":"CRC","description":"Costa Rican colon","isDeprecated":false,"deprecationReason":null},{"name":"CUC","description":"Cuban convertible peso","isDeprecated":false,"deprecationReason":null},{"name":"CUP","description":"Cuban peso","isDeprecated":false,"deprecationReason":null},{"name":"CVE","description":"Cape Verde escudo","isDeprecated":false,"deprecationReason":null},{"name":"CZK","description":"Czech koruna","isDeprecated":false,"deprecationReason":null},{"name":"DJF","description":"Djiboutian franc","isDeprecated":false,"deprecationReason":null},{"name":"DKK","description":"Danish krone","isDeprecated":false,"deprecationReason":null},{"name":"DOP","description":"Dominican peso","isDeprecated":false,"deprecationReason":null},{"name":"DZD","description":"Algerian dinar","isDeprecated":false,"deprecationReason":null},{"name":"EGP","description":"Egyptian pound","isDeprecated":false,"deprecationReason":null},{"name":"ERN","description":"Eritrean nakfa","isDeprecated":false,"deprecationReason":null},{"name":"ETB","description":"Ethiopian birr","isDeprecated":false,"deprecationReason":null},{"name":"EUR","description":"Euro","isDeprecated":false,"deprecationReason":null},{"name":"FJD","description":"Fiji dollar","isDeprecated":false,"deprecationReason":null},{"name":"FKP","description":"Falkland Islands pound","isDeprecated":false,"deprecationReason":null},{"name":"GBP","description":"Pound sterling","isDeprecated":false,"deprecationReason":null},{"name":"GEL","description":"Georgian lari","isDeprecated":false,"deprecationReason":null},{"name":"GHS","description":"Ghanaian cedi","isDeprecated":false,"deprecationReason":null},{"name":"GIP","description":"Gibraltar pound","isDeprecated":false,"deprecationReason":null},{"name":"GMD","description":"Gambian dalasi","isDeprecated":false,"deprecationReason":null},{"name":"GNF","description":"Guinean franc","isDeprecated":false,"deprecationReason":null},{"name":"GTQ","description":"Guatemalan quetzal","isDeprecated":false,"deprecationReason":null},{"name":"GYD","description":"Guyanese dollar","isDeprecated":false,"deprecationReason":null},{"name":"HKD","description":"Hong Kong dollar","isDeprecated":false,"deprecationReason":null},{"name":"HNL","description":"Honduran lempira","isDeprecated":false,"deprecationReason":null},{"name":"HRK","description":"Croatian kuna","isDeprecated":false,"deprecationReason":null},{"name":"HTG","description":"Haitian gourde","isDeprecated":false,"deprecationReason":null},{"name":"HUF","description":"Hungarian forint","isDeprecated":false,"deprecationReason":null},{"name":"IDR","description":"Indonesian rupiah","isDeprecated":false,"deprecationReason":null},{"name":"ILS","description":"Israeli new shekel","isDeprecated":false,"deprecationReason":null},{"name":"INR","description":"Indian rupee","isDeprecated":false,"deprecationReason":null},{"name":"IQD","description":"Iraqi dinar","isDeprecated":false,"deprecationReason":null},{"name":"IRR","description":"Iranian rial","isDeprecated":false,"deprecationReason":null},{"name":"ISK","description":"Icelandic króna","isDeprecated":false,"deprecationReason":null},{"name":"JMD","description":"Jamaican dollar","isDeprecated":false,"deprecationReason":null},{"name":"JOD","description":"Jordanian dinar","isDeprecated":false,"deprecationReason":null},{"name":"JPY","description":"Japanese yen","isDeprecated":false,"deprecationReason":null},{"name":"KES","description":"Kenyan shilling","isDeprecated":false,"deprecationReason":null},{"name":"KGS","description":"Kyrgyzstani som","isDeprecated":false,"deprecationReason":null},{"name":"KHR","description":"Cambodian riel","isDeprecated":false,"deprecationReason":null},{"name":"KMF","description":"Comoro franc","isDeprecated":false,"deprecationReason":null},{"name":"KPW","description":"North Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KRW","description":"South Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KWD","description":"Kuwaiti dinar","isDeprecated":false,"deprecationReason":null},{"name":"KYD","description":"Cayman Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"KZT","description":"Kazakhstani tenge","isDeprecated":false,"deprecationReason":null},{"name":"LAK","description":"Lao kip","isDeprecated":false,"deprecationReason":null},{"name":"LBP","description":"Lebanese pound","isDeprecated":false,"deprecationReason":null},{"name":"LKR","description":"Sri Lankan rupee","isDeprecated":false,"deprecationReason":null},{"name":"LRD","description":"Liberian dollar","isDeprecated":false,"deprecationReason":null},{"name":"LSL","description":"Lesotho loti","isDeprecated":false,"deprecationReason":null},{"name":"LYD","description":"Libyan dinar","isDeprecated":false,"deprecationReason":null},{"name":"MAD","description":"Moroccan dirham","isDeprecated":false,"deprecationReason":null},{"name":"MDL","description":"Moldovan leu","isDeprecated":false,"deprecationReason":null},{"name":"MGA","description":"Malagasy ariary","isDeprecated":false,"deprecationReason":null},{"name":"MKD","description":"Macedonian denar","isDeprecated":false,"deprecationReason":null},{"name":"MMK","description":"Myanmar kyat","isDeprecated":false,"deprecationReason":null},{"name":"MNT","description":"Mongolian tögrög","isDeprecated":false,"deprecationReason":null},{"name":"MOP","description":"Macanese pataca","isDeprecated":false,"deprecationReason":null},{"name":"MRU","description":"Mauritanian ouguiya","isDeprecated":false,"deprecationReason":null},{"name":"MUR","description":"Mauritian rupee","isDeprecated":false,"deprecationReason":null},{"name":"MVR","description":"Maldivian rufiyaa","isDeprecated":false,"deprecationReason":null},{"name":"MWK","description":"Malawian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"MXN","description":"Mexican peso","isDeprecated":false,"deprecationReason":null},{"name":"MYR","description":"Malaysian ringgit","isDeprecated":false,"deprecationReason":null},{"name":"MZN","description":"Mozambican metical","isDeprecated":false,"deprecationReason":null},{"name":"NAD","description":"Namibian dollar","isDeprecated":false,"deprecationReason":null},{"name":"NGN","description":"Nigerian naira","isDeprecated":false,"deprecationReason":null},{"name":"NIO","description":"Nicaraguan córdoba","isDeprecated":false,"deprecationReason":null},{"name":"NOK","description":"Norwegian krone","isDeprecated":false,"deprecationReason":null},{"name":"NPR","description":"Nepalese rupee","isDeprecated":false,"deprecationReason":null},{"name":"NZD","description":"New Zealand dollar","isDeprecated":false,"deprecationReason":null},{"name":"OMR","description":"Omani rial","isDeprecated":false,"deprecationReason":null},{"name":"PAB","description":"Panamanian balboa","isDeprecated":false,"deprecationReason":null},{"name":"PEN","description":"Peruvian sol","isDeprecated":false,"deprecationReason":null},{"name":"PGK","description":"Papua New Guinean kina","isDeprecated":false,"deprecationReason":null},{"name":"PHP","description":"Philippine peso","isDeprecated":false,"deprecationReason":null},{"name":"PKR","description":"Pakistani rupee","isDeprecated":false,"deprecationReason":null},{"name":"PLN","description":"Polish złoty","isDeprecated":false,"deprecationReason":null},{"name":"PYG","description":"Paraguayan guaraní","isDeprecated":false,"deprecationReason":null},{"name":"QAR","description":"Qatari riyal","isDeprecated":false,"deprecationReason":null},{"name":"RON","description":"Romanian leu","isDeprecated":false,"deprecationReason":null},{"name":"RSD","description":"Serbian dinar","isDeprecated":false,"deprecationReason":null},{"name":"RUB","description":"Russian ruble","isDeprecated":false,"deprecationReason":null},{"name":"RWF","description":"Rwandan franc","isDeprecated":false,"deprecationReason":null},{"name":"SAR","description":"Saudi riyal","isDeprecated":false,"deprecationReason":null},{"name":"SBD","description":"Solomon Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"SCR","description":"Seychelles rupee","isDeprecated":false,"deprecationReason":null},{"name":"SDG","description":"Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"SEK","description":"Swedish krona/kronor","isDeprecated":false,"deprecationReason":null},{"name":"SGD","description":"Singapore dollar","isDeprecated":false,"deprecationReason":null},{"name":"SHP","description":"Saint Helena pound","isDeprecated":false,"deprecationReason":null},{"name":"SLL","description":"Sierra Leonean leone","isDeprecated":false,"deprecationReason":null},{"name":"SOS","description":"Somali shilling","isDeprecated":false,"deprecationReason":null},{"name":"SRD","description":"Surinamese dollar","isDeprecated":false,"deprecationReason":null},{"name":"SSP","description":"South Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"STN","description":"São Tomé and Príncipe dobra","isDeprecated":false,"deprecationReason":null},{"name":"SVC","description":"Salvadoran colón","isDeprecated":false,"deprecationReason":null},{"name":"SYP","description":"Syrian pound","isDeprecated":false,"deprecationReason":null},{"name":"SZL","description":"Swazi lilangeni","isDeprecated":false,"deprecationReason":null},{"name":"THB","description":"Thai baht","isDeprecated":false,"deprecationReason":null},{"name":"TJS","description":"Tajikistani somoni","isDeprecated":false,"deprecationReason":null},{"name":"TMT","description":"Turkmenistan manat","isDeprecated":false,"deprecationReason":null},{"name":"TND","description":"Tunisian dinar","isDeprecated":false,"deprecationReason":null},{"name":"TOP","description":"Tongan paʻanga","isDeprecated":false,"deprecationReason":null},{"name":"TRY","description":"Turkish lira","isDeprecated":false,"deprecationReason":null},{"name":"TTD","description":"Trinidad and Tobago dollar","isDeprecated":false,"deprecationReason":null},{"name":"TWD","description":"New Taiwan dollar","isDeprecated":false,"deprecationReason":null},{"name":"TZS","description":"Tanzanian shilling","isDeprecated":false,"deprecationReason":null},{"name":"UAH","description":"Ukrainian hryvnia","isDeprecated":false,"deprecationReason":null},{"name":"UGX","description":"Ugandan shilling","isDeprecated":false,"deprecationReason":null},{"name":"USD","description":"United States dollar","isDeprecated":false,"deprecationReason":null},{"name":"UYU","description":"Uruguayan peso","isDeprecated":false,"deprecationReason":null},{"name":"UZS","description":"Uzbekistan som","isDeprecated":false,"deprecationReason":null},{"name":"VES","description":"Venezuelan bolívar soberano","isDeprecated":false,"deprecationReason":null},{"name":"VND","description":"Vietnamese đồng","isDeprecated":false,"deprecationReason":null},{"name":"VUV","description":"Vanuatu vatu","isDeprecated":false,"deprecationReason":null},{"name":"WST","description":"Samoan tala","isDeprecated":false,"deprecationReason":null},{"name":"XAF","description":"CFA franc BEAC","isDeprecated":false,"deprecationReason":null},{"name":"XCD","description":"East Caribbean dollar","isDeprecated":false,"deprecationReason":null},{"name":"XOF","description":"CFA franc BCEAO","isDeprecated":false,"deprecationReason":null},{"name":"XPF","description":"CFP franc (franc Pacifique)","isDeprecated":false,"deprecationReason":null},{"name":"YER","description":"Yemeni rial","isDeprecated":false,"deprecationReason":null},{"name":"ZAR","description":"South African rand","isDeprecated":false,"deprecationReason":null},{"name":"ZMW","description":"Zambian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"ZWL","description":"Zimbabwean dollar","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"CustomField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"StructCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StringCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringFieldOption","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"StringFieldOption","description":null,"fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","description":"Expects the same validation formats as the `` HTML element.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"entity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"scalarFields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"StructField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextStructFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StringStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"length","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StringFieldOption","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IntStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","description":"Expects the same validation formats as the `` HTML element.\nSee https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#Additional_attributes","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"step","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TextStructFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"StructField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"StructFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeStructFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextStructFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"StructCustomFieldConfig","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"StructFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nullable","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"requiresPermission","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LocalizedString","description":null,"fields":[{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CustomFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"RelationCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"TextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleTextCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"StructCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"CustomerGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customers","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Customer","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addresses","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Address","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"orders","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"user","description":null,"args":[],"type":{"kind":"OBJECT","name":"User","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValue","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Facet","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"values","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"valueList","description":"Returns a paginated, sortable, filterable list of the Facet's values. Added in v2.1.0.","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"FacetValueSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"HistoryEntry","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"HistoryEntryType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"JSON","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"HistoryEntryType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"CUSTOMER_REGISTERED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_DETAIL_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDED_TO_GROUP","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_REMOVED_FROM_GROUP","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_CREATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_ADDRESS_DELETED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_RESET_REQUESTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_PASSWORD_RESET_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_EMAIL_UPDATE_REQUESTED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_EMAIL_UPDATE_VERIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CUSTOMER_NOTE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_PAYMENT_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_FULFILLMENT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_CANCELLATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_REFUND_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_FULFILLMENT_TRANSITION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_NOTE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_COUPON_APPLIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_COUPON_REMOVED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFIED","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_CUSTOMER_UPDATED","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"HistoryEntryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntry","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"LanguageCode","description":"@description\nLanguages in the form of a ISO 639-1 language code with optional\nregion or script modifier (e.g. de_AT). The selection available is based\non the [Unicode CLDR summary list](https://unicode-org.github.io/cldr-staging/charts/37/summary/root.html)\nand includes the major spoken languages of the world and any widely-used variants.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"af","description":"Afrikaans","isDeprecated":false,"deprecationReason":null},{"name":"ak","description":"Akan","isDeprecated":false,"deprecationReason":null},{"name":"sq","description":"Albanian","isDeprecated":false,"deprecationReason":null},{"name":"am","description":"Amharic","isDeprecated":false,"deprecationReason":null},{"name":"ar","description":"Arabic","isDeprecated":false,"deprecationReason":null},{"name":"hy","description":"Armenian","isDeprecated":false,"deprecationReason":null},{"name":"as","description":"Assamese","isDeprecated":false,"deprecationReason":null},{"name":"az","description":"Azerbaijani","isDeprecated":false,"deprecationReason":null},{"name":"bm","description":"Bambara","isDeprecated":false,"deprecationReason":null},{"name":"bn","description":"Bangla","isDeprecated":false,"deprecationReason":null},{"name":"eu","description":"Basque","isDeprecated":false,"deprecationReason":null},{"name":"be","description":"Belarusian","isDeprecated":false,"deprecationReason":null},{"name":"bs","description":"Bosnian","isDeprecated":false,"deprecationReason":null},{"name":"br","description":"Breton","isDeprecated":false,"deprecationReason":null},{"name":"bg","description":"Bulgarian","isDeprecated":false,"deprecationReason":null},{"name":"my","description":"Burmese","isDeprecated":false,"deprecationReason":null},{"name":"ca","description":"Catalan","isDeprecated":false,"deprecationReason":null},{"name":"ce","description":"Chechen","isDeprecated":false,"deprecationReason":null},{"name":"zh","description":"Chinese","isDeprecated":false,"deprecationReason":null},{"name":"zh_Hans","description":"Simplified Chinese","isDeprecated":false,"deprecationReason":null},{"name":"zh_Hant","description":"Traditional Chinese","isDeprecated":false,"deprecationReason":null},{"name":"cu","description":"Church Slavic","isDeprecated":false,"deprecationReason":null},{"name":"kw","description":"Cornish","isDeprecated":false,"deprecationReason":null},{"name":"co","description":"Corsican","isDeprecated":false,"deprecationReason":null},{"name":"hr","description":"Croatian","isDeprecated":false,"deprecationReason":null},{"name":"cs","description":"Czech","isDeprecated":false,"deprecationReason":null},{"name":"da","description":"Danish","isDeprecated":false,"deprecationReason":null},{"name":"nl","description":"Dutch","isDeprecated":false,"deprecationReason":null},{"name":"nl_BE","description":"Flemish","isDeprecated":false,"deprecationReason":null},{"name":"dz","description":"Dzongkha","isDeprecated":false,"deprecationReason":null},{"name":"en","description":"English","isDeprecated":false,"deprecationReason":null},{"name":"en_AU","description":"Australian English","isDeprecated":false,"deprecationReason":null},{"name":"en_CA","description":"Canadian English","isDeprecated":false,"deprecationReason":null},{"name":"en_GB","description":"British English","isDeprecated":false,"deprecationReason":null},{"name":"en_US","description":"American English","isDeprecated":false,"deprecationReason":null},{"name":"eo","description":"Esperanto","isDeprecated":false,"deprecationReason":null},{"name":"et","description":"Estonian","isDeprecated":false,"deprecationReason":null},{"name":"ee","description":"Ewe","isDeprecated":false,"deprecationReason":null},{"name":"fo","description":"Faroese","isDeprecated":false,"deprecationReason":null},{"name":"fi","description":"Finnish","isDeprecated":false,"deprecationReason":null},{"name":"fr","description":"French","isDeprecated":false,"deprecationReason":null},{"name":"fr_CA","description":"Canadian French","isDeprecated":false,"deprecationReason":null},{"name":"fr_CH","description":"Swiss French","isDeprecated":false,"deprecationReason":null},{"name":"ff","description":"Fulah","isDeprecated":false,"deprecationReason":null},{"name":"gl","description":"Galician","isDeprecated":false,"deprecationReason":null},{"name":"lg","description":"Ganda","isDeprecated":false,"deprecationReason":null},{"name":"ka","description":"Georgian","isDeprecated":false,"deprecationReason":null},{"name":"de","description":"German","isDeprecated":false,"deprecationReason":null},{"name":"de_AT","description":"Austrian German","isDeprecated":false,"deprecationReason":null},{"name":"de_CH","description":"Swiss High German","isDeprecated":false,"deprecationReason":null},{"name":"el","description":"Greek","isDeprecated":false,"deprecationReason":null},{"name":"gu","description":"Gujarati","isDeprecated":false,"deprecationReason":null},{"name":"ht","description":"Haitian Creole","isDeprecated":false,"deprecationReason":null},{"name":"ha","description":"Hausa","isDeprecated":false,"deprecationReason":null},{"name":"he","description":"Hebrew","isDeprecated":false,"deprecationReason":null},{"name":"hi","description":"Hindi","isDeprecated":false,"deprecationReason":null},{"name":"hu","description":"Hungarian","isDeprecated":false,"deprecationReason":null},{"name":"is","description":"Icelandic","isDeprecated":false,"deprecationReason":null},{"name":"ig","description":"Igbo","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Indonesian","isDeprecated":false,"deprecationReason":null},{"name":"ia","description":"Interlingua","isDeprecated":false,"deprecationReason":null},{"name":"ga","description":"Irish","isDeprecated":false,"deprecationReason":null},{"name":"it","description":"Italian","isDeprecated":false,"deprecationReason":null},{"name":"ja","description":"Japanese","isDeprecated":false,"deprecationReason":null},{"name":"jv","description":"Javanese","isDeprecated":false,"deprecationReason":null},{"name":"kl","description":"Kalaallisut","isDeprecated":false,"deprecationReason":null},{"name":"kn","description":"Kannada","isDeprecated":false,"deprecationReason":null},{"name":"ks","description":"Kashmiri","isDeprecated":false,"deprecationReason":null},{"name":"kk","description":"Kazakh","isDeprecated":false,"deprecationReason":null},{"name":"km","description":"Khmer","isDeprecated":false,"deprecationReason":null},{"name":"ki","description":"Kikuyu","isDeprecated":false,"deprecationReason":null},{"name":"rw","description":"Kinyarwanda","isDeprecated":false,"deprecationReason":null},{"name":"ko","description":"Korean","isDeprecated":false,"deprecationReason":null},{"name":"ku","description":"Kurdish","isDeprecated":false,"deprecationReason":null},{"name":"ky","description":"Kyrgyz","isDeprecated":false,"deprecationReason":null},{"name":"lo","description":"Lao","isDeprecated":false,"deprecationReason":null},{"name":"la","description":"Latin","isDeprecated":false,"deprecationReason":null},{"name":"lv","description":"Latvian","isDeprecated":false,"deprecationReason":null},{"name":"ln","description":"Lingala","isDeprecated":false,"deprecationReason":null},{"name":"lt","description":"Lithuanian","isDeprecated":false,"deprecationReason":null},{"name":"lu","description":"Luba-Katanga","isDeprecated":false,"deprecationReason":null},{"name":"lb","description":"Luxembourgish","isDeprecated":false,"deprecationReason":null},{"name":"mk","description":"Macedonian","isDeprecated":false,"deprecationReason":null},{"name":"mg","description":"Malagasy","isDeprecated":false,"deprecationReason":null},{"name":"ms","description":"Malay","isDeprecated":false,"deprecationReason":null},{"name":"ml","description":"Malayalam","isDeprecated":false,"deprecationReason":null},{"name":"mt","description":"Maltese","isDeprecated":false,"deprecationReason":null},{"name":"gv","description":"Manx","isDeprecated":false,"deprecationReason":null},{"name":"mi","description":"Maori","isDeprecated":false,"deprecationReason":null},{"name":"mr","description":"Marathi","isDeprecated":false,"deprecationReason":null},{"name":"mn","description":"Mongolian","isDeprecated":false,"deprecationReason":null},{"name":"ne","description":"Nepali","isDeprecated":false,"deprecationReason":null},{"name":"nd","description":"North Ndebele","isDeprecated":false,"deprecationReason":null},{"name":"se","description":"Northern Sami","isDeprecated":false,"deprecationReason":null},{"name":"nb","description":"Norwegian Bokmål","isDeprecated":false,"deprecationReason":null},{"name":"nn","description":"Norwegian Nynorsk","isDeprecated":false,"deprecationReason":null},{"name":"ny","description":"Nyanja","isDeprecated":false,"deprecationReason":null},{"name":"or","description":"Odia","isDeprecated":false,"deprecationReason":null},{"name":"om","description":"Oromo","isDeprecated":false,"deprecationReason":null},{"name":"os","description":"Ossetic","isDeprecated":false,"deprecationReason":null},{"name":"ps","description":"Pashto","isDeprecated":false,"deprecationReason":null},{"name":"fa","description":"Persian","isDeprecated":false,"deprecationReason":null},{"name":"fa_AF","description":"Dari","isDeprecated":false,"deprecationReason":null},{"name":"pl","description":"Polish","isDeprecated":false,"deprecationReason":null},{"name":"pt","description":"Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pt_BR","description":"Brazilian Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pt_PT","description":"European Portuguese","isDeprecated":false,"deprecationReason":null},{"name":"pa","description":"Punjabi","isDeprecated":false,"deprecationReason":null},{"name":"qu","description":"Quechua","isDeprecated":false,"deprecationReason":null},{"name":"ro","description":"Romanian","isDeprecated":false,"deprecationReason":null},{"name":"ro_MD","description":"Moldavian","isDeprecated":false,"deprecationReason":null},{"name":"rm","description":"Romansh","isDeprecated":false,"deprecationReason":null},{"name":"rn","description":"Rundi","isDeprecated":false,"deprecationReason":null},{"name":"ru","description":"Russian","isDeprecated":false,"deprecationReason":null},{"name":"sm","description":"Samoan","isDeprecated":false,"deprecationReason":null},{"name":"sg","description":"Sango","isDeprecated":false,"deprecationReason":null},{"name":"sa","description":"Sanskrit","isDeprecated":false,"deprecationReason":null},{"name":"gd","description":"Scottish Gaelic","isDeprecated":false,"deprecationReason":null},{"name":"sr","description":"Serbian","isDeprecated":false,"deprecationReason":null},{"name":"sn","description":"Shona","isDeprecated":false,"deprecationReason":null},{"name":"ii","description":"Sichuan Yi","isDeprecated":false,"deprecationReason":null},{"name":"sd","description":"Sindhi","isDeprecated":false,"deprecationReason":null},{"name":"si","description":"Sinhala","isDeprecated":false,"deprecationReason":null},{"name":"sk","description":"Slovak","isDeprecated":false,"deprecationReason":null},{"name":"sl","description":"Slovenian","isDeprecated":false,"deprecationReason":null},{"name":"so","description":"Somali","isDeprecated":false,"deprecationReason":null},{"name":"st","description":"Southern Sotho","isDeprecated":false,"deprecationReason":null},{"name":"es","description":"Spanish","isDeprecated":false,"deprecationReason":null},{"name":"es_ES","description":"European Spanish","isDeprecated":false,"deprecationReason":null},{"name":"es_MX","description":"Mexican Spanish","isDeprecated":false,"deprecationReason":null},{"name":"su","description":"Sundanese","isDeprecated":false,"deprecationReason":null},{"name":"sw","description":"Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sw_CD","description":"Congo Swahili","isDeprecated":false,"deprecationReason":null},{"name":"sv","description":"Swedish","isDeprecated":false,"deprecationReason":null},{"name":"tg","description":"Tajik","isDeprecated":false,"deprecationReason":null},{"name":"ta","description":"Tamil","isDeprecated":false,"deprecationReason":null},{"name":"tt","description":"Tatar","isDeprecated":false,"deprecationReason":null},{"name":"te","description":"Telugu","isDeprecated":false,"deprecationReason":null},{"name":"th","description":"Thai","isDeprecated":false,"deprecationReason":null},{"name":"bo","description":"Tibetan","isDeprecated":false,"deprecationReason":null},{"name":"ti","description":"Tigrinya","isDeprecated":false,"deprecationReason":null},{"name":"to","description":"Tongan","isDeprecated":false,"deprecationReason":null},{"name":"tr","description":"Turkish","isDeprecated":false,"deprecationReason":null},{"name":"tk","description":"Turkmen","isDeprecated":false,"deprecationReason":null},{"name":"uk","description":"Ukrainian","isDeprecated":false,"deprecationReason":null},{"name":"ur","description":"Urdu","isDeprecated":false,"deprecationReason":null},{"name":"ug","description":"Uyghur","isDeprecated":false,"deprecationReason":null},{"name":"uz","description":"Uzbek","isDeprecated":false,"deprecationReason":null},{"name":"vi","description":"Vietnamese","isDeprecated":false,"deprecationReason":null},{"name":"vo","description":"Volapük","isDeprecated":false,"deprecationReason":null},{"name":"cy","description":"Welsh","isDeprecated":false,"deprecationReason":null},{"name":"fy","description":"Western Frisian","isDeprecated":false,"deprecationReason":null},{"name":"wo","description":"Wolof","isDeprecated":false,"deprecationReason":null},{"name":"xh","description":"Xhosa","isDeprecated":false,"deprecationReason":null},{"name":"yi","description":"Yiddish","isDeprecated":false,"deprecationReason":null},{"name":"yo","description":"Yoruba","isDeprecated":false,"deprecationReason":null},{"name":"zu","description":"Zulu","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"OrderType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Regular","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"Seller","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"Aggregate","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"Order","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"OrderType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":"The date & time that the Order was placed, i.e. the Customer\ncompleted the checkout and the Order is no longer \"active\"","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"A unique code for the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"active","description":"An order is active as long as the payment process has not been completed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"billingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"surcharges","description":"Surcharges are arbitrary modifications to the Order total which are neither\nProductVariants nor discounts resulting from applied Promotions. For example,\none-off discounts based on customer interaction, or surcharges based on payment\nmethods.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Surcharge","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","description":"An array of all coupon codes applied to the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"promotions","description":"Promotions applied to the order. Only gets populated after the payment process has completed.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"payments","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillments","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":"The subTotal is the total of all OrderLines in the Order. This figure also includes any Order-level\ndiscounts which have been prorated (proportionally distributed) amongst the items of each OrderLine.\nTo get a total of all OrderLines which does not account for prorated discounts, use the\nsum of `OrderLine.discountedLinePrice` values.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":"Same as subTotal, but inclusive of tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":"Equal to subTotal plus shipping","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":"The final payable amount. Equal to subTotalWithTax plus shippingWithTax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxSummary","description":"A summary of the taxes being applied to this Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderTaxSummary","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"history","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"HistoryEntryList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderTaxSummary","description":"A summary of the taxes being applied to this order, grouped\nby taxRate.","fields":[{"name":"description","description":"A description of this tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":"The taxRate as a percentage","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxBase","description":"The total net price of OrderLines to which this taxRate applies","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxTotal","description":"The total tax being applied to the Order at this taxRate","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderAddress","description":null,"fields":[{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingLine","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Discount","description":null,"fields":[{"name":"adjustmentSource","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"AdjustmentType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amountWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderLine","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":"The price of a single unit, excluding tax and discounts","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":"The price of a single unit, including tax but excluding discounts","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceChangeSinceAdded","description":"Non-zero if the unitPrice has changed since it was initially added to Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTaxChangeSinceAdded","description":"Non-zero if the unitPriceWithTax has changed since it was initially added to Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedUnitPrice","description":"The price of a single unit including discounts, excluding tax.\n\nIf Order-level discounts have been applied, this will not be the\nactual taxable unit price (see `proratedUnitPrice`), but is generally the\ncorrect price to display to customers to avoid confusion\nabout the internal handling of distributed Order-level discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedUnitPriceWithTax","description":"The price of a single unit including discounts and tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedUnitPrice","description":"The actual unit price, taking into account both item discounts _and_ prorated (proportionally-distributed)\nOrder-level discounts. This value is the true economic value of the OrderItem, and is used in tax\nand refund calculations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedUnitPriceWithTax","description":"The proratedUnitPrice including tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":"The quantity of items purchased","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedQuantity","description":"The quantity at the time the Order was placed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePrice","description":"The total price of the line excluding tax and discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePriceWithTax","description":"The total price of the line including tax but excluding discounts.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedLinePrice","description":"The price of the line including discounts, excluding tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discountedLinePriceWithTax","description":"The price of the line including discounts and tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedLinePrice","description":"The actual line price, taking into account both item discounts _and_ prorated (proportionally-distributed)\nOrder-level discounts. This value is the true economic value of the OrderLine, and is used in tax\nand refund calculations.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"proratedLinePriceWithTax","description":"The proratedLinePrice including tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lineTax","description":"The total tax on this line","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"discounts","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Discount","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"taxLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentLines","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Payment","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"amount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"errorMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refunds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refund","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Refund","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactionId","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"reason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RefundLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentLine","description":null,"fields":[{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLineId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Fulfillment","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"summary","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FulfillmentLine","ofType":null}}}},"isDeprecated":true,"deprecationReason":"Use the `lines` field instead"},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"method","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackingCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Surcharge","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"taxLines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"handler","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroupTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroupTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOption","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"groupId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"group","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchReindexResponse","description":null,"fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResponse","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CollectionResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueResult","description":"Which FacetValues are present in the products returned\nby the search, and in what quantity.","fields":[{"name":"facetValue","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionResult","description":"Which Collections are present in the products returned\nby the search, and in what quantity.","fields":[{"name":"collection","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResultAsset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResult","description":null,"fields":[{"name":"sku","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"SearchResultAsset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"SearchResultAsset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultPrice","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SearchResultPrice","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetIds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValueIds","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collectionIds","description":"An array of ids of the Collections in which this result appears","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"score","description":"A relevance score for the result. Differs between database implementations","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"SearchResultPrice","description":"The price of a search result product, either as a range or as a single price","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"PriceRange","ofType":null},{"kind":"OBJECT","name":"SinglePrice","ofType":null}]},{"kind":"OBJECT","name":"SinglePrice","description":"The price value where the result has a single price","fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PriceRange","description":"The price range where the result has more than one price","fields":[{"name":"min","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Product","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variants","description":"Returns all ProductVariants","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"variantList","description":"Returns a paginated, sortable, filterable list of ProductVariants","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantList","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroups","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"collections","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariant","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Money","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxRateApplied","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxCategory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariantTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"usageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"conditions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"actions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PromotionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PromotionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INTERFACE","name":"Region","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Province","ofType":null}]},{"kind":"OBJECT","name":"RegionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","description":"A Country of the world which your shop operates in.\n\nThe `code` field is typically a 2-character ISO code such as \"GB\", \"US\", \"DE\" etc. This code is used in certain inputs such as\n`UpdateAddressInput` and `CreateAddressInput` to specify the country.","fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Region","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CountryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Province","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parent","description":null,"args":[],"type":{"kind":"INTERFACE","name":"Region","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"RegionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Region","ofType":null},{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProvinceList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Province","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Seller","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillmentHandlerCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Tag","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TagList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Tag","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxCategory","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDefault","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRate","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"category","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxCategory","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"zone","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Zone","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customerGroup","description":null,"args":[],"type":{"kind":"OBJECT","name":"CustomerGroup","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verified","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"roles","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"lastLogin","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationMethods","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AuthenticationMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"strategy","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Region","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderPaymentStateError","description":"Returned when attempting to add a Payment to an Order that is not in the `ArrangingPayment` state.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IneligiblePaymentMethodError","description":"Returned when attempting to add a Payment using a PaymentMethod for which the Order is not eligible.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"eligibilityCheckerMessage","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentFailedError","description":"Returned when a Payment fails due to an error.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentDeclinedError","description":"Returned when a Payment is declined by the payment provider.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AlreadyLoggedInError","description":"Returned when attempting to set the Customer for an Order when already logged in.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MissingPasswordError","description":"Returned when attempting to register or verify a customer account without a password, when one is required.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PasswordValidationError","description":"Returned when attempting to register or verify a customer account where the given password fails password validation.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"validationErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PasswordAlreadySetError","description":"Returned when attempting to verify a customer account with a password, when a password has already been set.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VerificationTokenInvalidError","description":"Returned if the verification token (used to verify a Customer's email address) is either\ninvalid or does not match any expected tokens.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"VerificationTokenExpiredError","description":"Returned if the verification token (used to verify a Customer's email address) is valid, but has\nexpired according to the `verificationTokenDuration` setting in the AuthOptions.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IdentifierChangeTokenInvalidError","description":"Returned if the token used to change a Customer's email address is either\ninvalid or does not match any expected tokens.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"IdentifierChangeTokenExpiredError","description":"Returned if the token used to change a Customer's email address is valid, but has\nexpired according to the `verificationTokenDuration` setting in the AuthOptions.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PasswordResetTokenInvalidError","description":"Returned if the token used to reset a Customer's password is either\ninvalid or does not match any expected tokens.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PasswordResetTokenExpiredError","description":"Returned if the token used to reset a Customer's password is valid, but has\nexpired according to the `verificationTokenDuration` setting in the AuthOptions.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NotVerifiedError","description":"Returned if `authOptions.requireVerification` is set to `true` (which is the default)\nand an unverified user attempts to authenticate.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AuthenticationInput","description":null,"fields":null,"inputFields":[{"name":"native","description":null,"type":{"kind":"INPUT_OBJECT","name":"NativeAuthInput","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RegisterCustomerInput","description":null,"fields":null,"inputFields":[{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateOrderInput","description":null,"fields":null,"inputFields":[{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentInput","description":"Passed as input to the `addPaymentToOrder` mutation.","fields":null,"inputFields":[{"name":"method","description":"This field should correspond to the `code` property of a PaymentMethod.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":"This field should contain arbitrary data passed to the specified PaymentMethodHandler's `createPayment()` method\nas the \"metadata\" argument. For example, it could contain an ID for the payment and other\ndata generated by the payment provider.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"JSON","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionListOptions","description":null,"fields":null,"inputFields":[{"name":"topLevelOnly","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"FacetSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"OrderSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProductSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":"Skips the first n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"take","description":"Takes n results, for use in pagination","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sort","description":"Specifies which properties to sort the results by","type":{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filter","description":"Allows the results to be filtered","type":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"filterOperator","description":"Specifies whether multiple top-level \"filter\" fields should be combined with a logical AND or OR operation. Defaults to AND.","type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"AddPaymentToOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderPaymentStateError","ofType":null},{"kind":"OBJECT","name":"IneligiblePaymentMethodError","ofType":null},{"kind":"OBJECT","name":"PaymentFailedError","ofType":null},{"kind":"OBJECT","name":"PaymentDeclinedError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null}]},{"kind":"UNION","name":"TransitionOrderToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"SetCustomerForOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"AlreadyLoggedInError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null},{"kind":"OBJECT","name":"GuestCheckoutError","ofType":null}]},{"kind":"UNION","name":"RegisterCustomerAccountResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"MissingPasswordError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"RefreshCustomerVerificationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"VerifyCustomerAccountResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"VerificationTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"VerificationTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"MissingPasswordError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"PasswordAlreadySetError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"UpdateCustomerPasswordResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"RequestUpdateCustomerEmailAddressResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"UpdateCustomerEmailAddressResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"IdentifierChangeTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"IdentifierChangeTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"RequestPasswordResetResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Success","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"ResetPasswordResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"PasswordResetTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"PasswordResetTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"PasswordValidationError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null},{"kind":"OBJECT","name":"NotVerifiedError","ofType":null}]},{"kind":"UNION","name":"NativeAuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"NotVerifiedError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"AuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"NotVerifiedError","ofType":null}]},{"kind":"UNION","name":"ActiveOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"NoActiveOrderError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"stockLevel","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"title","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"active","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalQuantity","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotal","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"subTotalWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"totalWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetValueFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetValueSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"facetId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"position","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"parentId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"FacetSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"IDOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null}}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NativeAuthInput","description":null,"fields":null,"inputFields":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByURL","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Field","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__EnumValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isOneOf","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":"An enum describing what kind of type a given `__Type` is.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"SCALAR","description":"Indicates this type is a scalar.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Indicates this type is an object. `fields` and `interfaces` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultValue","description":"A GraphQL-formatted string representing the default value for this input value.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false","isDeprecated":false,"deprecationReason":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null}],"directives":[{"name":"include","description":"Directs the executor to include this field or fragment only when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Included when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"skip","description":"Directs the executor to skip this field or fragment when the `if` argument is true.","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":"Skipped when true.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],"args":[{"name":"reason","description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":"\"No longer supported\"","isDeprecated":false,"deprecationReason":null}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behavior of this scalar.","locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behavior of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null,"isDeprecated":false,"deprecationReason":null}]},{"name":"oneOf","description":"Indicates exactly one field must be supplied and this field must not be `null`.","locations":["INPUT_OBJECT"],"args":[]}]}}}