diff --git a/.prettierignore b/.prettierignore index 7796d8afdb..e57974ae28 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,5 @@ generated-types.ts lazy-extensions.module.ts shared-extensions.module.ts +generated-graphql-shop-errors.ts +generated-graphql-admin-errors.ts 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 9fc6907b09..eec634c43e 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 @@ -29,7 +29,6 @@ export type AddNoteToOrderInput = { }; export type Address = Node & { - __typename?: 'Address'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -48,7 +47,6 @@ export type Address = Node & { }; export type Adjustment = { - __typename?: 'Adjustment'; adjustmentSource: Scalars['String']; type: AdjustmentType; description: Scalars['String']; @@ -66,7 +64,6 @@ export enum AdjustmentType { } export type Administrator = Node & { - __typename?: 'Administrator'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -85,7 +82,6 @@ export type AdministratorFilterParameter = { }; export type AdministratorList = PaginatedList & { - __typename?: 'AdministratorList'; items: Array; totalItems: Scalars['Int']; }; @@ -107,7 +103,6 @@ export type AdministratorSortParameter = { }; export type Asset = Node & { - __typename?: 'Asset'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -136,7 +131,6 @@ export type AssetFilterParameter = { }; export type AssetList = PaginatedList & { - __typename?: 'AssetList'; items: Array; totalItems: Scalars['Int']; }; @@ -178,7 +172,6 @@ export type AuthenticationInput = { }; export type AuthenticationMethod = Node & { - __typename?: 'AuthenticationMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -186,7 +179,6 @@ export type AuthenticationMethod = Node & { }; export type BooleanCustomFieldConfig = CustomField & { - __typename?: 'BooleanCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -202,7 +194,6 @@ export type BooleanOperators = { export type Cancellation = Node & StockMovement & { - __typename?: 'Cancellation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -221,7 +212,6 @@ export type CancelOrderInput = { }; export type Channel = Node & { - __typename?: 'Channel'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -235,7 +225,6 @@ export type Channel = Node & { }; export type Collection = Node & { - __typename?: 'Collection'; isPrivate: Scalars['Boolean']; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -261,7 +250,6 @@ export type CollectionProductVariantsArgs = { }; export type CollectionBreadcrumb = { - __typename?: 'CollectionBreadcrumb'; id: Scalars['ID']; name: Scalars['String']; slug: Scalars['String']; @@ -279,7 +267,6 @@ export type CollectionFilterParameter = { }; export type CollectionList = PaginatedList & { - __typename?: 'CollectionList'; items: Array; totalItems: Scalars['Int']; }; @@ -302,7 +289,6 @@ export type CollectionSortParameter = { }; export type CollectionTranslation = { - __typename?: 'CollectionTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -313,13 +299,11 @@ export type CollectionTranslation = { }; export type ConfigArg = { - __typename?: 'ConfigArg'; name: Scalars['String']; value: Scalars['String']; }; export type ConfigArgDefinition = { - __typename?: 'ConfigArgDefinition'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -334,13 +318,11 @@ export type ConfigArgInput = { }; export type ConfigurableOperation = { - __typename?: 'ConfigurableOperation'; code: Scalars['String']; args: Array; }; export type ConfigurableOperationDefinition = { - __typename?: 'ConfigurableOperationDefinition'; code: Scalars['String']; args: Array; description: Scalars['String']; @@ -352,7 +334,6 @@ export type ConfigurableOperationInput = { }; export type Coordinate = { - __typename?: 'Coordinate'; x: Scalars['Float']; y: Scalars['Float']; }; @@ -363,7 +344,6 @@ export type CoordinateInput = { }; export type Country = Node & { - __typename?: 'Country'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -384,7 +364,6 @@ export type CountryFilterParameter = { }; export type CountryList = PaginatedList & { - __typename?: 'CountryList'; items: Array; totalItems: Scalars['Int']; }; @@ -405,7 +384,6 @@ export type CountrySortParameter = { }; export type CountryTranslation = { - __typename?: 'CountryTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -932,14 +910,12 @@ export enum CurrencyCode { } export type CurrentUser = { - __typename?: 'CurrentUser'; id: Scalars['ID']; identifier: Scalars['String']; channels: Array; }; export type CurrentUserChannel = { - __typename?: 'CurrentUserChannel'; id: Scalars['ID']; token: Scalars['String']; code: Scalars['String']; @@ -947,7 +923,6 @@ export type CurrentUserChannel = { }; export type Customer = Node & { - __typename?: 'Customer'; groups: Array; history: HistoryEntryList; id: Scalars['ID']; @@ -983,7 +958,6 @@ export type CustomerFilterParameter = { }; export type CustomerGroup = Node & { - __typename?: 'CustomerGroup'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1002,7 +976,6 @@ export type CustomerGroupFilterParameter = { }; export type CustomerGroupList = PaginatedList & { - __typename?: 'CustomerGroupList'; items: Array; totalItems: Scalars['Int']; }; @@ -1022,7 +995,6 @@ export type CustomerGroupSortParameter = { }; export type CustomerList = PaginatedList & { - __typename?: 'CustomerList'; items: Array; totalItems: Scalars['Int']; }; @@ -1064,7 +1036,6 @@ export type CustomFieldConfig = | DateTimeCustomFieldConfig; export type CustomFields = { - __typename?: 'CustomFields'; Address: Array; Collection: Array; Customer: Array; @@ -1098,7 +1069,6 @@ 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'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1112,7 +1082,6 @@ export type DateTimeCustomFieldConfig = CustomField & { }; export type DeletionResponse = { - __typename?: 'DeletionResponse'; result: DeletionResult; message?: Maybe; }; @@ -1125,8 +1094,9 @@ export enum DeletionResult { } export enum ErrorCode { - UnknownError = 'UnknownError', - MimeTypeError = 'MimeTypeError', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', + MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', } export type ErrorResult = { @@ -1135,7 +1105,6 @@ export type ErrorResult = { }; export type Facet = Node & { - __typename?: 'Facet'; isPrivate: Scalars['Boolean']; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -1158,7 +1127,6 @@ export type FacetFilterParameter = { }; export type FacetList = PaginatedList & { - __typename?: 'FacetList'; items: Array; totalItems: Scalars['Int']; }; @@ -1179,7 +1147,6 @@ export type FacetSortParameter = { }; export type FacetTranslation = { - __typename?: 'FacetTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1195,7 +1162,6 @@ export type FacetTranslationInput = { }; export type FacetValue = Node & { - __typename?: 'FacetValue'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1212,13 +1178,11 @@ export type FacetValue = Node & { * by the search, and in what quantity. */ export type FacetValueResult = { - __typename?: 'FacetValueResult'; facetValue: FacetValue; count: Scalars['Int']; }; export type FacetValueTranslation = { - __typename?: 'FacetValueTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1234,7 +1198,6 @@ export type FacetValueTranslationInput = { }; export type FloatCustomFieldConfig = CustomField & { - __typename?: 'FloatCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1248,7 +1211,6 @@ export type FloatCustomFieldConfig = CustomField & { }; export type Fulfillment = Node & { - __typename?: 'Fulfillment'; nextStates: Array; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -1266,7 +1228,6 @@ export type FulfillOrderInput = { }; export type GlobalSettings = { - __typename?: 'GlobalSettings'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1277,7 +1238,6 @@ export type GlobalSettings = { }; export type HistoryEntry = Node & { - __typename?: 'HistoryEntry'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1295,7 +1255,6 @@ export type HistoryEntryFilterParameter = { }; export type HistoryEntryList = PaginatedList & { - __typename?: 'HistoryEntryList'; items: Array; totalItems: Scalars['Int']; }; @@ -1340,14 +1299,12 @@ export enum HistoryEntryType { } export type ImportInfo = { - __typename?: 'ImportInfo'; errors?: Maybe>; processed: Scalars['Int']; imported: Scalars['Int']; }; export type IntCustomFieldConfig = CustomField & { - __typename?: 'IntCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1361,7 +1318,6 @@ export type IntCustomFieldConfig = CustomField & { }; export type Job = Node & { - __typename?: 'Job'; id: Scalars['ID']; createdAt: Scalars['DateTime']; startedAt?: Maybe; @@ -1388,7 +1344,6 @@ export type JobFilterParameter = { }; export type JobList = PaginatedList & { - __typename?: 'JobList'; items: Array; totalItems: Scalars['Int']; }; @@ -1401,7 +1356,6 @@ export type JobListOptions = { }; export type JobQueue = { - __typename?: 'JobQueue'; name: Scalars['String']; running: Scalars['Boolean']; }; @@ -1757,7 +1711,6 @@ export enum LanguageCode { } export type LocaleStringCustomFieldConfig = CustomField & { - __typename?: 'LocaleStringCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1770,7 +1723,6 @@ export type LocaleStringCustomFieldConfig = CustomField & { }; export type LocalizedString = { - __typename?: 'LocalizedString'; languageCode: LanguageCode; value: Scalars['String']; }; @@ -1781,12 +1733,10 @@ export enum LogicalOperator { } export type LoginResult = { - __typename?: 'LoginResult'; user: CurrentUser; }; export type MimeTypeError = ErrorResult & { - __typename?: 'MimeTypeError'; code: ErrorCode; message: Scalars['String']; fileName: Scalars['String']; @@ -1800,7 +1750,6 @@ export type MoveCollectionInput = { }; export type Mutation = { - __typename?: 'Mutation'; /** Create a new Administrator */ createAdministrator: Administrator; /** Update an existing Administrator */ @@ -1866,7 +1815,7 @@ export type Mutation = { /** Update an existing Address */ updateCustomerAddress: Address; /** Update an existing Address */ - deleteCustomerAddress: Scalars['Boolean']; + deleteCustomerAddress: Success; addNoteToCustomer: Customer; updateCustomerNote: HistoryEntry; deleteCustomerNote: DeletionResponse; @@ -1894,7 +1843,7 @@ export type Mutation = { addNoteToOrder: Order; updateOrderNote: HistoryEntry; deleteOrderNote: DeletionResponse; - transitionOrderToState?: Maybe; + transitionOrderToState?: Maybe; transitionFulfillmentToState: Fulfillment; setOrderCustomFields?: Maybe; /** Update an existing PaymentMethod */ @@ -2366,7 +2315,6 @@ export type NumberRange = { }; export type Order = Node & { - __typename?: 'Order'; nextStates: Array; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -2405,7 +2353,6 @@ export type OrderHistoryArgs = { }; export type OrderAddress = { - __typename?: 'OrderAddress'; fullName?: Maybe; company?: Maybe; streetLine1?: Maybe; @@ -2434,7 +2381,6 @@ export type OrderFilterParameter = { }; export type OrderItem = Node & { - __typename?: 'OrderItem'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2449,7 +2395,6 @@ export type OrderItem = Node & { }; export type OrderLine = Node & { - __typename?: 'OrderLine'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2471,7 +2416,6 @@ export type OrderLineInput = { }; export type OrderList = PaginatedList & { - __typename?: 'OrderList'; items: Array; totalItems: Scalars['Int']; }; @@ -2484,7 +2428,6 @@ export type OrderListOptions = { }; export type OrderProcessState = { - __typename?: 'OrderProcessState'; name: Scalars['String']; to: Array; }; @@ -2503,13 +2446,21 @@ export type OrderSortParameter = { total?: Maybe; }; +/** Returned if there is an error in transitioning the Order state */ +export type OrderStateTransitionError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + transitionError: Scalars['String']; + fromState: Scalars['String']; + toState: Scalars['String']; +}; + export type PaginatedList = { items: Array; totalItems: Scalars['Int']; }; export type Payment = Node & { - __typename?: 'Payment'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2523,7 +2474,6 @@ export type Payment = Node & { }; export type PaymentMethod = Node & { - __typename?: 'PaymentMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2541,7 +2491,6 @@ export type PaymentMethodFilterParameter = { }; export type PaymentMethodList = PaginatedList & { - __typename?: 'PaymentMethodList'; items: Array; totalItems: Scalars['Int']; }; @@ -2605,13 +2554,11 @@ export enum Permission { /** The price range where the result has more than one price */ export type PriceRange = { - __typename?: 'PriceRange'; min: Scalars['Int']; max: Scalars['Int']; }; export type Product = Node & { - __typename?: 'Product'; enabled: Scalars['Boolean']; channels: Array; id: Scalars['ID']; @@ -2642,7 +2589,6 @@ export type ProductFilterParameter = { }; export type ProductList = PaginatedList & { - __typename?: 'ProductList'; items: Array; totalItems: Scalars['Int']; }; @@ -2655,7 +2601,6 @@ export type ProductListOptions = { }; export type ProductOption = Node & { - __typename?: 'ProductOption'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2669,7 +2614,6 @@ export type ProductOption = Node & { }; export type ProductOptionGroup = Node & { - __typename?: 'ProductOptionGroup'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2682,7 +2626,6 @@ export type ProductOptionGroup = Node & { }; export type ProductOptionGroupTranslation = { - __typename?: 'ProductOptionGroupTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2698,7 +2641,6 @@ export type ProductOptionGroupTranslationInput = { }; export type ProductOptionTranslation = { - __typename?: 'ProductOptionTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2723,7 +2665,6 @@ export type ProductSortParameter = { }; export type ProductTranslation = { - __typename?: 'ProductTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2743,7 +2684,6 @@ export type ProductTranslationInput = { }; export type ProductVariant = Node & { - __typename?: 'ProductVariant'; enabled: Scalars['Boolean']; stockOnHand: Scalars['Int']; trackInventory: Scalars['Boolean']; @@ -2790,7 +2730,6 @@ export type ProductVariantFilterParameter = { }; export type ProductVariantList = PaginatedList & { - __typename?: 'ProductVariantList'; items: Array; totalItems: Scalars['Int']; }; @@ -2815,7 +2754,6 @@ export type ProductVariantSortParameter = { }; export type ProductVariantTranslation = { - __typename?: 'ProductVariantTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2831,7 +2769,6 @@ export type ProductVariantTranslationInput = { }; export type Promotion = Node & { - __typename?: 'Promotion'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2857,7 +2794,6 @@ export type PromotionFilterParameter = { }; export type PromotionList = PaginatedList & { - __typename?: 'PromotionList'; items: Array; totalItems: Scalars['Int']; }; @@ -2881,7 +2817,6 @@ export type PromotionSortParameter = { }; export type Query = { - __typename?: 'Query'; administrators: AdministratorList; administrator?: Maybe; /** Get a list of Assets */ @@ -3104,7 +3039,6 @@ export type QueryZoneArgs = { }; export type Refund = Node & { - __typename?: 'Refund'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3136,7 +3070,6 @@ export type RemoveProductsFromChannelInput = { export type Return = Node & StockMovement & { - __typename?: 'Return'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3147,7 +3080,6 @@ export type Return = Node & }; export type Role = Node & { - __typename?: 'Role'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3165,7 +3097,6 @@ export type RoleFilterParameter = { }; export type RoleList = PaginatedList & { - __typename?: 'RoleList'; items: Array; totalItems: Scalars['Int']; }; @@ -3187,7 +3118,6 @@ export type RoleSortParameter = { export type Sale = Node & StockMovement & { - __typename?: 'Sale'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3210,19 +3140,16 @@ export type SearchInput = { }; export type SearchReindexResponse = { - __typename?: 'SearchReindexResponse'; success: Scalars['Boolean']; }; export type SearchResponse = { - __typename?: 'SearchResponse'; items: Array; totalItems: Scalars['Int']; facetValues: Array; }; export type SearchResult = { - __typename?: 'SearchResult'; enabled: Scalars['Boolean']; /** An array of ids of the Collections in which this result appears */ channelIds: Array; @@ -3251,7 +3178,6 @@ export type SearchResult = { }; export type SearchResultAsset = { - __typename?: 'SearchResultAsset'; id: Scalars['ID']; preview: Scalars['String']; focalPoint?: Maybe; @@ -3266,7 +3192,6 @@ export type SearchResultSortParameter = { }; export type ServerConfig = { - __typename?: 'ServerConfig'; orderProcess: Array; permittedAssetTypes: Array; customFieldConfig: CustomFields; @@ -3278,7 +3203,6 @@ export type SettleRefundInput = { }; export type ShippingMethod = Node & { - __typename?: 'ShippingMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3297,7 +3221,6 @@ export type ShippingMethodFilterParameter = { }; export type ShippingMethodList = PaginatedList & { - __typename?: 'ShippingMethodList'; items: Array; totalItems: Scalars['Int']; }; @@ -3310,7 +3233,6 @@ export type ShippingMethodListOptions = { }; export type ShippingMethodQuote = { - __typename?: 'ShippingMethodQuote'; id: Scalars['ID']; price: Scalars['Int']; priceWithTax: Scalars['Int']; @@ -3328,7 +3250,6 @@ export type ShippingMethodSortParameter = { /** The price value where the result has a single price */ export type SinglePrice = { - __typename?: 'SinglePrice'; value: Scalars['Int']; }; @@ -3339,7 +3260,6 @@ export enum SortOrder { export type StockAdjustment = Node & StockMovement & { - __typename?: 'StockAdjustment'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3360,7 +3280,6 @@ export type StockMovement = { export type StockMovementItem = StockAdjustment | Sale | Cancellation | Return; export type StockMovementList = { - __typename?: 'StockMovementList'; items: Array; totalItems: Scalars['Int']; }; @@ -3379,7 +3298,6 @@ export enum StockMovementType { } export type StringCustomFieldConfig = CustomField & { - __typename?: 'StringCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -3393,7 +3311,6 @@ export type StringCustomFieldConfig = CustomField & { }; export type StringFieldOption = { - __typename?: 'StringFieldOption'; value: Scalars['String']; label?: Maybe>; }; @@ -3403,8 +3320,12 @@ export type StringOperators = { contains?: Maybe; }; +/** Indicates that an operation succeeded, where we do not want to return any more specific information. */ +export type Success = { + success: Scalars['Boolean']; +}; + export type TaxCategory = Node & { - __typename?: 'TaxCategory'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3412,7 +3333,6 @@ export type TaxCategory = Node & { }; export type TaxRate = Node & { - __typename?: 'TaxRate'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3433,7 +3353,6 @@ export type TaxRateFilterParameter = { }; export type TaxRateList = PaginatedList & { - __typename?: 'TaxRateList'; items: Array; totalItems: Scalars['Int']; }; @@ -3471,7 +3390,6 @@ export type TestShippingMethodOrderLineInput = { }; export type TestShippingMethodQuote = { - __typename?: 'TestShippingMethodQuote'; price: Scalars['Int']; priceWithTax: Scalars['Int']; description: Scalars['String']; @@ -3479,11 +3397,12 @@ export type TestShippingMethodQuote = { }; export type TestShippingMethodResult = { - __typename?: 'TestShippingMethodResult'; eligible: Scalars['Boolean']; quote?: Maybe; }; +export type TransitionOrderToStateResult = Order | OrderStateTransitionError; + export type UpdateAddressInput = { id: Scalars['ID']; fullName?: Maybe; @@ -3701,7 +3620,6 @@ export type UpdateZoneInput = { }; export type User = Node & { - __typename?: 'User'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3714,7 +3632,6 @@ export type User = Node & { }; export type Zone = Node & { - __typename?: 'Zone'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3726,12 +3643,11 @@ export type CreateAssetsMutationVariables = Exact<{ input: Array; }>; -export type CreateAssetsMutation = { __typename?: 'Mutation' } & { +export type CreateAssetsMutation = { createAssets: Array< - | ({ __typename?: 'Asset' } & Pick & { - focalPoint?: Maybe<{ __typename?: 'Coordinate' } & Pick>; - }) - | { __typename?: 'MimeTypeError' } + Pick & { + focalPoint?: Maybe>; + } >; }; @@ -3740,9 +3656,7 @@ export type DeleteAssetMutationVariables = Exact<{ force: Scalars['Boolean']; }>; -export type DeleteAssetMutation = { __typename?: 'Mutation' } & { - deleteAsset: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteAssetMutation = { deleteAsset: Pick }; type DiscriminateUnion = T extends U ? T : never; diff --git a/packages/common/src/generated-shop-types.ts b/packages/common/src/generated-shop-types.ts index 72d65f1a92..d9b5764e8c 100644 --- a/packages/common/src/generated-shop-types.ts +++ b/packages/common/src/generated-shop-types.ts @@ -16,6 +16,13 @@ export type Scalars = { Upload: any; }; +export type AddPaymentToOrderResult = + | Order + | OrderPaymentStateError + | PaymentFailedError + | PaymentDeclinedError + | OrderStateTransitionError; + export type Address = Node & { __typename?: 'Address'; id: Scalars['ID']; @@ -70,6 +77,19 @@ export type AdministratorList = PaginatedList & { totalItems: Scalars['Int']; }; +/** Retured when attemting to set the Customer for an Order when already logged in. */ +export type AlreadyLoggedInError = ErrorResult & { + __typename?: 'AlreadyLoggedInError'; + code: ErrorCode; + message: Scalars['String']; +}; + +export type ApplyCouponCodeResult = + | Order + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError; + export type Asset = Node & { __typename?: 'Asset'; id: Scalars['ID']; @@ -299,6 +319,31 @@ export type CountryTranslation = { name: Scalars['String']; }; +/** Returned if the provided coupon code is invalid */ +export type CouponCodeExpiredError = ErrorResult & { + __typename?: 'CouponCodeExpiredError'; + code: ErrorCode; + message: Scalars['String']; + couponCode: Scalars['String']; +}; + +/** Returned if the provided coupon code is invalid */ +export type CouponCodeInvalidError = ErrorResult & { + __typename?: 'CouponCodeInvalidError'; + code: ErrorCode; + message: Scalars['String']; + couponCode: Scalars['String']; +}; + +/** Returned if the provided coupon code is invalid */ +export type CouponCodeLimitError = ErrorResult & { + __typename?: 'CouponCodeLimitError'; + code: ErrorCode; + message: Scalars['String']; + couponCode: Scalars['String']; + limit: Scalars['Int']; +}; + export type CreateAddressInput = { fullName?: Maybe; company?: Maybe; @@ -807,10 +852,44 @@ export enum DeletionResult { NOT_DELETED = 'NOT_DELETED', } +/** Retured when attemting to create a Customer with an email address already registered to an existing User. */ +export type EmailAddressConflictError = ErrorResult & { + __typename?: 'EmailAddressConflictError'; + code: ErrorCode; + message: Scalars['String']; +}; + export enum ErrorCode { - UnknownError = 'UnknownError', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', + ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', + ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', + NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_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', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', + ORDER_PAYMENT_STATE_ERROR = 'ORDER_PAYMENT_STATE_ERROR', + PAYMENT_FAILED_ERROR = 'PAYMENT_FAILED_ERROR', + PAYMENT_DECLINED_ERROR = 'PAYMENT_DECLINED_ERROR', + ALREADY_LOGGED_IN_ERROR = 'ALREADY_LOGGED_IN_ERROR', + EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', + MISSING_PASSWORD_ERROR = 'MISSING_PASSWORD_ERROR', + NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', + VERIFICATION_TOKEN_INVALID_ERROR = 'VERIFICATION_TOKEN_INVALID_ERROR', + VERIFICATION_TOKEN_EXPIRED_ERROR = 'VERIFICATION_TOKEN_EXPIRED_ERROR', + PASSWORD_ALREADY_SET_ERROR = 'PASSWORD_ALREADY_SET_ERROR', + INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', + IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR = 'IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR', + IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR = 'IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR', + PASSWORD_RESET_TOKEN_INVALID_ERROR = 'PASSWORD_RESET_TOKEN_INVALID_ERROR', + PASSWORD_RESET_TOKEN_EXPIRED_ERROR = 'PASSWORD_RESET_TOKEN_EXPIRED_ERROR', } +export type ErrorResult = { + code: ErrorCode; + message: Scalars['String']; +}; + export type Facet = Node & { __typename?: 'Facet'; id: Scalars['ID']; @@ -970,6 +1049,26 @@ export enum HistoryEntryType { ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', } +/** + * Retured if the token used to change a Customer's email address is valid, but has + * expired according to the `verificationTokenDuration` setting in the AuthOptions. + */ +export type IdentifierChangeTokenExpiredError = ErrorResult & { + __typename?: 'IdentifierChangeTokenExpiredError'; + code: ErrorCode; + message: Scalars['String']; +}; + +/** + * Retured if the token used to change a Customer's email address is either + * invalid or does not match any expected tokens. + */ +export type IdentifierChangeTokenInvalidError = ErrorResult & { + __typename?: 'IdentifierChangeTokenInvalidError'; + code: ErrorCode; + message: Scalars['String']; +}; + export type ImportInfo = { __typename?: 'ImportInfo'; errors?: Maybe>; @@ -991,6 +1090,13 @@ export type IntCustomFieldConfig = CustomField & { step?: Maybe; }; +/** Returned if the user credentials are not valid */ +export type InvalidCredentialsError = ErrorResult & { + __typename?: 'InvalidCredentialsError'; + code: ErrorCode; + message: Scalars['String']; +}; + /** * @description * Languages in the form of a ISO 639-1 language code with optional @@ -1346,28 +1452,35 @@ export type LoginResult = { user: CurrentUser; }; +/** Retured when attemting to register or verify a customer account without a password, when one is required. */ +export type MissingPasswordError = ErrorResult & { + __typename?: 'MissingPasswordError'; + code: ErrorCode; + message: Scalars['String']; +}; + 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?: Maybe; + addItemToOrder: UpdateOrderItemsResult; /** Remove an OrderLine from the Order */ - removeOrderLine?: Maybe; + removeOrderLine: RemoveOrderItemsResult; /** Remove all OrderLine from the Order */ - removeAllOrderLines?: Maybe; + removeAllOrderLines: RemoveOrderItemsResult; /** * Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a * third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ - adjustOrderLine?: Maybe; + adjustOrderLine: UpdateOrderItemsResult; /** Applies the given coupon code to the active Order */ - applyCouponCode?: Maybe; + applyCouponCode: ApplyCouponCodeResult; /** Removes the given coupon code from the active Order */ removeCouponCode?: Maybe; /** Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates` */ - transitionOrderToState?: Maybe; + transitionOrderToState?: Maybe; /** Sets the shipping address for this order */ setOrderShippingAddress?: Maybe; /** Sets the billing address for this order */ @@ -1375,11 +1488,11 @@ export type Mutation = { /** Allows any custom fields to be set for the active order */ setOrderCustomFields?: Maybe; /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query */ - setOrderShippingMethod?: Maybe; + setOrderShippingMethod: SetOrderShippingMethodResult; /** Add a Payment to the Order */ - addPaymentToOrder?: Maybe; + addPaymentToOrder?: Maybe; /** Set the Customer for the Order. Required only if the Customer is not currently logged in */ - setCustomerForOrder?: Maybe; + setCustomerForOrder?: Maybe; /** * Authenticates the user using the native authentication strategy. This mutation * is an alias for `authenticate({ native: { ... }})` @@ -1389,11 +1502,6 @@ export type Mutation = { authenticate: LoginResult; /** End the current authenticated session */ logout: Scalars['Boolean']; - /** - * Regenerate and send a verification token for a new Customer registration. Only - * applicable if `authOptions.requireVerification` is set to true. - */ - refreshCustomerVerification: Scalars['Boolean']; /** * Register a Customer account with the given credentials. There are three possible registration flows: * @@ -1415,7 +1523,12 @@ export type Mutation = { * 3. The Customer _must_ be registered _with_ a password. No further action is * needed - the Customer is able to authenticate immediately. */ - registerCustomerAccount: Scalars['Boolean']; + registerCustomerAccount: RegisterCustomerAccountResult; + /** + * Regenerate and send a verification token for a new Customer registration. Only + * applicable if `authOptions.requireVerification` is set to true. + */ + refreshCustomerVerification: RefreshCustomerVerificationResult; /** Update an existing Customer */ updateCustomer: Customer; /** Create a new Customer Address */ @@ -1423,7 +1536,7 @@ export type Mutation = { /** Update an existing Address */ updateCustomerAddress: Address; /** Delete an existing Address */ - deleteCustomerAddress: Scalars['Boolean']; + deleteCustomerAddress: Success; /** * Verify a Customer email address with the token sent to that address. Only * applicable if `authOptions.requireVerification` is set to true. @@ -1431,25 +1544,25 @@ export type Mutation = { * If the Customer was not registered with a password in the `registerCustomerAccount` mutation, the a password _must_ be * provided here. */ - verifyCustomerAccount: LoginResult; + verifyCustomerAccount: VerifyCustomerAccountResult; /** Update the password of the active Customer */ - updateCustomerPassword?: Maybe; + updateCustomerPassword: UpdateCustomerPasswordResult; /** * 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?: Maybe; + requestUpdateCustomerEmailAddress: RequestUpdateCustomerEmailAddressResult; /** * Confirm the update of the emailAddress with the provided token, which has been generated by the * `requestUpdateCustomerEmailAddress` mutation. */ - updateCustomerEmailAddress?: Maybe; + updateCustomerEmailAddress: UpdateCustomerEmailAddressResult; /** Requests a password reset email to be sent */ - requestPasswordReset?: Maybe; + requestPasswordReset?: Maybe; /** Resets a Customer's password based on the provided token */ - resetPassword: LoginResult; + resetPassword: ResetPasswordResult; }; export type MutationAddItemToOrderArgs = { @@ -1513,14 +1626,14 @@ export type MutationAuthenticateArgs = { rememberMe?: Maybe; }; -export type MutationRefreshCustomerVerificationArgs = { - emailAddress: Scalars['String']; -}; - export type MutationRegisterCustomerAccountArgs = { input: RegisterCustomerInput; }; +export type MutationRefreshCustomerVerificationArgs = { + emailAddress: Scalars['String']; +}; + export type MutationUpdateCustomerArgs = { input: UpdateCustomerInput; }; @@ -1570,6 +1683,20 @@ export type NativeAuthInput = { password: Scalars['String']; }; +/** Retured when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */ +export type NativeAuthStrategyError = ErrorResult & { + __typename?: 'NativeAuthStrategyError'; + code: ErrorCode; + message: Scalars['String']; +}; + +/** Retured when attemting to set a negative OrderLine quantity. */ +export type NegativeQuantityError = ErrorResult & { + __typename?: 'NegativeQuantityError'; + code: ErrorCode; + message: Scalars['String']; +}; + export type Node = { id: Scalars['ID']; }; @@ -1670,6 +1797,14 @@ export type OrderItem = Node & { refundId?: Maybe; }; +/** Retured when the maximum order size limit has been reached. */ +export type OrderLimitError = ErrorResult & { + __typename?: 'OrderLimitError'; + code: ErrorCode; + message: Scalars['String']; + maxItems: Scalars['Int']; +}; + export type OrderLine = Node & { __typename?: 'OrderLine'; id: Scalars['ID']; @@ -1700,6 +1835,20 @@ export type OrderListOptions = { filter?: Maybe; }; +/** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */ +export type OrderModificationError = ErrorResult & { + __typename?: 'OrderModificationError'; + code: ErrorCode; + message: Scalars['String']; +}; + +/** Returned when attempting to add a Payment to an Order that is not in the `ArrangingPayment` state. */ +export type OrderPaymentStateError = ErrorResult & { + __typename?: 'OrderPaymentStateError'; + code: ErrorCode; + message: Scalars['String']; +}; + export type OrderProcessState = { __typename?: 'OrderProcessState'; name: Scalars['String']; @@ -1720,11 +1869,48 @@ export type OrderSortParameter = { total?: Maybe; }; +/** Returned if there is an error in transitioning the Order state */ +export type OrderStateTransitionError = ErrorResult & { + __typename?: 'OrderStateTransitionError'; + code: ErrorCode; + message: Scalars['String']; + transitionError: Scalars['String']; + fromState: Scalars['String']; + toState: Scalars['String']; +}; + export type PaginatedList = { items: Array; totalItems: Scalars['Int']; }; +/** Retured when attemting to verify a customer account with a password, when a password has already been set. */ +export type PasswordAlreadySetError = ErrorResult & { + __typename?: 'PasswordAlreadySetError'; + code: ErrorCode; + message: Scalars['String']; +}; + +/** + * Retured if the token used to reset a Customer's password is valid, but has + * expired according to the `verificationTokenDuration` setting in the AuthOptions. + */ +export type PasswordResetTokenExpiredError = ErrorResult & { + __typename?: 'PasswordResetTokenExpiredError'; + code: ErrorCode; + message: Scalars['String']; +}; + +/** + * Retured if the token used to reset a Customer's password is either + * invalid or does not match any expected tokens. + */ +export type PasswordResetTokenInvalidError = ErrorResult & { + __typename?: 'PasswordResetTokenInvalidError'; + code: ErrorCode; + message: Scalars['String']; +}; + export type Payment = Node & { __typename?: 'Payment'; id: Scalars['ID']; @@ -1739,6 +1925,22 @@ export type Payment = Node & { metadata?: Maybe; }; +/** Returned when a Payment is declined by the payment provider. */ +export type PaymentDeclinedError = ErrorResult & { + __typename?: 'PaymentDeclinedError'; + code: ErrorCode; + message: Scalars['String']; + paymentErrorMessage: Scalars['String']; +}; + +/** Returned when a Payment fails due to an error. */ +export type PaymentFailedError = ErrorResult & { + __typename?: 'PaymentFailedError'; + code: ErrorCode; + message: Scalars['String']; + paymentErrorMessage: Scalars['String']; +}; + /** Passed as input to the `addPaymentToOrder` mutation. */ export type PaymentInput = { /** This field should correspond to the `code` property of a PaymentMethodHandler. */ @@ -2082,6 +2284,8 @@ export type QuerySearchArgs = { input: SearchInput; }; +export type RefreshCustomerVerificationResult = Success | NativeAuthStrategyError; + export type Refund = Node & { __typename?: 'Refund'; id: Scalars['ID']; @@ -2100,6 +2304,8 @@ export type Refund = Node & { metadata?: Maybe; }; +export type RegisterCustomerAccountResult = Success | MissingPasswordError | NativeAuthStrategyError; + export type RegisterCustomerInput = { emailAddress: Scalars['String']; title?: Maybe; @@ -2109,6 +2315,22 @@ export type RegisterCustomerInput = { password?: Maybe; }; +export type RemoveOrderItemsResult = Order | OrderModificationError; + +export type RequestPasswordResetResult = Success | NativeAuthStrategyError; + +export type RequestUpdateCustomerEmailAddressResult = + | Success + | InvalidCredentialsError + | EmailAddressConflictError + | NativeAuthStrategyError; + +export type ResetPasswordResult = + | CurrentUser + | PasswordResetTokenInvalidError + | PasswordResetTokenExpiredError + | NativeAuthStrategyError; + export type Return = Node & StockMovement & { __typename?: 'Return'; @@ -2222,6 +2444,10 @@ export type ServerConfig = { customFieldConfig: CustomFields; }; +export type SetCustomerForOrderResult = Order | AlreadyLoggedInError | EmailAddressConflictError; + +export type SetOrderShippingMethodResult = Order | OrderModificationError; + export type ShippingMethod = Node & { __typename?: 'ShippingMethod'; id: Scalars['ID']; @@ -2320,6 +2546,12 @@ export type StringOperators = { contains?: Maybe; }; +/** Indicates that an operation succeeded, where we do not want to return any more specific information. */ +export type Success = { + __typename?: 'Success'; + success: Scalars['Boolean']; +}; + export type TaxCategory = Node & { __typename?: 'TaxCategory'; id: Scalars['ID']; @@ -2347,6 +2579,8 @@ export type TaxRateList = PaginatedList & { totalItems: Scalars['Int']; }; +export type TransitionOrderToStateResult = Order | OrderStateTransitionError; + export type UpdateAddressInput = { id: Scalars['ID']; fullName?: Maybe; @@ -2363,6 +2597,12 @@ export type UpdateAddressInput = { customFields?: Maybe; }; +export type UpdateCustomerEmailAddressResult = + | Success + | IdentifierChangeTokenInvalidError + | IdentifierChangeTokenExpiredError + | NativeAuthStrategyError; + export type UpdateCustomerInput = { title?: Maybe; firstName?: Maybe; @@ -2371,10 +2611,14 @@ export type UpdateCustomerInput = { customFields?: Maybe; }; +export type UpdateCustomerPasswordResult = Success | InvalidCredentialsError | NativeAuthStrategyError; + export type UpdateOrderInput = { customFields?: Maybe; }; +export type UpdateOrderItemsResult = Order | OrderModificationError | OrderLimitError | NegativeQuantityError; + export type User = Node & { __typename?: 'User'; id: Scalars['ID']; @@ -2388,6 +2632,34 @@ export type User = Node & { customFields?: Maybe; }; +/** + * Returned if the verification token (used to verify a Customer's email address) is valid, but has + * expired according to the `verificationTokenDuration` setting in the AuthOptions. + */ +export type VerificationTokenExpiredError = ErrorResult & { + __typename?: 'VerificationTokenExpiredError'; + code: ErrorCode; + message: Scalars['String']; +}; + +/** + * Retured if the verification token (used to verify a Customer's email address) is either + * invalid or does not match any expected tokens. + */ +export type VerificationTokenInvalidError = ErrorResult & { + __typename?: 'VerificationTokenInvalidError'; + code: ErrorCode; + message: Scalars['String']; +}; + +export type VerifyCustomerAccountResult = + | CurrentUser + | VerificationTokenInvalidError + | VerificationTokenExpiredError + | MissingPasswordError + | PasswordAlreadySetError + | NativeAuthStrategyError; + export type Zone = Node & { __typename?: 'Zone'; id: Scalars['ID']; diff --git a/packages/common/src/generated-types.ts b/packages/common/src/generated-types.ts index c2be75c128..685081a9e6 100644 --- a/packages/common/src/generated-types.ts +++ b/packages/common/src/generated-types.ts @@ -1123,8 +1123,9 @@ export enum DeletionResult { } export enum ErrorCode { - UnknownError = 'UnknownError', - MimeTypeError = 'MimeTypeError' + UNKNOWN_ERROR = 'UNKNOWN_ERROR', + MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR' } export type ErrorResult = { @@ -1865,7 +1866,7 @@ export type Mutation = { /** Update an existing Address */ updateCustomerAddress: Address; /** Update an existing Address */ - deleteCustomerAddress: Scalars['Boolean']; + deleteCustomerAddress: Success; addNoteToCustomer: Customer; updateCustomerNote: HistoryEntry; deleteCustomerNote: DeletionResponse; @@ -1893,7 +1894,7 @@ export type Mutation = { addNoteToOrder: Order; updateOrderNote: HistoryEntry; deleteOrderNote: DeletionResponse; - transitionOrderToState?: Maybe; + transitionOrderToState?: Maybe; transitionFulfillmentToState: Fulfillment; setOrderCustomFields?: Maybe; /** Update an existing PaymentMethod */ @@ -2592,6 +2593,16 @@ export type OrderSortParameter = { total?: Maybe; }; +/** Returned if there is an error in transitioning the Order state */ +export type OrderStateTransitionError = ErrorResult & { + __typename?: 'OrderStateTransitionError'; + code: ErrorCode; + message: Scalars['String']; + transitionError: Scalars['String']; + fromState: Scalars['String']; + toState: Scalars['String']; +}; + export type PaginatedList = { items: Array; totalItems: Scalars['Int']; @@ -3530,6 +3541,12 @@ export type StringOperators = { contains?: Maybe; }; +/** Indicates that an operation succeeded, where we do not want to return any more specific information. */ +export type Success = { + __typename?: 'Success'; + success: Scalars['Boolean']; +}; + export type TaxCategory = Node & { __typename?: 'TaxCategory'; id: Scalars['ID']; @@ -3611,6 +3628,8 @@ export type TestShippingMethodResult = { quote?: Maybe; }; +export type TransitionOrderToStateResult = Order | OrderStateTransitionError; + export type UpdateAddressInput = { id: Scalars['ID']; fullName?: Maybe; diff --git a/packages/core/e2e/asset.e2e-spec.ts b/packages/core/e2e/asset.e2e-spec.ts index e2dc94e780..cef4bdcd19 100644 --- a/packages/core/e2e/asset.e2e-spec.ts +++ b/packages/core/e2e/asset.e2e-spec.ts @@ -1,7 +1,7 @@ /* tslint:disable:no-non-null-assertion */ import { omit } from '@vendure/common/lib/omit'; import { mergeConfig } from '@vendure/core'; -import { createTestEnvironment } from '@vendure/testing'; +import { createErrorResultGuard, createTestEnvironment, ErrorResultGuard } from '@vendure/testing'; import gql from 'graphql-tag'; import path from 'path'; @@ -10,6 +10,7 @@ import { TEST_SETUP_TIMEOUT_MS, testConfig } from '../../../e2e-common/test-conf import { ASSET_FRAGMENT } from './graphql/fragments'; import { + AssetFragment, CreateAssets, DeleteAsset, DeletionResult, @@ -136,7 +137,7 @@ describe('Asset resolver', () => { }); describe('createAssets', () => { - function isAsset(input: CreateAssets.CreateAssets): input is CreateAssets.AssetInlineFragment { + function isAsset(input: CreateAssets.CreateAssets): input is AssetFragment { return input.hasOwnProperty('name'); } @@ -216,7 +217,7 @@ describe('Asset resolver', () => { expect(createAssets.length).toBe(1); expect(createAssets[0]).toEqual({ - message: 'error.mime-type-not-permitted', + message: `The MIME type 'text/plain' is not permitted.`, mimeType: 'text/plain', fileName: 'dummy.txt', }); diff --git a/packages/core/e2e/authentication-strategy.e2e-spec.ts b/packages/core/e2e/authentication-strategy.e2e-spec.ts index 7f8ab1b7d9..323793dcd3 100644 --- a/packages/core/e2e/authentication-strategy.e2e-spec.ts +++ b/packages/core/e2e/authentication-strategy.e2e-spec.ts @@ -1,6 +1,6 @@ import { pick } from '@vendure/common/lib/pick'; import { mergeConfig } from '@vendure/core'; -import { createTestEnvironment } from '@vendure/testing'; +import { createErrorResultGuard, createTestEnvironment, ErrorResultGuard } from '@vendure/testing'; import gql from 'graphql-tag'; import path from 'path'; @@ -160,6 +160,10 @@ describe('AuthenticationStrategy', () => { }); it('registerCustomerAccount with external email', async () => { + const successErrorGuard: ErrorResultGuard<{ success: boolean }> = createErrorResultGuard<{ + success: boolean; + }>(input => input.success != null); + const { registerCustomerAccount } = await shopClient.query( REGISTER_ACCOUNT, { @@ -168,8 +172,9 @@ describe('AuthenticationStrategy', () => { }, }, ); + successErrorGuard.assertSuccess(registerCustomerAccount); - expect(registerCustomerAccount).toBe(true); + expect(registerCustomerAccount.success).toBe(true); const { customer } = await adminClient.query< GetCustomerUserAuth.Query, GetCustomerUserAuth.Variables diff --git a/packages/core/e2e/customer.e2e-spec.ts b/packages/core/e2e/customer.e2e-spec.ts index b25442524f..bd4441b566 100644 --- a/packages/core/e2e/customer.e2e-spec.ts +++ b/packages/core/e2e/customer.e2e-spec.ts @@ -9,7 +9,7 @@ import { mergeConfig, VendurePlugin, } from '@vendure/core'; -import { createTestEnvironment } from '@vendure/testing'; +import { createErrorResultGuard, createTestEnvironment, ErrorResultGuard } from '@vendure/testing'; import gql from 'graphql-tag'; import path from 'path'; @@ -34,7 +34,7 @@ import { UpdateCustomer, UpdateCustomerNote, } from './graphql/generated-e2e-admin-types'; -import { AddItemToOrder } from './graphql/generated-e2e-shop-types'; +import { AddItemToOrder, UpdatedOrderFragment } from './graphql/generated-e2e-shop-types'; import { CREATE_ADDRESS, CREATE_CUSTOMER, @@ -331,13 +331,15 @@ describe('Customer resolver', () => { >( gql` mutation DeleteCustomerAddress($id: ID!) { - deleteCustomerAddress(id: $id) + deleteCustomerAddress(id: $id) { + success + } } `, { id: firstCustomerThirdAddressId }, ); - expect(deleteCustomerAddress).toBe(true); + expect(deleteCustomerAddress.success).toBe(true); const { customer } = await adminClient.query( GET_CUSTOMER, @@ -358,6 +360,10 @@ describe('Customer resolver', () => { }); describe('orders', () => { + const orderResultGuard: ErrorResultGuard = createErrorResultGuard< + UpdatedOrderFragment + >(input => !!input.lines); + it(`lists that user\'s orders`, async () => { // log in as first customer await shopClient.asUserWithCredentials(firstCustomer.emailAddress, 'test'); @@ -369,6 +375,7 @@ describe('Customer resolver', () => { productVariantId: 'T_1', quantity: 1, }); + orderResultGuard.assertSuccess(addItemToOrder); const { customer } = await adminClient.query< GetCustomerOrders.Query, diff --git a/packages/core/e2e/fixtures/test-payment-methods.ts b/packages/core/e2e/fixtures/test-payment-methods.ts index 4962c28158..a888a558da 100644 --- a/packages/core/e2e/fixtures/test-payment-methods.ts +++ b/packages/core/e2e/fixtures/test-payment-methods.ts @@ -14,7 +14,7 @@ export const testSuccessfulPaymentMethod = new PaymentMethodHandler({ metadata, }; }, - settlePayment: (order) => ({ + settlePayment: order => ({ success: true, }), }); @@ -105,10 +105,11 @@ export const testFailingPaymentMethod = new PaymentMethodHandler({ return { amount: order.total, state: 'Declined', + errorMessage: 'Insufficient funds', metadata, }; }, - settlePayment: (order) => ({ + settlePayment: order => ({ success: true, }), }); @@ -124,7 +125,7 @@ export const testErrorPaymentMethod = new PaymentMethodHandler({ metadata, }; }, - settlePayment: (order) => ({ + settlePayment: order => ({ success: true, }), }); diff --git a/packages/core/e2e/graphql/fragments.ts b/packages/core/e2e/graphql/fragments.ts index c28bbfb3d1..a8d3873393 100644 --- a/packages/core/e2e/graphql/fragments.ts +++ b/packages/core/e2e/graphql/fragments.ts @@ -452,6 +452,7 @@ export const TAX_RATE_FRAGMENT = gql` } } `; + export const CURRENT_USER_FRAGMENT = gql` fragment CurrentUser on CurrentUser { id @@ -463,6 +464,7 @@ export const CURRENT_USER_FRAGMENT = gql` } } `; + export const VARIANT_WITH_STOCK_FRAGMENT = gql` fragment VariantWithStock on ProductVariant { id diff --git a/packages/core/e2e/graphql/generated-e2e-admin-types.ts b/packages/core/e2e/graphql/generated-e2e-admin-types.ts index d95d59448a..a875870991 100644 --- a/packages/core/e2e/graphql/generated-e2e-admin-types.ts +++ b/packages/core/e2e/graphql/generated-e2e-admin-types.ts @@ -29,7 +29,6 @@ export type AddNoteToOrderInput = { }; export type Address = Node & { - __typename?: 'Address'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -48,7 +47,6 @@ export type Address = Node & { }; export type Adjustment = { - __typename?: 'Adjustment'; adjustmentSource: Scalars['String']; type: AdjustmentType; description: Scalars['String']; @@ -66,7 +64,6 @@ export enum AdjustmentType { } export type Administrator = Node & { - __typename?: 'Administrator'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -85,7 +82,6 @@ export type AdministratorFilterParameter = { }; export type AdministratorList = PaginatedList & { - __typename?: 'AdministratorList'; items: Array; totalItems: Scalars['Int']; }; @@ -107,7 +103,6 @@ export type AdministratorSortParameter = { }; export type Asset = Node & { - __typename?: 'Asset'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -136,7 +131,6 @@ export type AssetFilterParameter = { }; export type AssetList = PaginatedList & { - __typename?: 'AssetList'; items: Array; totalItems: Scalars['Int']; }; @@ -178,7 +172,6 @@ export type AuthenticationInput = { }; export type AuthenticationMethod = Node & { - __typename?: 'AuthenticationMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -186,7 +179,6 @@ export type AuthenticationMethod = Node & { }; export type BooleanCustomFieldConfig = CustomField & { - __typename?: 'BooleanCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -202,7 +194,6 @@ export type BooleanOperators = { export type Cancellation = Node & StockMovement & { - __typename?: 'Cancellation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -221,7 +212,6 @@ export type CancelOrderInput = { }; export type Channel = Node & { - __typename?: 'Channel'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -235,7 +225,6 @@ export type Channel = Node & { }; export type Collection = Node & { - __typename?: 'Collection'; isPrivate: Scalars['Boolean']; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -261,7 +250,6 @@ export type CollectionProductVariantsArgs = { }; export type CollectionBreadcrumb = { - __typename?: 'CollectionBreadcrumb'; id: Scalars['ID']; name: Scalars['String']; slug: Scalars['String']; @@ -279,7 +267,6 @@ export type CollectionFilterParameter = { }; export type CollectionList = PaginatedList & { - __typename?: 'CollectionList'; items: Array; totalItems: Scalars['Int']; }; @@ -302,7 +289,6 @@ export type CollectionSortParameter = { }; export type CollectionTranslation = { - __typename?: 'CollectionTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -313,13 +299,11 @@ export type CollectionTranslation = { }; export type ConfigArg = { - __typename?: 'ConfigArg'; name: Scalars['String']; value: Scalars['String']; }; export type ConfigArgDefinition = { - __typename?: 'ConfigArgDefinition'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -334,13 +318,11 @@ export type ConfigArgInput = { }; export type ConfigurableOperation = { - __typename?: 'ConfigurableOperation'; code: Scalars['String']; args: Array; }; export type ConfigurableOperationDefinition = { - __typename?: 'ConfigurableOperationDefinition'; code: Scalars['String']; args: Array; description: Scalars['String']; @@ -352,7 +334,6 @@ export type ConfigurableOperationInput = { }; export type Coordinate = { - __typename?: 'Coordinate'; x: Scalars['Float']; y: Scalars['Float']; }; @@ -363,7 +344,6 @@ export type CoordinateInput = { }; export type Country = Node & { - __typename?: 'Country'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -384,7 +364,6 @@ export type CountryFilterParameter = { }; export type CountryList = PaginatedList & { - __typename?: 'CountryList'; items: Array; totalItems: Scalars['Int']; }; @@ -405,7 +384,6 @@ export type CountrySortParameter = { }; export type CountryTranslation = { - __typename?: 'CountryTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -932,14 +910,12 @@ export enum CurrencyCode { } export type CurrentUser = { - __typename?: 'CurrentUser'; id: Scalars['ID']; identifier: Scalars['String']; channels: Array; }; export type CurrentUserChannel = { - __typename?: 'CurrentUserChannel'; id: Scalars['ID']; token: Scalars['String']; code: Scalars['String']; @@ -947,7 +923,6 @@ export type CurrentUserChannel = { }; export type Customer = Node & { - __typename?: 'Customer'; groups: Array; history: HistoryEntryList; id: Scalars['ID']; @@ -983,7 +958,6 @@ export type CustomerFilterParameter = { }; export type CustomerGroup = Node & { - __typename?: 'CustomerGroup'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1002,7 +976,6 @@ export type CustomerGroupFilterParameter = { }; export type CustomerGroupList = PaginatedList & { - __typename?: 'CustomerGroupList'; items: Array; totalItems: Scalars['Int']; }; @@ -1022,7 +995,6 @@ export type CustomerGroupSortParameter = { }; export type CustomerList = PaginatedList & { - __typename?: 'CustomerList'; items: Array; totalItems: Scalars['Int']; }; @@ -1064,7 +1036,6 @@ export type CustomFieldConfig = | DateTimeCustomFieldConfig; export type CustomFields = { - __typename?: 'CustomFields'; Address: Array; Collection: Array; Customer: Array; @@ -1098,7 +1069,6 @@ 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'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1112,7 +1082,6 @@ export type DateTimeCustomFieldConfig = CustomField & { }; export type DeletionResponse = { - __typename?: 'DeletionResponse'; result: DeletionResult; message?: Maybe; }; @@ -1125,8 +1094,9 @@ export enum DeletionResult { } export enum ErrorCode { - UnknownError = 'UnknownError', - MimeTypeError = 'MimeTypeError', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', + MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', } export type ErrorResult = { @@ -1135,7 +1105,6 @@ export type ErrorResult = { }; export type Facet = Node & { - __typename?: 'Facet'; isPrivate: Scalars['Boolean']; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -1158,7 +1127,6 @@ export type FacetFilterParameter = { }; export type FacetList = PaginatedList & { - __typename?: 'FacetList'; items: Array; totalItems: Scalars['Int']; }; @@ -1179,7 +1147,6 @@ export type FacetSortParameter = { }; export type FacetTranslation = { - __typename?: 'FacetTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1195,7 +1162,6 @@ export type FacetTranslationInput = { }; export type FacetValue = Node & { - __typename?: 'FacetValue'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1212,13 +1178,11 @@ export type FacetValue = Node & { * by the search, and in what quantity. */ export type FacetValueResult = { - __typename?: 'FacetValueResult'; facetValue: FacetValue; count: Scalars['Int']; }; export type FacetValueTranslation = { - __typename?: 'FacetValueTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1234,7 +1198,6 @@ export type FacetValueTranslationInput = { }; export type FloatCustomFieldConfig = CustomField & { - __typename?: 'FloatCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1248,7 +1211,6 @@ export type FloatCustomFieldConfig = CustomField & { }; export type Fulfillment = Node & { - __typename?: 'Fulfillment'; nextStates: Array; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -1266,7 +1228,6 @@ export type FulfillOrderInput = { }; export type GlobalSettings = { - __typename?: 'GlobalSettings'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1277,7 +1238,6 @@ export type GlobalSettings = { }; export type HistoryEntry = Node & { - __typename?: 'HistoryEntry'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1295,7 +1255,6 @@ export type HistoryEntryFilterParameter = { }; export type HistoryEntryList = PaginatedList & { - __typename?: 'HistoryEntryList'; items: Array; totalItems: Scalars['Int']; }; @@ -1340,14 +1299,12 @@ export enum HistoryEntryType { } export type ImportInfo = { - __typename?: 'ImportInfo'; errors?: Maybe>; processed: Scalars['Int']; imported: Scalars['Int']; }; export type IntCustomFieldConfig = CustomField & { - __typename?: 'IntCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1361,7 +1318,6 @@ export type IntCustomFieldConfig = CustomField & { }; export type Job = Node & { - __typename?: 'Job'; id: Scalars['ID']; createdAt: Scalars['DateTime']; startedAt?: Maybe; @@ -1388,7 +1344,6 @@ export type JobFilterParameter = { }; export type JobList = PaginatedList & { - __typename?: 'JobList'; items: Array; totalItems: Scalars['Int']; }; @@ -1401,7 +1356,6 @@ export type JobListOptions = { }; export type JobQueue = { - __typename?: 'JobQueue'; name: Scalars['String']; running: Scalars['Boolean']; }; @@ -1757,7 +1711,6 @@ export enum LanguageCode { } export type LocaleStringCustomFieldConfig = CustomField & { - __typename?: 'LocaleStringCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1770,7 +1723,6 @@ export type LocaleStringCustomFieldConfig = CustomField & { }; export type LocalizedString = { - __typename?: 'LocalizedString'; languageCode: LanguageCode; value: Scalars['String']; }; @@ -1781,12 +1733,10 @@ export enum LogicalOperator { } export type LoginResult = { - __typename?: 'LoginResult'; user: CurrentUser; }; export type MimeTypeError = ErrorResult & { - __typename?: 'MimeTypeError'; code: ErrorCode; message: Scalars['String']; fileName: Scalars['String']; @@ -1800,7 +1750,6 @@ export type MoveCollectionInput = { }; export type Mutation = { - __typename?: 'Mutation'; /** Create a new Administrator */ createAdministrator: Administrator; /** Update an existing Administrator */ @@ -1866,7 +1815,7 @@ export type Mutation = { /** Update an existing Address */ updateCustomerAddress: Address; /** Update an existing Address */ - deleteCustomerAddress: Scalars['Boolean']; + deleteCustomerAddress: Success; addNoteToCustomer: Customer; updateCustomerNote: HistoryEntry; deleteCustomerNote: DeletionResponse; @@ -1894,7 +1843,7 @@ export type Mutation = { addNoteToOrder: Order; updateOrderNote: HistoryEntry; deleteOrderNote: DeletionResponse; - transitionOrderToState?: Maybe; + transitionOrderToState?: Maybe; transitionFulfillmentToState: Fulfillment; setOrderCustomFields?: Maybe; /** Update an existing PaymentMethod */ @@ -2366,7 +2315,6 @@ export type NumberRange = { }; export type Order = Node & { - __typename?: 'Order'; nextStates: Array; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -2405,7 +2353,6 @@ export type OrderHistoryArgs = { }; export type OrderAddress = { - __typename?: 'OrderAddress'; fullName?: Maybe; company?: Maybe; streetLine1?: Maybe; @@ -2434,7 +2381,6 @@ export type OrderFilterParameter = { }; export type OrderItem = Node & { - __typename?: 'OrderItem'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2449,7 +2395,6 @@ export type OrderItem = Node & { }; export type OrderLine = Node & { - __typename?: 'OrderLine'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2471,7 +2416,6 @@ export type OrderLineInput = { }; export type OrderList = PaginatedList & { - __typename?: 'OrderList'; items: Array; totalItems: Scalars['Int']; }; @@ -2484,7 +2428,6 @@ export type OrderListOptions = { }; export type OrderProcessState = { - __typename?: 'OrderProcessState'; name: Scalars['String']; to: Array; }; @@ -2503,13 +2446,21 @@ export type OrderSortParameter = { total?: Maybe; }; +/** Returned if there is an error in transitioning the Order state */ +export type OrderStateTransitionError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + transitionError: Scalars['String']; + fromState: Scalars['String']; + toState: Scalars['String']; +}; + export type PaginatedList = { items: Array; totalItems: Scalars['Int']; }; export type Payment = Node & { - __typename?: 'Payment'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2523,7 +2474,6 @@ export type Payment = Node & { }; export type PaymentMethod = Node & { - __typename?: 'PaymentMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2541,7 +2491,6 @@ export type PaymentMethodFilterParameter = { }; export type PaymentMethodList = PaginatedList & { - __typename?: 'PaymentMethodList'; items: Array; totalItems: Scalars['Int']; }; @@ -2605,13 +2554,11 @@ export enum Permission { /** The price range where the result has more than one price */ export type PriceRange = { - __typename?: 'PriceRange'; min: Scalars['Int']; max: Scalars['Int']; }; export type Product = Node & { - __typename?: 'Product'; enabled: Scalars['Boolean']; channels: Array; id: Scalars['ID']; @@ -2642,7 +2589,6 @@ export type ProductFilterParameter = { }; export type ProductList = PaginatedList & { - __typename?: 'ProductList'; items: Array; totalItems: Scalars['Int']; }; @@ -2655,7 +2601,6 @@ export type ProductListOptions = { }; export type ProductOption = Node & { - __typename?: 'ProductOption'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2669,7 +2614,6 @@ export type ProductOption = Node & { }; export type ProductOptionGroup = Node & { - __typename?: 'ProductOptionGroup'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2682,7 +2626,6 @@ export type ProductOptionGroup = Node & { }; export type ProductOptionGroupTranslation = { - __typename?: 'ProductOptionGroupTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2698,7 +2641,6 @@ export type ProductOptionGroupTranslationInput = { }; export type ProductOptionTranslation = { - __typename?: 'ProductOptionTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2723,7 +2665,6 @@ export type ProductSortParameter = { }; export type ProductTranslation = { - __typename?: 'ProductTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2743,7 +2684,6 @@ export type ProductTranslationInput = { }; export type ProductVariant = Node & { - __typename?: 'ProductVariant'; enabled: Scalars['Boolean']; stockOnHand: Scalars['Int']; trackInventory: Scalars['Boolean']; @@ -2790,7 +2730,6 @@ export type ProductVariantFilterParameter = { }; export type ProductVariantList = PaginatedList & { - __typename?: 'ProductVariantList'; items: Array; totalItems: Scalars['Int']; }; @@ -2815,7 +2754,6 @@ export type ProductVariantSortParameter = { }; export type ProductVariantTranslation = { - __typename?: 'ProductVariantTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2831,7 +2769,6 @@ export type ProductVariantTranslationInput = { }; export type Promotion = Node & { - __typename?: 'Promotion'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2857,7 +2794,6 @@ export type PromotionFilterParameter = { }; export type PromotionList = PaginatedList & { - __typename?: 'PromotionList'; items: Array; totalItems: Scalars['Int']; }; @@ -2881,7 +2817,6 @@ export type PromotionSortParameter = { }; export type Query = { - __typename?: 'Query'; administrators: AdministratorList; administrator?: Maybe; /** Get a list of Assets */ @@ -3104,7 +3039,6 @@ export type QueryZoneArgs = { }; export type Refund = Node & { - __typename?: 'Refund'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3136,7 +3070,6 @@ export type RemoveProductsFromChannelInput = { export type Return = Node & StockMovement & { - __typename?: 'Return'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3147,7 +3080,6 @@ export type Return = Node & }; export type Role = Node & { - __typename?: 'Role'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3165,7 +3097,6 @@ export type RoleFilterParameter = { }; export type RoleList = PaginatedList & { - __typename?: 'RoleList'; items: Array; totalItems: Scalars['Int']; }; @@ -3187,7 +3118,6 @@ export type RoleSortParameter = { export type Sale = Node & StockMovement & { - __typename?: 'Sale'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3210,19 +3140,16 @@ export type SearchInput = { }; export type SearchReindexResponse = { - __typename?: 'SearchReindexResponse'; success: Scalars['Boolean']; }; export type SearchResponse = { - __typename?: 'SearchResponse'; items: Array; totalItems: Scalars['Int']; facetValues: Array; }; export type SearchResult = { - __typename?: 'SearchResult'; enabled: Scalars['Boolean']; /** An array of ids of the Collections in which this result appears */ channelIds: Array; @@ -3251,7 +3178,6 @@ export type SearchResult = { }; export type SearchResultAsset = { - __typename?: 'SearchResultAsset'; id: Scalars['ID']; preview: Scalars['String']; focalPoint?: Maybe; @@ -3266,7 +3192,6 @@ export type SearchResultSortParameter = { }; export type ServerConfig = { - __typename?: 'ServerConfig'; orderProcess: Array; permittedAssetTypes: Array; customFieldConfig: CustomFields; @@ -3278,7 +3203,6 @@ export type SettleRefundInput = { }; export type ShippingMethod = Node & { - __typename?: 'ShippingMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3297,7 +3221,6 @@ export type ShippingMethodFilterParameter = { }; export type ShippingMethodList = PaginatedList & { - __typename?: 'ShippingMethodList'; items: Array; totalItems: Scalars['Int']; }; @@ -3310,7 +3233,6 @@ export type ShippingMethodListOptions = { }; export type ShippingMethodQuote = { - __typename?: 'ShippingMethodQuote'; id: Scalars['ID']; price: Scalars['Int']; priceWithTax: Scalars['Int']; @@ -3328,7 +3250,6 @@ export type ShippingMethodSortParameter = { /** The price value where the result has a single price */ export type SinglePrice = { - __typename?: 'SinglePrice'; value: Scalars['Int']; }; @@ -3339,7 +3260,6 @@ export enum SortOrder { export type StockAdjustment = Node & StockMovement & { - __typename?: 'StockAdjustment'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3360,7 +3280,6 @@ export type StockMovement = { export type StockMovementItem = StockAdjustment | Sale | Cancellation | Return; export type StockMovementList = { - __typename?: 'StockMovementList'; items: Array; totalItems: Scalars['Int']; }; @@ -3379,7 +3298,6 @@ export enum StockMovementType { } export type StringCustomFieldConfig = CustomField & { - __typename?: 'StringCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -3393,7 +3311,6 @@ export type StringCustomFieldConfig = CustomField & { }; export type StringFieldOption = { - __typename?: 'StringFieldOption'; value: Scalars['String']; label?: Maybe>; }; @@ -3403,8 +3320,12 @@ export type StringOperators = { contains?: Maybe; }; +/** Indicates that an operation succeeded, where we do not want to return any more specific information. */ +export type Success = { + success: Scalars['Boolean']; +}; + export type TaxCategory = Node & { - __typename?: 'TaxCategory'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3412,7 +3333,6 @@ export type TaxCategory = Node & { }; export type TaxRate = Node & { - __typename?: 'TaxRate'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3433,7 +3353,6 @@ export type TaxRateFilterParameter = { }; export type TaxRateList = PaginatedList & { - __typename?: 'TaxRateList'; items: Array; totalItems: Scalars['Int']; }; @@ -3471,7 +3390,6 @@ export type TestShippingMethodOrderLineInput = { }; export type TestShippingMethodQuote = { - __typename?: 'TestShippingMethodQuote'; price: Scalars['Int']; priceWithTax: Scalars['Int']; description: Scalars['String']; @@ -3479,11 +3397,12 @@ export type TestShippingMethodQuote = { }; export type TestShippingMethodResult = { - __typename?: 'TestShippingMethodResult'; eligible: Scalars['Boolean']; quote?: Maybe; }; +export type TransitionOrderToStateResult = Order | OrderStateTransitionError; + export type UpdateAddressInput = { id: Scalars['ID']; fullName?: Maybe; @@ -3701,7 +3620,6 @@ export type UpdateZoneInput = { }; export type User = Node & { - __typename?: 'User'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3714,7 +3632,6 @@ export type User = Node & { }; export type Zone = Node & { - __typename?: 'Zone'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3726,76 +3643,60 @@ export type GetAdministratorsQueryVariables = Exact<{ options?: Maybe; }>; -export type GetAdministratorsQuery = { __typename?: 'Query' } & { - administrators: { __typename?: 'AdministratorList' } & Pick & { - items: Array<{ __typename?: 'Administrator' } & AdministratorFragment>; - }; +export type GetAdministratorsQuery = { + administrators: Pick & { items: Array }; }; export type GetAdministratorQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetAdministratorQuery = { __typename?: 'Query' } & { - administrator?: Maybe<{ __typename?: 'Administrator' } & AdministratorFragment>; -}; +export type GetAdministratorQuery = { administrator?: Maybe }; export type UpdateAdministratorMutationVariables = Exact<{ input: UpdateAdministratorInput; }>; -export type UpdateAdministratorMutation = { __typename?: 'Mutation' } & { - updateAdministrator: { __typename?: 'Administrator' } & AdministratorFragment; -}; +export type UpdateAdministratorMutation = { updateAdministrator: AdministratorFragment }; export type DeleteAdministratorMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteAdministratorMutation = { __typename?: 'Mutation' } & { - deleteAdministrator: { __typename?: 'DeletionResponse' } & Pick; +export type DeleteAdministratorMutation = { + deleteAdministrator: Pick; }; export type Q1QueryVariables = Exact<{ [key: string]: never }>; -export type Q1Query = { __typename?: 'Query' } & { - product?: Maybe<{ __typename?: 'Product' } & Pick>; -}; +export type Q1Query = { product?: Maybe> }; export type Q2QueryVariables = Exact<{ [key: string]: never }>; -export type Q2Query = { __typename?: 'Query' } & { - product?: Maybe<{ __typename?: 'Product' } & Pick>; -}; +export type Q2Query = { product?: Maybe> }; export type GetAssetQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetAssetQuery = { __typename?: 'Query' } & { - asset?: Maybe<{ __typename?: 'Asset' } & Pick & AssetFragment>; -}; +export type GetAssetQuery = { asset?: Maybe & AssetFragment> }; -export type AssetFragFirstFragment = { __typename?: 'Asset' } & Pick; +export type AssetFragFirstFragment = Pick; export type GetAssetFragmentFirstQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetAssetFragmentFirstQuery = { __typename?: 'Query' } & { - asset?: Maybe<{ __typename?: 'Asset' } & AssetFragFirstFragment>; -}; +export type GetAssetFragmentFirstQuery = { asset?: Maybe }; export type CreateAssetsMutationVariables = Exact<{ input: Array; }>; -export type CreateAssetsMutation = { __typename?: 'Mutation' } & { +export type CreateAssetsMutation = { createAssets: Array< - | ({ __typename?: 'Asset' } & { - focalPoint?: Maybe<{ __typename?: 'Coordinate' } & Pick>; - } & AssetFragment) - | ({ __typename?: 'MimeTypeError' } & Pick) + | ({ focalPoint?: Maybe> } & AssetFragment) + | Pick >; }; @@ -3803,99 +3704,69 @@ export type CanCreateCustomerMutationVariables = Exact<{ input: CreateCustomerInput; }>; -export type CanCreateCustomerMutation = { __typename?: 'Mutation' } & { - createCustomer: { __typename?: 'Customer' } & Pick; -}; +export type CanCreateCustomerMutation = { createCustomer: Pick }; export type GetCustomerCountQueryVariables = Exact<{ [key: string]: never }>; -export type GetCustomerCountQuery = { __typename?: 'Query' } & { - customers: { __typename?: 'CustomerList' } & Pick; -}; +export type GetCustomerCountQuery = { customers: Pick }; export type AuthenticateMutationVariables = Exact<{ input: AuthenticationInput; }>; -export type AuthenticateMutation = { __typename?: 'Mutation' } & { - authenticate: { __typename?: 'LoginResult' } & { - user: { __typename?: 'CurrentUser' } & Pick; - }; -}; +export type AuthenticateMutation = { authenticate: { user: Pick } }; export type GetCustomersQueryVariables = Exact<{ [key: string]: never }>; -export type GetCustomersQuery = { __typename?: 'Query' } & { - customers: { __typename?: 'CustomerList' } & Pick & { - items: Array<{ __typename?: 'Customer' } & Pick>; - }; +export type GetCustomersQuery = { + customers: Pick & { items: Array> }; }; export type GetCustomerUserAuthQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetCustomerUserAuthQuery = { __typename?: 'Query' } & { +export type GetCustomerUserAuthQuery = { customer?: Maybe< - { __typename?: 'Customer' } & Pick & { - user?: Maybe< - { __typename?: 'User' } & Pick & { - authenticationMethods: Array< - { __typename?: 'AuthenticationMethod' } & Pick< - AuthenticationMethod, - 'id' | 'strategy' - > - >; - } - >; - } + Pick & { + user?: Maybe< + Pick & { + authenticationMethods: Array>; + } + >; + } >; }; export type GetChannelsQueryVariables = Exact<{ [key: string]: never }>; -export type GetChannelsQuery = { __typename?: 'Query' } & { - channels: Array<{ __typename?: 'Channel' } & Pick>; -}; +export type GetChannelsQuery = { channels: Array> }; export type DeleteChannelMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteChannelMutation = { __typename?: 'Mutation' } & { - deleteChannel: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteChannelMutation = { deleteChannel: Pick }; export type UpdateGlobalSettingsMutationVariables = Exact<{ input: UpdateGlobalSettingsInput; }>; -export type UpdateGlobalSettingsMutation = { __typename?: 'Mutation' } & { - updateGlobalSettings: { __typename?: 'GlobalSettings' } & Pick< - GlobalSettings, - 'id' | 'availableLanguages' - >; +export type UpdateGlobalSettingsMutation = { + updateGlobalSettings: Pick; }; export type GetCollectionsWithAssetsQueryVariables = Exact<{ [key: string]: never }>; -export type GetCollectionsWithAssetsQuery = { __typename?: 'Query' } & { - collections: { __typename?: 'CollectionList' } & { - items: Array< - { __typename?: 'Collection' } & { assets: Array<{ __typename?: 'Asset' } & Pick> } - >; - }; +export type GetCollectionsWithAssetsQuery = { + collections: { items: Array<{ assets: Array> }> }; }; export type GetProductsWithVariantIdsQueryVariables = Exact<{ [key: string]: never }>; -export type GetProductsWithVariantIdsQuery = { __typename?: 'Query' } & { - products: { __typename?: 'ProductList' } & { - items: Array< - { __typename?: 'Product' } & Pick & { - variants: Array<{ __typename?: 'ProductVariant' } & Pick>; - } - >; +export type GetProductsWithVariantIdsQuery = { + products: { + items: Array & { variants: Array> }>; }; }; @@ -3904,13 +3775,9 @@ export type GetCollectionQueryVariables = Exact<{ slug?: Maybe; }>; -export type GetCollectionQuery = { __typename?: 'Query' } & { +export type GetCollectionQuery = { collection?: Maybe< - { __typename?: 'Collection' } & { - productVariants: { __typename?: 'ProductVariantList' } & { - items: Array<{ __typename?: 'ProductVariant' } & Pick>; - }; - } & CollectionFragment + { productVariants: { items: Array> } } & CollectionFragment >; }; @@ -3918,28 +3785,18 @@ export type MoveCollectionMutationVariables = Exact<{ input: MoveCollectionInput; }>; -export type MoveCollectionMutation = { __typename?: 'Mutation' } & { - moveCollection: { __typename?: 'Collection' } & CollectionFragment; -}; +export type MoveCollectionMutation = { moveCollection: CollectionFragment }; export type GetFacetValuesQueryVariables = Exact<{ [key: string]: never }>; -export type GetFacetValuesQuery = { __typename?: 'Query' } & { - facets: { __typename?: 'FacetList' } & { - items: Array< - { __typename?: 'Facet' } & { values: Array<{ __typename?: 'FacetValue' } & FacetValueFragment> } - >; - }; -}; +export type GetFacetValuesQuery = { facets: { items: Array<{ values: Array }> } }; export type GetCollectionsQueryVariables = Exact<{ [key: string]: never }>; -export type GetCollectionsQuery = { __typename?: 'Query' } & { - collections: { __typename?: 'CollectionList' } & { +export type GetCollectionsQuery = { + collections: { items: Array< - { __typename?: 'Collection' } & Pick & { - parent?: Maybe<{ __typename?: 'Collection' } & Pick>; - } + Pick & { parent?: Maybe> } >; }; }; @@ -3948,58 +3805,45 @@ export type GetCollectionProductsQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetCollectionProductsQuery = { __typename?: 'Query' } & { - collection?: Maybe< - { __typename?: 'Collection' } & { - productVariants: { __typename?: 'ProductVariantList' } & { - items: Array< - { __typename?: 'ProductVariant' } & Pick & { - facetValues: Array<{ __typename?: 'FacetValue' } & Pick>; - } - >; - }; - } - >; +export type GetCollectionProductsQuery = { + collection?: Maybe<{ + productVariants: { + items: Array< + Pick & { + facetValues: Array>; + } + >; + }; + }>; }; export type CreateCollectionSelectVariantsMutationVariables = Exact<{ input: CreateCollectionInput; }>; -export type CreateCollectionSelectVariantsMutation = { __typename?: 'Mutation' } & { - createCollection: { __typename?: 'Collection' } & Pick & { - productVariants: { __typename?: 'ProductVariantList' } & Pick< - ProductVariantList, - 'totalItems' - > & { items: Array<{ __typename?: 'ProductVariant' } & Pick> }; +export type CreateCollectionSelectVariantsMutation = { + createCollection: Pick & { + productVariants: Pick & { + items: Array>; }; + }; }; export type GetCollectionBreadcrumbsQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetCollectionBreadcrumbsQuery = { __typename?: 'Query' } & { - collection?: Maybe< - { __typename?: 'Collection' } & { - breadcrumbs: Array< - { __typename?: 'CollectionBreadcrumb' } & Pick - >; - } - >; +export type GetCollectionBreadcrumbsQuery = { + collection?: Maybe<{ breadcrumbs: Array> }>; }; export type GetCollectionsForProductsQueryVariables = Exact<{ term: Scalars['String']; }>; -export type GetCollectionsForProductsQuery = { __typename?: 'Query' } & { - products: { __typename?: 'ProductList' } & { - items: Array< - { __typename?: 'Product' } & Pick & { - collections: Array<{ __typename?: 'Collection' } & Pick>; - } - >; +export type GetCollectionsForProductsQuery = { + products: { + items: Array & { collections: Array> }>; }; }; @@ -4007,35 +3851,27 @@ export type DeleteCollectionMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteCollectionMutation = { __typename?: 'Mutation' } & { - deleteCollection: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteCollectionMutation = { deleteCollection: Pick }; export type GetProductCollectionsQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetProductCollectionsQuery = { __typename?: 'Query' } & { - product?: Maybe< - { __typename?: 'Product' } & Pick & { - collections: Array<{ __typename?: 'Collection' } & Pick>; - } - >; +export type GetProductCollectionsQuery = { + product?: Maybe & { collections: Array> }>; }; export type GetProductCollectionsWithParentQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetProductCollectionsWithParentQuery = { __typename?: 'Query' } & { +export type GetProductCollectionsWithParentQuery = { product?: Maybe< - { __typename?: 'Product' } & Pick & { - collections: Array< - { __typename?: 'Collection' } & Pick & { - parent?: Maybe<{ __typename?: 'Collection' } & Pick>; - } - >; - } + Pick & { + collections: Array< + Pick & { parent?: Maybe> } + >; + } >; }; @@ -4043,267 +3879,191 @@ export type DeleteCountryMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteCountryMutation = { __typename?: 'Mutation' } & { - deleteCountry: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteCountryMutation = { deleteCountry: Pick }; export type GetCountryQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetCountryQuery = { __typename?: 'Query' } & { - country?: Maybe<{ __typename?: 'Country' } & CountryFragment>; -}; +export type GetCountryQuery = { country?: Maybe }; export type CreateCountryMutationVariables = Exact<{ input: CreateCountryInput; }>; -export type CreateCountryMutation = { __typename?: 'Mutation' } & { - createCountry: { __typename?: 'Country' } & CountryFragment; -}; +export type CreateCountryMutation = { createCountry: CountryFragment }; export type DeleteCustomerAddressMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteCustomerAddressMutation = { __typename?: 'Mutation' } & Pick< - Mutation, - 'deleteCustomerAddress' ->; +export type DeleteCustomerAddressMutation = { deleteCustomerAddress: Pick }; export type GetCustomerWithUserQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetCustomerWithUserQuery = { __typename?: 'Query' } & { - customer?: Maybe< - { __typename?: 'Customer' } & Pick & { - user?: Maybe<{ __typename?: 'User' } & Pick>; - } - >; +export type GetCustomerWithUserQuery = { + customer?: Maybe & { user?: Maybe> }>; }; export type GetCustomerOrdersQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetCustomerOrdersQuery = { __typename?: 'Query' } & { - customer?: Maybe< - { __typename?: 'Customer' } & { - orders: { __typename?: 'OrderList' } & Pick & { - items: Array<{ __typename?: 'Order' } & Pick>; - }; - } - >; +export type GetCustomerOrdersQuery = { + customer?: Maybe<{ orders: Pick & { items: Array> } }>; }; export type AddNoteToCustomerMutationVariables = Exact<{ input: AddNoteToCustomerInput; }>; -export type AddNoteToCustomerMutation = { __typename?: 'Mutation' } & { - addNoteToCustomer: { __typename?: 'Customer' } & CustomerFragment; -}; +export type AddNoteToCustomerMutation = { addNoteToCustomer: CustomerFragment }; export type ReindexMutationVariables = Exact<{ [key: string]: never }>; -export type ReindexMutation = { __typename?: 'Mutation' } & { - reindex: { __typename?: 'Job' } & Pick; -}; +export type ReindexMutation = { reindex: Pick }; export type SearchProductsAdminQueryVariables = Exact<{ input: SearchInput; }>; -export type SearchProductsAdminQuery = { __typename?: 'Query' } & { - search: { __typename?: 'SearchResponse' } & Pick & { - items: Array< - { __typename?: 'SearchResult' } & Pick< - SearchResult, - | 'enabled' - | 'productId' - | 'productName' - | 'productPreview' - | 'productVariantId' - | 'productVariantName' - | 'productVariantPreview' - | 'sku' - > - >; - }; +export type SearchProductsAdminQuery = { + search: Pick & { + items: Array< + Pick< + SearchResult, + | 'enabled' + | 'productId' + | 'productName' + | 'productPreview' + | 'productVariantId' + | 'productVariantName' + | 'productVariantPreview' + | 'sku' + > + >; + }; }; export type SearchFacetValuesQueryVariables = Exact<{ input: SearchInput; }>; -export type SearchFacetValuesQuery = { __typename?: 'Query' } & { - search: { __typename?: 'SearchResponse' } & Pick & { - facetValues: Array< - { __typename?: 'FacetValueResult' } & Pick & { - facetValue: { __typename?: 'FacetValue' } & Pick; - } - >; - }; +export type SearchFacetValuesQuery = { + search: Pick & { + facetValues: Array & { facetValue: Pick }>; + }; }; export type SearchGetAssetsQueryVariables = Exact<{ input: SearchInput; }>; -export type SearchGetAssetsQuery = { __typename?: 'Query' } & { - search: { __typename?: 'SearchResponse' } & Pick & { - items: Array< - { __typename?: 'SearchResult' } & Pick< - SearchResult, - 'productId' | 'productName' | 'productVariantName' - > & { - productAsset?: Maybe< - { __typename?: 'SearchResultAsset' } & Pick< - SearchResultAsset, - 'id' | 'preview' - > & { - focalPoint?: Maybe< - { __typename?: 'Coordinate' } & Pick - >; - } - >; - productVariantAsset?: Maybe< - { __typename?: 'SearchResultAsset' } & Pick< - SearchResultAsset, - 'id' | 'preview' - > & { - focalPoint?: Maybe< - { __typename?: 'Coordinate' } & Pick - >; - } - >; +export type SearchGetAssetsQuery = { + search: Pick & { + items: Array< + Pick & { + productAsset?: Maybe< + Pick & { + focalPoint?: Maybe>; } - >; - }; + >; + productVariantAsset?: Maybe< + Pick & { + focalPoint?: Maybe>; + } + >; + } + >; + }; }; export type SearchGetPricesQueryVariables = Exact<{ input: SearchInput; }>; -export type SearchGetPricesQuery = { __typename?: 'Query' } & { - search: { __typename?: 'SearchResponse' } & { - items: Array< - { __typename?: 'SearchResult' } & { - price: - | ({ __typename?: 'PriceRange' } & Pick) - | ({ __typename?: 'SinglePrice' } & Pick); - priceWithTax: - | ({ __typename?: 'PriceRange' } & Pick) - | ({ __typename?: 'SinglePrice' } & Pick); - } - >; +export type SearchGetPricesQuery = { + search: { + items: Array<{ + price: Pick | Pick; + priceWithTax: Pick | Pick; + }>; }; }; export type IdTest1QueryVariables = Exact<{ [key: string]: never }>; -export type IdTest1Query = { __typename?: 'Query' } & { - products: { __typename?: 'ProductList' } & { - items: Array<{ __typename?: 'Product' } & Pick>; - }; -}; +export type IdTest1Query = { products: { items: Array> } }; export type IdTest2QueryVariables = Exact<{ [key: string]: never }>; -export type IdTest2Query = { __typename?: 'Query' } & { - products: { __typename?: 'ProductList' } & { +export type IdTest2Query = { + products: { items: Array< - { __typename?: 'Product' } & Pick & { - variants: Array< - { __typename?: 'ProductVariant' } & Pick & { - options: Array< - { __typename?: 'ProductOption' } & Pick - >; - } - >; - } + Pick & { + variants: Array< + Pick & { options: Array> } + >; + } >; }; }; export type IdTest3QueryVariables = Exact<{ [key: string]: never }>; -export type IdTest3Query = { __typename?: 'Query' } & { - product?: Maybe<{ __typename?: 'Product' } & Pick>; -}; +export type IdTest3Query = { product?: Maybe> }; export type IdTest4MutationVariables = Exact<{ [key: string]: never }>; -export type IdTest4Mutation = { __typename?: 'Mutation' } & { - updateProduct: { __typename?: 'Product' } & Pick & { - featuredAsset?: Maybe<{ __typename?: 'Asset' } & Pick>; - }; +export type IdTest4Mutation = { + updateProduct: Pick & { featuredAsset?: Maybe> }; }; export type IdTest5MutationVariables = Exact<{ [key: string]: never }>; -export type IdTest5Mutation = { __typename?: 'Mutation' } & { - updateProduct: { __typename?: 'Product' } & Pick; -}; +export type IdTest5Mutation = { updateProduct: Pick }; export type IdTest6QueryVariables = Exact<{ id: Scalars['ID']; }>; -export type IdTest6Query = { __typename?: 'Query' } & { - product?: Maybe<{ __typename?: 'Product' } & Pick>; -}; +export type IdTest6Query = { product?: Maybe> }; export type IdTest7MutationVariables = Exact<{ input: UpdateProductInput; }>; -export type IdTest7Mutation = { __typename?: 'Mutation' } & { - updateProduct: { __typename?: 'Product' } & Pick & { - featuredAsset?: Maybe<{ __typename?: 'Asset' } & Pick>; - }; +export type IdTest7Mutation = { + updateProduct: Pick & { featuredAsset?: Maybe> }; }; export type IdTest8MutationVariables = Exact<{ input: UpdateProductInput; }>; -export type IdTest8Mutation = { __typename?: 'Mutation' } & { - updateProduct: { __typename?: 'Product' } & Pick; -}; +export type IdTest8Mutation = { updateProduct: Pick }; export type IdTest9QueryVariables = Exact<{ [key: string]: never }>; -export type IdTest9Query = { __typename?: 'Query' } & { - products: { __typename?: 'ProductList' } & { - items: Array<{ __typename?: 'Product' } & ProdFragmentFragment>; - }; -}; +export type IdTest9Query = { products: { items: Array } }; -export type ProdFragmentFragment = { __typename?: 'Product' } & Pick & { - featuredAsset?: Maybe<{ __typename?: 'Asset' } & Pick>; - }; +export type ProdFragmentFragment = Pick & { featuredAsset?: Maybe> }; export type GetFacetWithValuesQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetFacetWithValuesQuery = { __typename?: 'Query' } & { - facet?: Maybe<{ __typename?: 'Facet' } & FacetWithValuesFragment>; -}; +export type GetFacetWithValuesQuery = { facet?: Maybe }; export type DeleteFacetValuesMutationVariables = Exact<{ ids: Array; force?: Maybe; }>; -export type DeleteFacetValuesMutation = { __typename?: 'Mutation' } & { - deleteFacetValues: Array< - { __typename?: 'DeletionResponse' } & Pick - >; +export type DeleteFacetValuesMutation = { + deleteFacetValues: Array>; }; export type DeleteFacetMutationVariables = Exact<{ @@ -4311,57 +4071,40 @@ export type DeleteFacetMutationVariables = Exact<{ force?: Maybe; }>; -export type DeleteFacetMutation = { __typename?: 'Mutation' } & { - deleteFacet: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteFacetMutation = { deleteFacet: Pick }; export type GetProductListWithVariantsQueryVariables = Exact<{ [key: string]: never }>; -export type GetProductListWithVariantsQuery = { __typename?: 'Query' } & { - products: { __typename?: 'ProductList' } & Pick & { - items: Array< - { __typename?: 'Product' } & Pick & { - variants: Array< - { __typename?: 'ProductVariant' } & Pick - >; - } - >; - }; +export type GetProductListWithVariantsQuery = { + products: Pick & { + items: Array & { variants: Array> }>; + }; }; export type CreateFacetValuesMutationVariables = Exact<{ input: Array; }>; -export type CreateFacetValuesMutation = { __typename?: 'Mutation' } & { - createFacetValues: Array<{ __typename?: 'FacetValue' } & FacetValueFragment>; -}; +export type CreateFacetValuesMutation = { createFacetValues: Array }; export type UpdateFacetValuesMutationVariables = Exact<{ input: Array; }>; -export type UpdateFacetValuesMutation = { __typename?: 'Mutation' } & { - updateFacetValues: Array<{ __typename?: 'FacetValue' } & FacetValueFragment>; -}; +export type UpdateFacetValuesMutation = { updateFacetValues: Array }; -export type AdministratorFragment = { __typename?: 'Administrator' } & Pick< - Administrator, - 'id' | 'firstName' | 'lastName' | 'emailAddress' -> & { - user: { __typename?: 'User' } & Pick & { - roles: Array< - { __typename?: 'Role' } & Pick - >; - }; +export type AdministratorFragment = Pick & { + user: Pick & { + roles: Array>; }; +}; -export type AssetFragment = { __typename?: 'Asset' } & Pick< +export type AssetFragment = Pick< Asset, 'id' | 'name' | 'fileSize' | 'mimeType' | 'type' | 'preview' | 'source' >; -export type ProductVariantFragment = { __typename?: 'ProductVariant' } & Pick< +export type ProductVariantFragment = Pick< ProductVariant, | 'id' | 'enabled' @@ -4375,113 +4118,63 @@ export type ProductVariantFragment = { __typename?: 'ProductVariant' } & Pick< | 'trackInventory' | 'sku' > & { - taxRateApplied: { __typename?: 'TaxRate' } & Pick; - taxCategory: { __typename?: 'TaxCategory' } & Pick; - options: Array< - { __typename?: 'ProductOption' } & Pick - >; - facetValues: Array< - { __typename?: 'FacetValue' } & Pick & { - facet: { __typename?: 'Facet' } & Pick; - } - >; - featuredAsset?: Maybe<{ __typename?: 'Asset' } & AssetFragment>; - assets: Array<{ __typename?: 'Asset' } & AssetFragment>; - translations: Array< - { __typename?: 'ProductVariantTranslation' } & Pick< - ProductVariantTranslation, - 'id' | 'languageCode' | 'name' - > - >; - }; + taxRateApplied: Pick; + taxCategory: Pick; + options: Array>; + facetValues: Array & { facet: Pick }>; + featuredAsset?: Maybe; + assets: Array; + translations: Array>; +}; -export type ProductWithVariantsFragment = { __typename?: 'Product' } & Pick< +export type ProductWithVariantsFragment = Pick< Product, 'id' | 'enabled' | 'languageCode' | 'name' | 'slug' | 'description' > & { - featuredAsset?: Maybe<{ __typename?: 'Asset' } & AssetFragment>; - assets: Array<{ __typename?: 'Asset' } & AssetFragment>; - translations: Array< - { __typename?: 'ProductTranslation' } & Pick< - ProductTranslation, - 'languageCode' | 'name' | 'slug' | 'description' - > - >; - optionGroups: Array< - { __typename?: 'ProductOptionGroup' } & Pick< - ProductOptionGroup, - 'id' | 'languageCode' | 'code' | 'name' - > - >; - variants: Array<{ __typename?: 'ProductVariant' } & ProductVariantFragment>; - facetValues: Array< - { __typename?: 'FacetValue' } & Pick & { - facet: { __typename?: 'Facet' } & Pick; - } - >; - channels: Array<{ __typename?: 'Channel' } & Pick>; - }; + featuredAsset?: Maybe; + assets: Array; + translations: Array>; + optionGroups: Array>; + variants: Array; + facetValues: Array & { facet: Pick }>; + channels: Array>; +}; -export type RoleFragment = { __typename?: 'Role' } & Pick< - Role, - 'id' | 'code' | 'description' | 'permissions' -> & { channels: Array<{ __typename?: 'Channel' } & Pick> }; +export type RoleFragment = Pick & { + channels: Array>; +}; -export type ConfigurableOperationFragment = { __typename?: 'ConfigurableOperation' } & Pick< - ConfigurableOperation, - 'code' -> & { args: Array<{ __typename?: 'ConfigArg' } & Pick> }; +export type ConfigurableOperationFragment = Pick & { + args: Array>; +}; -export type CollectionFragment = { __typename?: 'Collection' } & Pick< +export type CollectionFragment = Pick< Collection, 'id' | 'name' | 'slug' | 'description' | 'isPrivate' | 'languageCode' > & { - featuredAsset?: Maybe<{ __typename?: 'Asset' } & AssetFragment>; - assets: Array<{ __typename?: 'Asset' } & AssetFragment>; - filters: Array<{ __typename?: 'ConfigurableOperation' } & ConfigurableOperationFragment>; - translations: Array< - { __typename?: 'CollectionTranslation' } & Pick< - CollectionTranslation, - 'id' | 'languageCode' | 'name' | 'slug' | 'description' - > - >; - parent?: Maybe<{ __typename?: 'Collection' } & Pick>; - children?: Maybe>>; - }; + featuredAsset?: Maybe; + assets: Array; + filters: Array; + translations: Array>; + parent?: Maybe>; + children?: Maybe>>; +}; -export type FacetValueFragment = { __typename?: 'FacetValue' } & Pick< - FacetValue, - 'id' | 'languageCode' | 'code' | 'name' -> & { - translations: Array< - { __typename?: 'FacetValueTranslation' } & Pick< - FacetValueTranslation, - 'id' | 'languageCode' | 'name' - > - >; - facet: { __typename?: 'Facet' } & Pick; - }; +export type FacetValueFragment = Pick & { + translations: Array>; + facet: Pick; +}; -export type FacetWithValuesFragment = { __typename?: 'Facet' } & Pick< - Facet, - 'id' | 'languageCode' | 'isPrivate' | 'code' | 'name' -> & { - translations: Array< - { __typename?: 'FacetTranslation' } & Pick - >; - values: Array<{ __typename?: 'FacetValue' } & FacetValueFragment>; - }; +export type FacetWithValuesFragment = Pick & { + translations: Array>; + values: Array; +}; -export type CountryFragment = { __typename?: 'Country' } & Pick< - Country, - 'id' | 'code' | 'name' | 'enabled' -> & { - translations: Array< - { __typename?: 'CountryTranslation' } & Pick - >; - }; +export type CountryFragment = Pick & { + translations: Array>; +}; -export type AddressFragment = { __typename?: 'Address' } & Pick< +export type AddressFragment = Pick< Address, | 'id' | 'fullName' @@ -4494,22 +4187,19 @@ export type AddressFragment = { __typename?: 'Address' } & Pick< | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress' -> & { country: { __typename?: 'Country' } & Pick }; +> & { country: Pick }; -export type CustomerFragment = { __typename?: 'Customer' } & Pick< +export type CustomerFragment = Pick< Customer, 'id' | 'title' | 'firstName' | 'lastName' | 'phoneNumber' | 'emailAddress' > & { - user?: Maybe<{ __typename?: 'User' } & Pick>; - addresses?: Maybe>; - }; + user?: Maybe>; + addresses?: Maybe>; +}; -export type AdjustmentFragment = { __typename?: 'Adjustment' } & Pick< - Adjustment, - 'adjustmentSource' | 'amount' | 'description' | 'type' ->; +export type AdjustmentFragment = Pick; -export type ShippingAddressFragment = { __typename?: 'OrderAddress' } & Pick< +export type ShippingAddressFragment = Pick< OrderAddress, | 'fullName' | 'company' @@ -4522,17 +4212,17 @@ export type ShippingAddressFragment = { __typename?: 'OrderAddress' } & Pick< | 'phoneNumber' >; -export type OrderFragment = { __typename?: 'Order' } & Pick< +export type OrderFragment = Pick< Order, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'state' | 'total' | 'currencyCode' -> & { customer?: Maybe<{ __typename?: 'Customer' } & Pick> }; +> & { customer?: Maybe> }; -export type OrderItemFragment = { __typename?: 'OrderItem' } & Pick< +export type OrderItemFragment = Pick< OrderItem, 'id' | 'cancelled' | 'unitPrice' | 'unitPriceIncludesTax' | 'unitPriceWithTax' | 'taxRate' -> & { fulfillment?: Maybe<{ __typename?: 'Fulfillment' } & Pick> }; +> & { fulfillment?: Maybe> }; -export type OrderWithLinesFragment = { __typename?: 'Order' } & Pick< +export type OrderWithLinesFragment = Pick< Order, | 'id' | 'createdAt' @@ -4547,228 +4237,168 @@ export type OrderWithLinesFragment = { __typename?: 'Order' } & Pick< | 'shipping' | 'total' > & { - customer?: Maybe<{ __typename?: 'Customer' } & Pick>; - lines: Array< - { __typename?: 'OrderLine' } & Pick< - OrderLine, - 'id' | 'unitPrice' | 'unitPriceWithTax' | 'quantity' | 'totalPrice' - > & { - featuredAsset?: Maybe<{ __typename?: 'Asset' } & Pick>; - productVariant: { __typename?: 'ProductVariant' } & Pick< - ProductVariant, - 'id' | 'name' | 'sku' - >; - items: Array<{ __typename?: 'OrderItem' } & OrderItemFragment>; - } - >; - adjustments: Array<{ __typename?: 'Adjustment' } & AdjustmentFragment>; - shippingMethod?: Maybe< - { __typename?: 'ShippingMethod' } & Pick - >; - shippingAddress?: Maybe<{ __typename?: 'OrderAddress' } & ShippingAddressFragment>; - payments?: Maybe< - Array< - { __typename?: 'Payment' } & Pick< - Payment, - 'id' | 'transactionId' | 'amount' | 'method' | 'state' | 'metadata' - > - > - >; - }; + customer?: Maybe>; + lines: Array< + Pick & { + featuredAsset?: Maybe>; + productVariant: Pick; + items: Array; + } + >; + adjustments: Array; + shippingMethod?: Maybe>; + shippingAddress?: Maybe; + payments?: Maybe< + Array> + >; +}; -export type PromotionFragment = { __typename?: 'Promotion' } & Pick< +export type PromotionFragment = Pick< Promotion, 'id' | 'createdAt' | 'updatedAt' | 'couponCode' | 'startsAt' | 'endsAt' | 'name' | 'enabled' -> & { - conditions: Array<{ __typename?: 'ConfigurableOperation' } & ConfigurableOperationFragment>; - actions: Array<{ __typename?: 'ConfigurableOperation' } & ConfigurableOperationFragment>; - }; +> & { conditions: Array; actions: Array }; -export type ZoneFragment = { __typename?: 'Zone' } & Pick & { - members: Array<{ __typename?: 'Country' } & CountryFragment>; - }; +export type ZoneFragment = Pick & { members: Array }; -export type TaxRateFragment = { __typename?: 'TaxRate' } & Pick< - TaxRate, - 'id' | 'name' | 'enabled' | 'value' -> & { - category: { __typename?: 'TaxCategory' } & Pick; - zone: { __typename?: 'Zone' } & Pick; - customerGroup?: Maybe<{ __typename?: 'CustomerGroup' } & Pick>; - }; +export type TaxRateFragment = Pick & { + category: Pick; + zone: Pick; + customerGroup?: Maybe>; +}; -export type CurrentUserFragment = { __typename?: 'CurrentUser' } & Pick & { - channels: Array< - { __typename?: 'CurrentUserChannel' } & Pick - >; - }; +export type CurrentUserFragment = Pick & { + channels: Array>; +}; -export type VariantWithStockFragment = { __typename?: 'ProductVariant' } & Pick< - ProductVariant, - 'id' | 'stockOnHand' -> & { - stockMovements: { __typename?: 'StockMovementList' } & Pick & { - items: Array< - | ({ __typename?: 'StockAdjustment' } & Pick) - | ({ __typename?: 'Sale' } & Pick) - | ({ __typename?: 'Cancellation' } & Pick) - | ({ __typename?: 'Return' } & Pick) - >; - }; +export type VariantWithStockFragment = Pick & { + stockMovements: Pick & { + items: Array< + | Pick + | Pick + | Pick + | Pick + >; }; +}; export type CreateAdministratorMutationVariables = Exact<{ input: CreateAdministratorInput; }>; -export type CreateAdministratorMutation = { __typename?: 'Mutation' } & { - createAdministrator: { __typename?: 'Administrator' } & AdministratorFragment; -}; +export type CreateAdministratorMutation = { createAdministrator: AdministratorFragment }; export type UpdateProductMutationVariables = Exact<{ input: UpdateProductInput; }>; -export type UpdateProductMutation = { __typename?: 'Mutation' } & { - updateProduct: { __typename?: 'Product' } & ProductWithVariantsFragment; -}; +export type UpdateProductMutation = { updateProduct: ProductWithVariantsFragment }; export type CreateProductMutationVariables = Exact<{ input: CreateProductInput; }>; -export type CreateProductMutation = { __typename?: 'Mutation' } & { - createProduct: { __typename?: 'Product' } & ProductWithVariantsFragment; -}; +export type CreateProductMutation = { createProduct: ProductWithVariantsFragment }; export type GetProductWithVariantsQueryVariables = Exact<{ id?: Maybe; slug?: Maybe; }>; -export type GetProductWithVariantsQuery = { __typename?: 'Query' } & { - product?: Maybe<{ __typename?: 'Product' } & ProductWithVariantsFragment>; -}; +export type GetProductWithVariantsQuery = { product?: Maybe }; export type GetProductListQueryVariables = Exact<{ options?: Maybe; }>; -export type GetProductListQuery = { __typename?: 'Query' } & { - products: { __typename?: 'ProductList' } & Pick & { - items: Array< - { __typename?: 'Product' } & Pick & { - featuredAsset?: Maybe<{ __typename?: 'Asset' } & Pick>; - } - >; - }; +export type GetProductListQuery = { + products: Pick & { + items: Array< + Pick & { + featuredAsset?: Maybe>; + } + >; + }; }; export type CreateProductVariantsMutationVariables = Exact<{ input: Array; }>; -export type CreateProductVariantsMutation = { __typename?: 'Mutation' } & { - createProductVariants: Array>; -}; +export type CreateProductVariantsMutation = { createProductVariants: Array> }; export type UpdateProductVariantsMutationVariables = Exact<{ input: Array; }>; -export type UpdateProductVariantsMutation = { __typename?: 'Mutation' } & { - updateProductVariants: Array>; -}; +export type UpdateProductVariantsMutation = { updateProductVariants: Array> }; export type UpdateTaxRateMutationVariables = Exact<{ input: UpdateTaxRateInput; }>; -export type UpdateTaxRateMutation = { __typename?: 'Mutation' } & { - updateTaxRate: { __typename?: 'TaxRate' } & TaxRateFragment; -}; +export type UpdateTaxRateMutation = { updateTaxRate: TaxRateFragment }; export type CreateFacetMutationVariables = Exact<{ input: CreateFacetInput; }>; -export type CreateFacetMutation = { __typename?: 'Mutation' } & { - createFacet: { __typename?: 'Facet' } & FacetWithValuesFragment; -}; +export type CreateFacetMutation = { createFacet: FacetWithValuesFragment }; export type UpdateFacetMutationVariables = Exact<{ input: UpdateFacetInput; }>; -export type UpdateFacetMutation = { __typename?: 'Mutation' } & { - updateFacet: { __typename?: 'Facet' } & FacetWithValuesFragment; -}; +export type UpdateFacetMutation = { updateFacet: FacetWithValuesFragment }; export type GetCustomerListQueryVariables = Exact<{ options?: Maybe; }>; -export type GetCustomerListQuery = { __typename?: 'Query' } & { - customers: { __typename?: 'CustomerList' } & Pick & { - items: Array< - { __typename?: 'Customer' } & Pick< - Customer, - 'id' | 'title' | 'firstName' | 'lastName' | 'emailAddress' | 'phoneNumber' - > & { user?: Maybe<{ __typename?: 'User' } & Pick> } - >; - }; +export type GetCustomerListQuery = { + customers: Pick & { + items: Array< + Pick & { + user?: Maybe>; + } + >; + }; }; export type GetAssetListQueryVariables = Exact<{ options?: Maybe; }>; -export type GetAssetListQuery = { __typename?: 'Query' } & { - assets: { __typename?: 'AssetList' } & Pick & { - items: Array<{ __typename?: 'Asset' } & AssetFragment>; - }; -}; +export type GetAssetListQuery = { assets: Pick & { items: Array } }; export type CreateRoleMutationVariables = Exact<{ input: CreateRoleInput; }>; -export type CreateRoleMutation = { __typename?: 'Mutation' } & { - createRole: { __typename?: 'Role' } & RoleFragment; -}; +export type CreateRoleMutation = { createRole: RoleFragment }; export type CreateCollectionMutationVariables = Exact<{ input: CreateCollectionInput; }>; -export type CreateCollectionMutation = { __typename?: 'Mutation' } & { - createCollection: { __typename?: 'Collection' } & CollectionFragment; -}; +export type CreateCollectionMutation = { createCollection: CollectionFragment }; export type UpdateCollectionMutationVariables = Exact<{ input: UpdateCollectionInput; }>; -export type UpdateCollectionMutation = { __typename?: 'Mutation' } & { - updateCollection: { __typename?: 'Collection' } & CollectionFragment; -}; +export type UpdateCollectionMutation = { updateCollection: CollectionFragment }; export type GetCustomerQueryVariables = Exact<{ id: Scalars['ID']; orderListOptions?: Maybe; }>; -export type GetCustomerQuery = { __typename?: 'Query' } & { +export type GetCustomerQuery = { customer?: Maybe< - { __typename?: 'Customer' } & { - orders: { __typename?: 'OrderList' } & Pick & { - items: Array< - { __typename?: 'Order' } & Pick< - Order, - 'id' | 'code' | 'state' | 'total' | 'currencyCode' | 'updatedAt' - > - >; - }; + { + orders: Pick & { + items: Array>; + }; } & CustomerFragment >; }; @@ -4779,139 +4409,112 @@ export type AttemptLoginMutationVariables = Exact<{ rememberMe?: Maybe; }>; -export type AttemptLoginMutation = { __typename?: 'Mutation' } & { - login: { __typename?: 'LoginResult' } & { user: { __typename?: 'CurrentUser' } & CurrentUserFragment }; -}; +export type AttemptLoginMutation = { login: { user: CurrentUserFragment } }; export type GetCountryListQueryVariables = Exact<{ options?: Maybe; }>; -export type GetCountryListQuery = { __typename?: 'Query' } & { - countries: { __typename?: 'CountryList' } & Pick & { - items: Array<{ __typename?: 'Country' } & Pick>; - }; +export type GetCountryListQuery = { + countries: Pick & { + items: Array>; + }; }; export type UpdateCountryMutationVariables = Exact<{ input: UpdateCountryInput; }>; -export type UpdateCountryMutation = { __typename?: 'Mutation' } & { - updateCountry: { __typename?: 'Country' } & CountryFragment; -}; +export type UpdateCountryMutation = { updateCountry: CountryFragment }; export type GetFacetListQueryVariables = Exact<{ options?: Maybe; }>; -export type GetFacetListQuery = { __typename?: 'Query' } & { - facets: { __typename?: 'FacetList' } & Pick & { - items: Array<{ __typename?: 'Facet' } & FacetWithValuesFragment>; - }; +export type GetFacetListQuery = { + facets: Pick & { items: Array }; }; export type DeleteProductMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteProductMutation = { __typename?: 'Mutation' } & { - deleteProduct: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteProductMutation = { deleteProduct: Pick }; export type GetProductSimpleQueryVariables = Exact<{ id?: Maybe; slug?: Maybe; }>; -export type GetProductSimpleQuery = { __typename?: 'Query' } & { - product?: Maybe<{ __typename?: 'Product' } & Pick>; -}; +export type GetProductSimpleQuery = { product?: Maybe> }; export type GetStockMovementQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetStockMovementQuery = { __typename?: 'Query' } & { - product?: Maybe< - { __typename?: 'Product' } & Pick & { - variants: Array<{ __typename?: 'ProductVariant' } & VariantWithStockFragment>; - } - >; +export type GetStockMovementQuery = { + product?: Maybe & { variants: Array }>; }; export type GetRunningJobsQueryVariables = Exact<{ options?: Maybe; }>; -export type GetRunningJobsQuery = { __typename?: 'Query' } & { - jobs: { __typename?: 'JobList' } & Pick & { - items: Array< - { __typename?: 'Job' } & Pick - >; - }; +export type GetRunningJobsQuery = { + jobs: Pick & { + items: Array>; + }; }; export type CreatePromotionMutationVariables = Exact<{ input: CreatePromotionInput; }>; -export type CreatePromotionMutation = { __typename?: 'Mutation' } & { - createPromotion: { __typename?: 'Promotion' } & PromotionFragment; -}; +export type CreatePromotionMutation = { createPromotion: PromotionFragment }; export type MeQueryVariables = Exact<{ [key: string]: never }>; -export type MeQuery = { __typename?: 'Query' } & { - me?: Maybe<{ __typename?: 'CurrentUser' } & CurrentUserFragment>; -}; +export type MeQuery = { me?: Maybe }; export type CreateChannelMutationVariables = Exact<{ input: CreateChannelInput; }>; -export type CreateChannelMutation = { __typename?: 'Mutation' } & { - createChannel: { __typename?: 'Channel' } & Pick< +export type CreateChannelMutation = { + createChannel: Pick< Channel, 'id' | 'code' | 'token' | 'currencyCode' | 'defaultLanguageCode' | 'pricesIncludeTax' - > & { - defaultShippingZone?: Maybe<{ __typename?: 'Zone' } & Pick>; - defaultTaxZone?: Maybe<{ __typename?: 'Zone' } & Pick>; - }; + > & { defaultShippingZone?: Maybe>; defaultTaxZone?: Maybe> }; }; export type DeleteProductVariantMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteProductVariantMutation = { __typename?: 'Mutation' } & { - deleteProductVariant: { __typename?: 'DeletionResponse' } & Pick; +export type DeleteProductVariantMutation = { + deleteProductVariant: Pick; }; export type AssignProductsToChannelMutationVariables = Exact<{ input: AssignProductsToChannelInput; }>; -export type AssignProductsToChannelMutation = { __typename?: 'Mutation' } & { - assignProductsToChannel: Array<{ __typename?: 'Product' } & ProductWithVariantsFragment>; -}; +export type AssignProductsToChannelMutation = { assignProductsToChannel: Array }; export type RemoveProductsFromChannelMutationVariables = Exact<{ input: RemoveProductsFromChannelInput; }>; -export type RemoveProductsFromChannelMutation = { __typename?: 'Mutation' } & { - removeProductsFromChannel: Array<{ __typename?: 'Product' } & ProductWithVariantsFragment>; +export type RemoveProductsFromChannelMutation = { + removeProductsFromChannel: Array; }; export type UpdateAssetMutationVariables = Exact<{ input: UpdateAssetInput; }>; -export type UpdateAssetMutation = { __typename?: 'Mutation' } & { - updateAsset: { __typename?: 'Asset' } & { - focalPoint?: Maybe<{ __typename?: 'Coordinate' } & Pick>; - } & AssetFragment; +export type UpdateAssetMutation = { + updateAsset: { focalPoint?: Maybe> } & AssetFragment; }; export type DeleteAssetMutationVariables = Exact<{ @@ -4919,19 +4522,14 @@ export type DeleteAssetMutationVariables = Exact<{ force?: Maybe; }>; -export type DeleteAssetMutation = { __typename?: 'Mutation' } & { - deleteAsset: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteAssetMutation = { deleteAsset: Pick }; export type UpdateChannelMutationVariables = Exact<{ input: UpdateChannelInput; }>; -export type UpdateChannelMutation = { __typename?: 'Mutation' } & { - updateChannel: { __typename?: 'Channel' } & Pick< - Channel, - 'id' | 'code' | 'defaultLanguageCode' | 'currencyCode' - >; +export type UpdateChannelMutation = { + updateChannel: Pick; }; export type GetCustomerHistoryQueryVariables = Exact<{ @@ -4939,19 +4537,17 @@ export type GetCustomerHistoryQueryVariables = Exact<{ options?: Maybe; }>; -export type GetCustomerHistoryQuery = { __typename?: 'Query' } & { +export type GetCustomerHistoryQuery = { customer?: Maybe< - { __typename?: 'Customer' } & Pick & { - history: { __typename?: 'HistoryEntryList' } & Pick & { - items: Array< - { __typename?: 'HistoryEntry' } & Pick & { - administrator?: Maybe< - { __typename?: 'Administrator' } & Pick - >; - } - >; - }; - } + Pick & { + history: Pick & { + items: Array< + Pick & { + administrator?: Maybe>; + } + >; + }; + } >; }; @@ -4959,42 +4555,33 @@ export type GetOrderQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetOrderQuery = { __typename?: 'Query' } & { - order?: Maybe<{ __typename?: 'Order' } & OrderWithLinesFragment>; -}; +export type GetOrderQuery = { order?: Maybe }; -export type CustomerGroupFragment = { __typename?: 'CustomerGroup' } & Pick & { - customers: { __typename?: 'CustomerList' } & Pick & { - items: Array<{ __typename?: 'Customer' } & Pick>; - }; - }; +export type CustomerGroupFragment = Pick & { + customers: Pick & { items: Array> }; +}; export type CreateCustomerGroupMutationVariables = Exact<{ input: CreateCustomerGroupInput; }>; -export type CreateCustomerGroupMutation = { __typename?: 'Mutation' } & { - createCustomerGroup: { __typename?: 'CustomerGroup' } & CustomerGroupFragment; -}; +export type CreateCustomerGroupMutation = { createCustomerGroup: CustomerGroupFragment }; export type RemoveCustomersFromGroupMutationVariables = Exact<{ groupId: Scalars['ID']; customerIds: Array; }>; -export type RemoveCustomersFromGroupMutation = { __typename?: 'Mutation' } & { - removeCustomersFromGroup: { __typename?: 'CustomerGroup' } & CustomerGroupFragment; -}; +export type RemoveCustomersFromGroupMutation = { removeCustomersFromGroup: CustomerGroupFragment }; export type CreateFulfillmentMutationVariables = Exact<{ input: FulfillOrderInput; }>; -export type CreateFulfillmentMutation = { __typename?: 'Mutation' } & { - fulfillOrder: { __typename?: 'Fulfillment' } & Pick< - Fulfillment, - 'id' | 'method' | 'state' | 'trackingCode' - > & { orderItems: Array<{ __typename?: 'OrderItem' } & Pick> }; +export type CreateFulfillmentMutation = { + fulfillOrder: Pick & { + orderItems: Array>; + }; }; export type TransitFulfillmentMutationVariables = Exact<{ @@ -5002,26 +4589,17 @@ export type TransitFulfillmentMutationVariables = Exact<{ state: Scalars['String']; }>; -export type TransitFulfillmentMutation = { __typename?: 'Mutation' } & { - transitionFulfillmentToState: { __typename?: 'Fulfillment' } & Pick; -}; +export type TransitFulfillmentMutation = { transitionFulfillmentToState: Pick }; export type GetOrderFulfillmentsQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetOrderFulfillmentsQuery = { __typename?: 'Query' } & { +export type GetOrderFulfillmentsQuery = { order?: Maybe< - { __typename?: 'Order' } & Pick & { - fulfillments?: Maybe< - Array< - { __typename?: 'Fulfillment' } & Pick< - Fulfillment, - 'id' | 'state' | 'nextStates' | 'method' - > - > - >; - } + Pick & { + fulfillments?: Maybe>>; + } >; }; @@ -5029,19 +4607,15 @@ export type GetOrderListQueryVariables = Exact<{ options?: Maybe; }>; -export type GetOrderListQuery = { __typename?: 'Query' } & { - orders: { __typename?: 'OrderList' } & Pick & { - items: Array<{ __typename?: 'Order' } & OrderFragment>; - }; -}; +export type GetOrderListQuery = { orders: Pick & { items: Array } }; export type CreateAddressMutationVariables = Exact<{ id: Scalars['ID']; input: CreateAddressInput; }>; -export type CreateAddressMutation = { __typename?: 'Mutation' } & { - createCustomerAddress: { __typename?: 'Address' } & Pick< +export type CreateAddressMutation = { + createCustomerAddress: Pick< Address, | 'id' | 'fullName' @@ -5054,18 +4628,17 @@ export type CreateAddressMutation = { __typename?: 'Mutation' } & { | 'phoneNumber' | 'defaultShippingAddress' | 'defaultBillingAddress' - > & { country: { __typename?: 'Country' } & Pick }; + > & { country: Pick }; }; export type UpdateAddressMutationVariables = Exact<{ input: UpdateAddressInput; }>; -export type UpdateAddressMutation = { __typename?: 'Mutation' } & { - updateCustomerAddress: { __typename?: 'Address' } & Pick< - Address, - 'id' | 'defaultShippingAddress' | 'defaultBillingAddress' - > & { country: { __typename?: 'Country' } & Pick }; +export type UpdateAddressMutation = { + updateCustomerAddress: Pick & { + country: Pick; + }; }; export type CreateCustomerMutationVariables = Exact<{ @@ -5073,66 +4646,56 @@ export type CreateCustomerMutationVariables = Exact<{ password?: Maybe; }>; -export type CreateCustomerMutation = { __typename?: 'Mutation' } & { - createCustomer: { __typename?: 'Customer' } & CustomerFragment; -}; +export type CreateCustomerMutation = { createCustomer: CustomerFragment }; export type UpdateCustomerMutationVariables = Exact<{ input: UpdateCustomerInput; }>; -export type UpdateCustomerMutation = { __typename?: 'Mutation' } & { - updateCustomer: { __typename?: 'Customer' } & CustomerFragment; -}; +export type UpdateCustomerMutation = { updateCustomer: CustomerFragment }; export type DeleteCustomerMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteCustomerMutation = { __typename?: 'Mutation' } & { - deleteCustomer: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteCustomerMutation = { deleteCustomer: Pick }; export type UpdateCustomerNoteMutationVariables = Exact<{ input: UpdateCustomerNoteInput; }>; -export type UpdateCustomerNoteMutation = { __typename?: 'Mutation' } & { - updateCustomerNote: { __typename?: 'HistoryEntry' } & Pick; +export type UpdateCustomerNoteMutation = { + updateCustomerNote: Pick; }; export type DeleteCustomerNoteMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteCustomerNoteMutation = { __typename?: 'Mutation' } & { - deleteCustomerNote: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteCustomerNoteMutation = { deleteCustomerNote: Pick }; export type UpdateCustomerGroupMutationVariables = Exact<{ input: UpdateCustomerGroupInput; }>; -export type UpdateCustomerGroupMutation = { __typename?: 'Mutation' } & { - updateCustomerGroup: { __typename?: 'CustomerGroup' } & CustomerGroupFragment; -}; +export type UpdateCustomerGroupMutation = { updateCustomerGroup: CustomerGroupFragment }; export type DeleteCustomerGroupMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteCustomerGroupMutation = { __typename?: 'Mutation' } & { - deleteCustomerGroup: { __typename?: 'DeletionResponse' } & Pick; +export type DeleteCustomerGroupMutation = { + deleteCustomerGroup: Pick; }; export type GetCustomerGroupsQueryVariables = Exact<{ options?: Maybe; }>; -export type GetCustomerGroupsQuery = { __typename?: 'Query' } & { - customerGroups: { __typename?: 'CustomerGroupList' } & Pick & { - items: Array<{ __typename?: 'CustomerGroup' } & Pick>; - }; +export type GetCustomerGroupsQuery = { + customerGroups: Pick & { + items: Array>; + }; }; export type GetCustomerGroupQueryVariables = Exact<{ @@ -5140,13 +4703,11 @@ export type GetCustomerGroupQueryVariables = Exact<{ options?: Maybe; }>; -export type GetCustomerGroupQuery = { __typename?: 'Query' } & { +export type GetCustomerGroupQuery = { customerGroup?: Maybe< - { __typename?: 'CustomerGroup' } & Pick & { - customers: { __typename?: 'CustomerList' } & Pick & { - items: Array<{ __typename?: 'Customer' } & Pick>; - }; - } + Pick & { + customers: Pick & { items: Array> }; + } >; }; @@ -5155,20 +4716,14 @@ export type AddCustomersToGroupMutationVariables = Exact<{ customerIds: Array; }>; -export type AddCustomersToGroupMutation = { __typename?: 'Mutation' } & { - addCustomersToGroup: { __typename?: 'CustomerGroup' } & CustomerGroupFragment; -}; +export type AddCustomersToGroupMutation = { addCustomersToGroup: CustomerGroupFragment }; export type GetCustomerWithGroupsQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetCustomerWithGroupsQuery = { __typename?: 'Query' } & { - customer?: Maybe< - { __typename?: 'Customer' } & Pick & { - groups: Array<{ __typename?: 'CustomerGroup' } & Pick>; - } - >; +export type GetCustomerWithGroupsQuery = { + customer?: Maybe & { groups: Array> }>; }; export type AdminTransitionMutationVariables = Exact<{ @@ -5176,41 +4731,37 @@ export type AdminTransitionMutationVariables = Exact<{ state: Scalars['String']; }>; -export type AdminTransitionMutation = { __typename?: 'Mutation' } & { - transitionOrderToState?: Maybe<{ __typename?: 'Order' } & Pick>; +export type AdminTransitionMutation = { + transitionOrderToState?: Maybe< + | OrderFragment + | (Pick & { + errorCode: OrderStateTransitionError['code']; + }) + >; }; export type UpdateOptionGroupMutationVariables = Exact<{ input: UpdateProductOptionGroupInput; }>; -export type UpdateOptionGroupMutation = { __typename?: 'Mutation' } & { - updateProductOptionGroup: { __typename?: 'ProductOptionGroup' } & Pick; -}; +export type UpdateOptionGroupMutation = { updateProductOptionGroup: Pick }; export type DeletePromotionAdHoc1MutationVariables = Exact<{ [key: string]: never }>; -export type DeletePromotionAdHoc1Mutation = { __typename?: 'Mutation' } & { - deletePromotion: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeletePromotionAdHoc1Mutation = { deletePromotion: Pick }; export type GetPromoProductsQueryVariables = Exact<{ [key: string]: never }>; -export type GetPromoProductsQuery = { __typename?: 'Query' } & { - products: { __typename?: 'ProductList' } & { +export type GetPromoProductsQuery = { + products: { items: Array< - { __typename?: 'Product' } & Pick & { - variants: Array< - { __typename?: 'ProductVariant' } & Pick< - ProductVariant, - 'id' | 'price' | 'priceWithTax' | 'sku' - > & { - facetValues: Array< - { __typename?: 'FacetValue' } & Pick - >; - } - >; - } + Pick & { + variants: Array< + Pick & { + facetValues: Array>; + } + >; + } >; }; }; @@ -5219,25 +4770,16 @@ export type SettlePaymentMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type SettlePaymentMutation = { __typename?: 'Mutation' } & { - settlePayment: { __typename?: 'Payment' } & Pick; -}; +export type SettlePaymentMutation = { settlePayment: Pick }; export type GetOrderListFulfillmentsQueryVariables = Exact<{ [key: string]: never }>; -export type GetOrderListFulfillmentsQuery = { __typename?: 'Query' } & { - orders: { __typename?: 'OrderList' } & { +export type GetOrderListFulfillmentsQuery = { + orders: { items: Array< - { __typename?: 'Order' } & Pick & { - fulfillments?: Maybe< - Array< - { __typename?: 'Fulfillment' } & Pick< - Fulfillment, - 'id' | 'state' | 'nextStates' | 'method' - > - > - >; - } + Pick & { + fulfillments?: Maybe>>; + } >; }; }; @@ -5246,17 +4788,13 @@ export type GetOrderFulfillmentItemsQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetOrderFulfillmentItemsQuery = { __typename?: 'Query' } & { +export type GetOrderFulfillmentItemsQuery = { order?: Maybe< - { __typename?: 'Order' } & Pick & { - fulfillments?: Maybe< - Array< - { __typename?: 'Fulfillment' } & Pick & { - orderItems: Array<{ __typename?: 'OrderItem' } & Pick>; - } - > - >; - } + Pick & { + fulfillments?: Maybe< + Array & { orderItems: Array> }> + >; + } >; }; @@ -5264,33 +4802,26 @@ export type CancelOrderMutationVariables = Exact<{ input: CancelOrderInput; }>; -export type CancelOrderMutation = { __typename?: 'Mutation' } & { - cancelOrder: { __typename?: 'Order' } & Pick & { - lines: Array< - { __typename?: 'OrderLine' } & Pick & { - items: Array<{ __typename?: 'OrderItem' } & Pick>; - } - >; - }; +export type CancelOrderMutation = { + cancelOrder: Pick & { + lines: Array & { items: Array> }>; + }; }; export type RefundOrderMutationVariables = Exact<{ input: RefundOrderInput; }>; -export type RefundOrderMutation = { __typename?: 'Mutation' } & { - refundOrder: { __typename?: 'Refund' } & Pick< - Refund, - 'id' | 'state' | 'items' | 'transactionId' | 'shipping' | 'total' | 'metadata' - >; +export type RefundOrderMutation = { + refundOrder: Pick; }; export type SettleRefundMutationVariables = Exact<{ input: SettleRefundInput; }>; -export type SettleRefundMutation = { __typename?: 'Mutation' } & { - settleRefund: { __typename?: 'Refund' } & Pick< +export type SettleRefundMutation = { + settleRefund: Pick< Refund, 'id' | 'state' | 'items' | 'transactionId' | 'shipping' | 'total' | 'metadata' >; @@ -5301,19 +4832,17 @@ export type GetOrderHistoryQueryVariables = Exact<{ options?: Maybe; }>; -export type GetOrderHistoryQuery = { __typename?: 'Query' } & { +export type GetOrderHistoryQuery = { order?: Maybe< - { __typename?: 'Order' } & Pick & { - history: { __typename?: 'HistoryEntryList' } & Pick & { - items: Array< - { __typename?: 'HistoryEntry' } & Pick & { - administrator?: Maybe< - { __typename?: 'Administrator' } & Pick - >; - } - >; - }; - } + Pick & { + history: Pick & { + items: Array< + Pick & { + administrator?: Maybe>; + } + >; + }; + } >; }; @@ -5321,82 +4850,53 @@ export type AddNoteToOrderMutationVariables = Exact<{ input: AddNoteToOrderInput; }>; -export type AddNoteToOrderMutation = { __typename?: 'Mutation' } & { - addNoteToOrder: { __typename?: 'Order' } & Pick; -}; +export type AddNoteToOrderMutation = { addNoteToOrder: Pick }; export type UpdateOrderNoteMutationVariables = Exact<{ input: UpdateOrderNoteInput; }>; -export type UpdateOrderNoteMutation = { __typename?: 'Mutation' } & { - updateOrderNote: { __typename?: 'HistoryEntry' } & Pick; -}; +export type UpdateOrderNoteMutation = { updateOrderNote: Pick }; export type DeleteOrderNoteMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteOrderNoteMutation = { __typename?: 'Mutation' } & { - deleteOrderNote: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteOrderNoteMutation = { deleteOrderNote: Pick }; -export type ProductOptionGroupFragment = { __typename?: 'ProductOptionGroup' } & Pick< - ProductOptionGroup, - 'id' | 'code' | 'name' -> & { - options: Array<{ __typename?: 'ProductOption' } & Pick>; - translations: Array< - { __typename?: 'ProductOptionGroupTranslation' } & Pick< - ProductOptionGroupTranslation, - 'id' | 'languageCode' | 'name' - > - >; - }; +export type ProductOptionGroupFragment = Pick & { + options: Array>; + translations: Array>; +}; export type CreateProductOptionGroupMutationVariables = Exact<{ input: CreateProductOptionGroupInput; }>; -export type CreateProductOptionGroupMutation = { __typename?: 'Mutation' } & { - createProductOptionGroup: { __typename?: 'ProductOptionGroup' } & ProductOptionGroupFragment; -}; +export type CreateProductOptionGroupMutation = { createProductOptionGroup: ProductOptionGroupFragment }; export type UpdateProductOptionGroupMutationVariables = Exact<{ input: UpdateProductOptionGroupInput; }>; -export type UpdateProductOptionGroupMutation = { __typename?: 'Mutation' } & { - updateProductOptionGroup: { __typename?: 'ProductOptionGroup' } & ProductOptionGroupFragment; -}; +export type UpdateProductOptionGroupMutation = { updateProductOptionGroup: ProductOptionGroupFragment }; export type CreateProductOptionMutationVariables = Exact<{ input: CreateProductOptionInput; }>; -export type CreateProductOptionMutation = { __typename?: 'Mutation' } & { - createProductOption: { __typename?: 'ProductOption' } & Pick< - ProductOption, - 'id' | 'code' | 'name' | 'groupId' - > & { - translations: Array< - { __typename?: 'ProductOptionTranslation' } & Pick< - ProductOptionTranslation, - 'id' | 'languageCode' | 'name' - > - >; - }; +export type CreateProductOptionMutation = { + createProductOption: Pick & { + translations: Array>; + }; }; export type UpdateProductOptionMutationVariables = Exact<{ input: UpdateProductOptionInput; }>; -export type UpdateProductOptionMutation = { __typename?: 'Mutation' } & { - updateProductOption: { __typename?: 'ProductOption' } & Pick< - ProductOption, - 'id' | 'code' | 'name' | 'groupId' - >; +export type UpdateProductOptionMutation = { + updateProductOption: Pick; }; export type AddOptionGroupToProductMutationVariables = Exact<{ @@ -5404,14 +4904,12 @@ export type AddOptionGroupToProductMutationVariables = Exact<{ optionGroupId: Scalars['ID']; }>; -export type AddOptionGroupToProductMutation = { __typename?: 'Mutation' } & { - addOptionGroupToProduct: { __typename?: 'Product' } & Pick & { - optionGroups: Array< - { __typename?: 'ProductOptionGroup' } & Pick & { - options: Array<{ __typename?: 'ProductOption' } & Pick>; - } - >; - }; +export type AddOptionGroupToProductMutation = { + addOptionGroupToProduct: Pick & { + optionGroups: Array< + Pick & { options: Array> } + >; + }; }; export type RemoveOptionGroupFromProductMutationVariables = Exact<{ @@ -5419,25 +4917,21 @@ export type RemoveOptionGroupFromProductMutationVariables = Exact<{ optionGroupId: Scalars['ID']; }>; -export type RemoveOptionGroupFromProductMutation = { __typename?: 'Mutation' } & { - removeOptionGroupFromProduct: { __typename?: 'Product' } & Pick & { - optionGroups: Array< - { __typename?: 'ProductOptionGroup' } & Pick & { - options: Array<{ __typename?: 'ProductOption' } & Pick>; - } - >; - }; +export type RemoveOptionGroupFromProductMutation = { + removeOptionGroupFromProduct: Pick & { + optionGroups: Array< + Pick & { options: Array> } + >; + }; }; export type GetOptionGroupQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetOptionGroupQuery = { __typename?: 'Query' } & { +export type GetOptionGroupQuery = { productOptionGroup?: Maybe< - { __typename?: 'ProductOptionGroup' } & Pick & { - options: Array<{ __typename?: 'ProductOption' } & Pick>; - } + Pick & { options: Array> } >; }; @@ -5445,183 +4939,128 @@ export type GetProductVariantQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetProductVariantQuery = { __typename?: 'Query' } & { - productVariant?: Maybe<{ __typename?: 'ProductVariant' } & Pick>; -}; +export type GetProductVariantQuery = { productVariant?: Maybe> }; export type DeletePromotionMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeletePromotionMutation = { __typename?: 'Mutation' } & { - deletePromotion: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeletePromotionMutation = { deletePromotion: Pick }; export type GetPromotionListQueryVariables = Exact<{ options?: Maybe; }>; -export type GetPromotionListQuery = { __typename?: 'Query' } & { - promotions: { __typename?: 'PromotionList' } & Pick & { - items: Array<{ __typename?: 'Promotion' } & PromotionFragment>; - }; +export type GetPromotionListQuery = { + promotions: Pick & { items: Array }; }; export type GetPromotionQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetPromotionQuery = { __typename?: 'Query' } & { - promotion?: Maybe<{ __typename?: 'Promotion' } & PromotionFragment>; -}; +export type GetPromotionQuery = { promotion?: Maybe }; export type UpdatePromotionMutationVariables = Exact<{ input: UpdatePromotionInput; }>; -export type UpdatePromotionMutation = { __typename?: 'Mutation' } & { - updatePromotion: { __typename?: 'Promotion' } & PromotionFragment; -}; +export type UpdatePromotionMutation = { updatePromotion: PromotionFragment }; -export type ConfigurableOperationDefFragment = { __typename?: 'ConfigurableOperationDefinition' } & Pick< +export type ConfigurableOperationDefFragment = Pick< ConfigurableOperationDefinition, 'code' | 'description' -> & { - args: Array< - { __typename?: 'ConfigArgDefinition' } & Pick - >; - }; +> & { args: Array> }; export type GetAdjustmentOperationsQueryVariables = Exact<{ [key: string]: never }>; -export type GetAdjustmentOperationsQuery = { __typename?: 'Query' } & { - promotionActions: Array< - { __typename?: 'ConfigurableOperationDefinition' } & ConfigurableOperationDefFragment - >; - promotionConditions: Array< - { __typename?: 'ConfigurableOperationDefinition' } & ConfigurableOperationDefFragment - >; +export type GetAdjustmentOperationsQuery = { + promotionActions: Array; + promotionConditions: Array; }; export type GetRolesQueryVariables = Exact<{ options?: Maybe; }>; -export type GetRolesQuery = { __typename?: 'Query' } & { - roles: { __typename?: 'RoleList' } & Pick & { - items: Array<{ __typename?: 'Role' } & RoleFragment>; - }; -}; +export type GetRolesQuery = { roles: Pick & { items: Array } }; export type GetRoleQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetRoleQuery = { __typename?: 'Query' } & { - role?: Maybe<{ __typename?: 'Role' } & RoleFragment>; -}; +export type GetRoleQuery = { role?: Maybe }; export type UpdateRoleMutationVariables = Exact<{ input: UpdateRoleInput; }>; -export type UpdateRoleMutation = { __typename?: 'Mutation' } & { - updateRole: { __typename?: 'Role' } & RoleFragment; -}; +export type UpdateRoleMutation = { updateRole: RoleFragment }; export type DeleteRoleMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteRoleMutation = { __typename?: 'Mutation' } & { - deleteRole: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteRoleMutation = { deleteRole: Pick }; export type LogoutMutationVariables = Exact<{ [key: string]: never }>; -export type LogoutMutation = { __typename?: 'Mutation' } & Pick; +export type LogoutMutation = Pick; -export type ShippingMethodFragment = { __typename?: 'ShippingMethod' } & Pick< - ShippingMethod, - 'id' | 'code' | 'description' -> & { - calculator: { __typename?: 'ConfigurableOperation' } & Pick; - checker: { __typename?: 'ConfigurableOperation' } & Pick; - }; +export type ShippingMethodFragment = Pick & { + calculator: Pick; + checker: Pick; +}; export type GetShippingMethodListQueryVariables = Exact<{ [key: string]: never }>; -export type GetShippingMethodListQuery = { __typename?: 'Query' } & { - shippingMethods: { __typename?: 'ShippingMethodList' } & Pick & { - items: Array<{ __typename?: 'ShippingMethod' } & ShippingMethodFragment>; - }; +export type GetShippingMethodListQuery = { + shippingMethods: Pick & { items: Array }; }; export type GetShippingMethodQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetShippingMethodQuery = { __typename?: 'Query' } & { - shippingMethod?: Maybe<{ __typename?: 'ShippingMethod' } & ShippingMethodFragment>; -}; +export type GetShippingMethodQuery = { shippingMethod?: Maybe }; export type CreateShippingMethodMutationVariables = Exact<{ input: CreateShippingMethodInput; }>; -export type CreateShippingMethodMutation = { __typename?: 'Mutation' } & { - createShippingMethod: { __typename?: 'ShippingMethod' } & ShippingMethodFragment; -}; +export type CreateShippingMethodMutation = { createShippingMethod: ShippingMethodFragment }; export type UpdateShippingMethodMutationVariables = Exact<{ input: UpdateShippingMethodInput; }>; -export type UpdateShippingMethodMutation = { __typename?: 'Mutation' } & { - updateShippingMethod: { __typename?: 'ShippingMethod' } & ShippingMethodFragment; -}; +export type UpdateShippingMethodMutation = { updateShippingMethod: ShippingMethodFragment }; export type DeleteShippingMethodMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteShippingMethodMutation = { __typename?: 'Mutation' } & { - deleteShippingMethod: { __typename?: 'DeletionResponse' } & Pick; +export type DeleteShippingMethodMutation = { + deleteShippingMethod: Pick; }; export type GetEligibilityCheckersQueryVariables = Exact<{ [key: string]: never }>; -export type GetEligibilityCheckersQuery = { __typename?: 'Query' } & { +export type GetEligibilityCheckersQuery = { shippingEligibilityCheckers: Array< - { __typename?: 'ConfigurableOperationDefinition' } & Pick< - ConfigurableOperationDefinition, - 'code' | 'description' - > & { - args: Array< - { __typename?: 'ConfigArgDefinition' } & Pick< - ConfigArgDefinition, - 'name' | 'type' | 'description' | 'label' | 'ui' - > - >; - } + Pick & { + args: Array>; + } >; }; export type GetCalculatorsQueryVariables = Exact<{ [key: string]: never }>; -export type GetCalculatorsQuery = { __typename?: 'Query' } & { +export type GetCalculatorsQuery = { shippingCalculators: Array< - { __typename?: 'ConfigurableOperationDefinition' } & Pick< - ConfigurableOperationDefinition, - 'code' | 'description' - > & { - args: Array< - { __typename?: 'ConfigArgDefinition' } & Pick< - ConfigArgDefinition, - 'name' | 'type' | 'description' | 'label' | 'ui' - > - >; - } + Pick & { + args: Array>; + } >; }; @@ -5629,273 +5068,190 @@ export type TestShippingMethodQueryVariables = Exact<{ input: TestShippingMethodInput; }>; -export type TestShippingMethodQuery = { __typename?: 'Query' } & { - testShippingMethod: { __typename?: 'TestShippingMethodResult' } & Pick< - TestShippingMethodResult, - 'eligible' - > & { - quote?: Maybe< - { __typename?: 'TestShippingMethodQuote' } & Pick< - TestShippingMethodQuote, - 'price' | 'priceWithTax' | 'metadata' - > - >; - }; +export type TestShippingMethodQuery = { + testShippingMethod: Pick & { + quote?: Maybe>; + }; }; export type TestEligibleMethodsQueryVariables = Exact<{ input: TestEligibleShippingMethodsInput; }>; -export type TestEligibleMethodsQuery = { __typename?: 'Query' } & { +export type TestEligibleMethodsQuery = { testEligibleShippingMethods: Array< - { __typename?: 'ShippingMethodQuote' } & Pick< - ShippingMethodQuote, - 'id' | 'description' | 'price' | 'priceWithTax' | 'metadata' - > + Pick >; }; export type GetMeQueryVariables = Exact<{ [key: string]: never }>; -export type GetMeQuery = { __typename?: 'Query' } & { - me?: Maybe<{ __typename?: 'CurrentUser' } & Pick>; -}; +export type GetMeQuery = { me?: Maybe> }; export type GetProductsTake3QueryVariables = Exact<{ [key: string]: never }>; -export type GetProductsTake3Query = { __typename?: 'Query' } & { - products: { __typename?: 'ProductList' } & { - items: Array<{ __typename?: 'Product' } & Pick>; - }; -}; +export type GetProductsTake3Query = { products: { items: Array> } }; export type GetProduct1QueryVariables = Exact<{ [key: string]: never }>; -export type GetProduct1Query = { __typename?: 'Query' } & { - product?: Maybe<{ __typename?: 'Product' } & Pick>; -}; +export type GetProduct1Query = { product?: Maybe> }; export type GetProduct2VariantsQueryVariables = Exact<{ [key: string]: never }>; -export type GetProduct2VariantsQuery = { __typename?: 'Query' } & { - product?: Maybe< - { __typename?: 'Product' } & Pick & { - variants: Array<{ __typename?: 'ProductVariant' } & Pick>; - } - >; +export type GetProduct2VariantsQuery = { + product?: Maybe & { variants: Array> }>; }; export type GetProductCollectionQueryVariables = Exact<{ [key: string]: never }>; -export type GetProductCollectionQuery = { __typename?: 'Query' } & { - product?: Maybe< - { __typename?: 'Product' } & { - collections: Array<{ __typename?: 'Collection' } & Pick>; - } - >; +export type GetProductCollectionQuery = { + product?: Maybe<{ collections: Array> }>; }; export type DisableProductMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DisableProductMutation = { __typename?: 'Mutation' } & { - updateProduct: { __typename?: 'Product' } & Pick; -}; +export type DisableProductMutation = { updateProduct: Pick }; export type GetCollectionVariantsQueryVariables = Exact<{ id?: Maybe; slug?: Maybe; }>; -export type GetCollectionVariantsQuery = { __typename?: 'Query' } & { +export type GetCollectionVariantsQuery = { collection?: Maybe< - { __typename?: 'Collection' } & Pick & { - productVariants: { __typename?: 'ProductVariantList' } & { - items: Array<{ __typename?: 'ProductVariant' } & Pick>; - }; - } + Pick & { productVariants: { items: Array> } } >; }; export type GetCollectionListQueryVariables = Exact<{ [key: string]: never }>; -export type GetCollectionListQuery = { __typename?: 'Query' } & { - collections: { __typename?: 'CollectionList' } & { - items: Array<{ __typename?: 'Collection' } & Pick>; - }; -}; +export type GetCollectionListQuery = { collections: { items: Array> } }; export type GetProductFacetValuesQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetProductFacetValuesQuery = { __typename?: 'Query' } & { - product?: Maybe< - { __typename?: 'Product' } & Pick & { - facetValues: Array<{ __typename?: 'FacetValue' } & Pick>; - } - >; +export type GetProductFacetValuesQuery = { + product?: Maybe & { facetValues: Array> }>; }; export type GetVariantFacetValuesQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetVariantFacetValuesQuery = { __typename?: 'Query' } & { +export type GetVariantFacetValuesQuery = { product?: Maybe< - { __typename?: 'Product' } & Pick & { - variants: Array< - { __typename?: 'ProductVariant' } & Pick & { - facetValues: Array<{ __typename?: 'FacetValue' } & Pick>; - } - >; - } + Pick & { + variants: Array & { facetValues: Array> }>; + } >; }; export type GetCustomerIdsQueryVariables = Exact<{ [key: string]: never }>; -export type GetCustomerIdsQuery = { __typename?: 'Query' } & { - customers: { __typename?: 'CustomerList' } & { - items: Array<{ __typename?: 'Customer' } & Pick>; - }; -}; +export type GetCustomerIdsQuery = { customers: { items: Array> } }; export type UpdateStockMutationVariables = Exact<{ input: Array; }>; -export type UpdateStockMutation = { __typename?: 'Mutation' } & { - updateProductVariants: Array>; -}; +export type UpdateStockMutation = { updateProductVariants: Array> }; export type GetTaxCategoryListQueryVariables = Exact<{ [key: string]: never }>; -export type GetTaxCategoryListQuery = { __typename?: 'Query' } & { - taxCategories: Array<{ __typename?: 'TaxCategory' } & Pick>; -}; +export type GetTaxCategoryListQuery = { taxCategories: Array> }; export type GetTaxCategoryQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetTaxCategoryQuery = { __typename?: 'Query' } & { - taxCategory?: Maybe<{ __typename?: 'TaxCategory' } & Pick>; -}; +export type GetTaxCategoryQuery = { taxCategory?: Maybe> }; export type CreateTaxCategoryMutationVariables = Exact<{ input: CreateTaxCategoryInput; }>; -export type CreateTaxCategoryMutation = { __typename?: 'Mutation' } & { - createTaxCategory: { __typename?: 'TaxCategory' } & Pick; -}; +export type CreateTaxCategoryMutation = { createTaxCategory: Pick }; export type UpdateTaxCategoryMutationVariables = Exact<{ input: UpdateTaxCategoryInput; }>; -export type UpdateTaxCategoryMutation = { __typename?: 'Mutation' } & { - updateTaxCategory: { __typename?: 'TaxCategory' } & Pick; -}; +export type UpdateTaxCategoryMutation = { updateTaxCategory: Pick }; export type DeleteTaxCategoryMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteTaxCategoryMutation = { __typename?: 'Mutation' } & { - deleteTaxCategory: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteTaxCategoryMutation = { deleteTaxCategory: Pick }; export type GetTaxRatesQueryVariables = Exact<{ [key: string]: never }>; -export type GetTaxRatesQuery = { __typename?: 'Query' } & { - taxRates: { __typename?: 'TaxRateList' } & Pick & { - items: Array<{ __typename?: 'TaxRate' } & TaxRateFragment>; - }; +export type GetTaxRatesQuery = { + taxRates: Pick & { items: Array }; }; export type GetTaxRateQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetTaxRateQuery = { __typename?: 'Query' } & { - taxRate?: Maybe<{ __typename?: 'TaxRate' } & TaxRateFragment>; -}; +export type GetTaxRateQuery = { taxRate?: Maybe }; export type CreateTaxRateMutationVariables = Exact<{ input: CreateTaxRateInput; }>; -export type CreateTaxRateMutation = { __typename?: 'Mutation' } & { - createTaxRate: { __typename?: 'TaxRate' } & TaxRateFragment; -}; +export type CreateTaxRateMutation = { createTaxRate: TaxRateFragment }; export type DeleteTaxRateMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteTaxRateMutation = { __typename?: 'Mutation' } & { - deleteTaxRate: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteTaxRateMutation = { deleteTaxRate: Pick }; export type DeleteZoneMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteZoneMutation = { __typename?: 'Mutation' } & { - deleteZone: { __typename?: 'DeletionResponse' } & Pick; -}; +export type DeleteZoneMutation = { deleteZone: Pick }; export type GetZonesQueryVariables = Exact<{ [key: string]: never }>; -export type GetZonesQuery = { __typename?: 'Query' } & { - zones: Array<{ __typename?: 'Zone' } & Pick>; -}; +export type GetZonesQuery = { zones: Array> }; export type GetZoneQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetZoneQuery = { __typename?: 'Query' } & { - zone?: Maybe<{ __typename?: 'Zone' } & ZoneFragment>; -}; +export type GetZoneQuery = { zone?: Maybe }; export type CreateZoneMutationVariables = Exact<{ input: CreateZoneInput; }>; -export type CreateZoneMutation = { __typename?: 'Mutation' } & { - createZone: { __typename?: 'Zone' } & ZoneFragment; -}; +export type CreateZoneMutation = { createZone: ZoneFragment }; export type UpdateZoneMutationVariables = Exact<{ input: UpdateZoneInput; }>; -export type UpdateZoneMutation = { __typename?: 'Mutation' } & { - updateZone: { __typename?: 'Zone' } & ZoneFragment; -}; +export type UpdateZoneMutation = { updateZone: ZoneFragment }; export type AddMembersToZoneMutationVariables = Exact<{ zoneId: Scalars['ID']; memberIds: Array; }>; -export type AddMembersToZoneMutation = { __typename?: 'Mutation' } & { - addMembersToZone: { __typename?: 'Zone' } & ZoneFragment; -}; +export type AddMembersToZoneMutation = { addMembersToZone: ZoneFragment }; export type RemoveMembersFromZoneMutationVariables = Exact<{ zoneId: Scalars['ID']; memberIds: Array; }>; -export type RemoveMembersFromZoneMutation = { __typename?: 'Mutation' } & { - removeMembersFromZone: { __typename?: 'Zone' } & ZoneFragment; -}; +export type RemoveMembersFromZoneMutation = { removeMembersFromZone: ZoneFragment }; type DiscriminateUnion = T extends U ? T : never; @@ -6224,6 +5580,7 @@ export namespace CreateCountry { export namespace DeleteCustomerAddress { export type Variables = DeleteCustomerAddressMutationVariables; export type Mutation = DeleteCustomerAddressMutation; + export type DeleteCustomerAddress = NonNullable; } export namespace GetCustomerWithUser { @@ -7066,6 +6423,10 @@ export namespace AdminTransition { export type Variables = AdminTransitionMutationVariables; export type Mutation = AdminTransitionMutation; export type TransitionOrderToState = NonNullable; + export type OrderStateTransitionErrorInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'OrderStateTransitionError' } + >; } export namespace UpdateOptionGroup { diff --git a/packages/core/e2e/graphql/generated-e2e-shop-types.ts b/packages/core/e2e/graphql/generated-e2e-shop-types.ts index 38f8dac036..edefb40e07 100644 --- a/packages/core/e2e/graphql/generated-e2e-shop-types.ts +++ b/packages/core/e2e/graphql/generated-e2e-shop-types.ts @@ -16,8 +16,14 @@ export type Scalars = { Upload: any; }; +export type AddPaymentToOrderResult = + | Order + | OrderPaymentStateError + | PaymentFailedError + | PaymentDeclinedError + | OrderStateTransitionError; + export type Address = Node & { - __typename?: 'Address'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -36,7 +42,6 @@ export type Address = Node & { }; export type Adjustment = { - __typename?: 'Adjustment'; adjustmentSource: Scalars['String']; type: AdjustmentType; description: Scalars['String']; @@ -54,7 +59,6 @@ export enum AdjustmentType { } export type Administrator = Node & { - __typename?: 'Administrator'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -65,13 +69,23 @@ export type Administrator = Node & { }; export type AdministratorList = PaginatedList & { - __typename?: 'AdministratorList'; items: Array; totalItems: Scalars['Int']; }; +/** Retured when attemting to set the Customer for an Order when already logged in. */ +export type AlreadyLoggedInError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + +export type ApplyCouponCodeResult = + | Order + | CouponCodeExpiredError + | CouponCodeInvalidError + | CouponCodeLimitError; + export type Asset = Node & { - __typename?: 'Asset'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -87,7 +101,6 @@ export type Asset = Node & { }; export type AssetList = PaginatedList & { - __typename?: 'AssetList'; items: Array; totalItems: Scalars['Int']; }; @@ -103,7 +116,6 @@ export type AuthenticationInput = { }; export type AuthenticationMethod = Node & { - __typename?: 'AuthenticationMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -111,7 +123,6 @@ export type AuthenticationMethod = Node & { }; export type BooleanCustomFieldConfig = CustomField & { - __typename?: 'BooleanCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -127,7 +138,6 @@ export type BooleanOperators = { export type Cancellation = Node & StockMovement & { - __typename?: 'Cancellation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -138,7 +148,6 @@ export type Cancellation = Node & }; export type Channel = Node & { - __typename?: 'Channel'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -152,7 +161,6 @@ export type Channel = Node & { }; export type Collection = Node & { - __typename?: 'Collection'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -177,7 +185,6 @@ export type CollectionProductVariantsArgs = { }; export type CollectionBreadcrumb = { - __typename?: 'CollectionBreadcrumb'; id: Scalars['ID']; name: Scalars['String']; slug: Scalars['String']; @@ -194,7 +201,6 @@ export type CollectionFilterParameter = { }; export type CollectionList = PaginatedList & { - __typename?: 'CollectionList'; items: Array; totalItems: Scalars['Int']; }; @@ -217,7 +223,6 @@ export type CollectionSortParameter = { }; export type CollectionTranslation = { - __typename?: 'CollectionTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -228,13 +233,11 @@ export type CollectionTranslation = { }; export type ConfigArg = { - __typename?: 'ConfigArg'; name: Scalars['String']; value: Scalars['String']; }; export type ConfigArgDefinition = { - __typename?: 'ConfigArgDefinition'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -249,13 +252,11 @@ export type ConfigArgInput = { }; export type ConfigurableOperation = { - __typename?: 'ConfigurableOperation'; code: Scalars['String']; args: Array; }; export type ConfigurableOperationDefinition = { - __typename?: 'ConfigurableOperationDefinition'; code: Scalars['String']; args: Array; description: Scalars['String']; @@ -267,13 +268,11 @@ export type ConfigurableOperationInput = { }; export type Coordinate = { - __typename?: 'Coordinate'; x: Scalars['Float']; y: Scalars['Float']; }; export type Country = Node & { - __typename?: 'Country'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -285,13 +284,11 @@ export type Country = Node & { }; export type CountryList = PaginatedList & { - __typename?: 'CountryList'; items: Array; totalItems: Scalars['Int']; }; export type CountryTranslation = { - __typename?: 'CountryTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -299,6 +296,28 @@ export type CountryTranslation = { name: Scalars['String']; }; +/** Returned if the provided coupon code is invalid */ +export type CouponCodeExpiredError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + couponCode: Scalars['String']; +}; + +/** Returned if the provided coupon code is invalid */ +export type CouponCodeInvalidError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + couponCode: Scalars['String']; +}; + +/** Returned if the provided coupon code is invalid */ +export type CouponCodeLimitError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + couponCode: Scalars['String']; + limit: Scalars['Int']; +}; + export type CreateAddressInput = { fullName?: Maybe; company?: Maybe; @@ -647,14 +666,12 @@ export enum CurrencyCode { } export type CurrentUser = { - __typename?: 'CurrentUser'; id: Scalars['ID']; identifier: Scalars['String']; channels: Array; }; export type CurrentUserChannel = { - __typename?: 'CurrentUserChannel'; id: Scalars['ID']; token: Scalars['String']; code: Scalars['String']; @@ -662,7 +679,6 @@ export type CurrentUserChannel = { }; export type Customer = Node & { - __typename?: 'Customer'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -692,7 +708,6 @@ export type CustomerFilterParameter = { }; export type CustomerGroup = Node & { - __typename?: 'CustomerGroup'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -705,7 +720,6 @@ export type CustomerGroupCustomersArgs = { }; export type CustomerList = PaginatedList & { - __typename?: 'CustomerList'; items: Array; totalItems: Scalars['Int']; }; @@ -747,7 +761,6 @@ export type CustomFieldConfig = | DateTimeCustomFieldConfig; export type CustomFields = { - __typename?: 'CustomFields'; Address: Array; Collection: Array; Customer: Array; @@ -781,7 +794,6 @@ 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'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -795,7 +807,6 @@ export type DateTimeCustomFieldConfig = CustomField & { }; export type DeletionResponse = { - __typename?: 'DeletionResponse'; result: DeletionResult; message?: Maybe; }; @@ -807,12 +818,44 @@ export enum DeletionResult { NOT_DELETED = 'NOT_DELETED', } +/** Retured when attemting to create a Customer with an email address already registered to an existing User. */ +export type EmailAddressConflictError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + export enum ErrorCode { - UnknownError = 'UnknownError', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', + ORDER_MODIFICATION_ERROR = 'ORDER_MODIFICATION_ERROR', + ORDER_LIMIT_ERROR = 'ORDER_LIMIT_ERROR', + NEGATIVE_QUANTITY_ERROR = 'NEGATIVE_QUANTITY_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', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', + ORDER_PAYMENT_STATE_ERROR = 'ORDER_PAYMENT_STATE_ERROR', + PAYMENT_FAILED_ERROR = 'PAYMENT_FAILED_ERROR', + PAYMENT_DECLINED_ERROR = 'PAYMENT_DECLINED_ERROR', + ALREADY_LOGGED_IN_ERROR = 'ALREADY_LOGGED_IN_ERROR', + EMAIL_ADDRESS_CONFLICT_ERROR = 'EMAIL_ADDRESS_CONFLICT_ERROR', + MISSING_PASSWORD_ERROR = 'MISSING_PASSWORD_ERROR', + NATIVE_AUTH_STRATEGY_ERROR = 'NATIVE_AUTH_STRATEGY_ERROR', + VERIFICATION_TOKEN_INVALID_ERROR = 'VERIFICATION_TOKEN_INVALID_ERROR', + VERIFICATION_TOKEN_EXPIRED_ERROR = 'VERIFICATION_TOKEN_EXPIRED_ERROR', + PASSWORD_ALREADY_SET_ERROR = 'PASSWORD_ALREADY_SET_ERROR', + INVALID_CREDENTIALS_ERROR = 'INVALID_CREDENTIALS_ERROR', + IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR = 'IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR', + IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR = 'IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR', + PASSWORD_RESET_TOKEN_INVALID_ERROR = 'PASSWORD_RESET_TOKEN_INVALID_ERROR', + PASSWORD_RESET_TOKEN_EXPIRED_ERROR = 'PASSWORD_RESET_TOKEN_EXPIRED_ERROR', } +export type ErrorResult = { + code: ErrorCode; + message: Scalars['String']; +}; + export type Facet = Node & { - __typename?: 'Facet'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -825,13 +868,11 @@ export type Facet = Node & { }; export type FacetList = PaginatedList & { - __typename?: 'FacetList'; items: Array; totalItems: Scalars['Int']; }; export type FacetTranslation = { - __typename?: 'FacetTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -840,7 +881,6 @@ export type FacetTranslation = { }; export type FacetValue = Node & { - __typename?: 'FacetValue'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -857,13 +897,11 @@ export type FacetValue = Node & { * by the search, and in what quantity. */ export type FacetValueResult = { - __typename?: 'FacetValueResult'; facetValue: FacetValue; count: Scalars['Int']; }; export type FacetValueTranslation = { - __typename?: 'FacetValueTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -872,7 +910,6 @@ export type FacetValueTranslation = { }; export type FloatCustomFieldConfig = CustomField & { - __typename?: 'FloatCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -886,7 +923,6 @@ export type FloatCustomFieldConfig = CustomField & { }; export type Fulfillment = Node & { - __typename?: 'Fulfillment'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -897,7 +933,6 @@ export type Fulfillment = Node & { }; export type GlobalSettings = { - __typename?: 'GlobalSettings'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -908,7 +943,6 @@ export type GlobalSettings = { }; export type HistoryEntry = Node & { - __typename?: 'HistoryEntry'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -926,7 +960,6 @@ export type HistoryEntryFilterParameter = { }; export type HistoryEntryList = PaginatedList & { - __typename?: 'HistoryEntryList'; items: Array; totalItems: Scalars['Int']; }; @@ -970,15 +1003,31 @@ export enum HistoryEntryType { ORDER_COUPON_REMOVED = 'ORDER_COUPON_REMOVED', } +/** + * Retured if the token used to change a Customer's email address is valid, but has + * expired according to the `verificationTokenDuration` setting in the AuthOptions. + */ +export type IdentifierChangeTokenExpiredError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + +/** + * Retured if the token used to change a Customer's email address is either + * invalid or does not match any expected tokens. + */ +export type IdentifierChangeTokenInvalidError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + export type ImportInfo = { - __typename?: 'ImportInfo'; errors?: Maybe>; processed: Scalars['Int']; imported: Scalars['Int']; }; export type IntCustomFieldConfig = CustomField & { - __typename?: 'IntCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -991,6 +1040,12 @@ export type IntCustomFieldConfig = CustomField & { step?: Maybe; }; +/** Returned if the user credentials are not valid */ +export type InvalidCredentialsError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + /** * @description * Languages in the form of a ISO 639-1 language code with optional @@ -1318,7 +1373,6 @@ export enum LanguageCode { } export type LocaleStringCustomFieldConfig = CustomField & { - __typename?: 'LocaleStringCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1331,7 +1385,6 @@ export type LocaleStringCustomFieldConfig = CustomField & { }; export type LocalizedString = { - __typename?: 'LocalizedString'; languageCode: LanguageCode; value: Scalars['String']; }; @@ -1342,32 +1395,36 @@ export enum LogicalOperator { } export type LoginResult = { - __typename?: 'LoginResult'; user: CurrentUser; }; +/** Retured when attemting to register or verify a customer account without a password, when one is required. */ +export type MissingPasswordError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + 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?: Maybe; + addItemToOrder: UpdateOrderItemsResult; /** Remove an OrderLine from the Order */ - removeOrderLine?: Maybe; + removeOrderLine: RemoveOrderItemsResult; /** Remove all OrderLine from the Order */ - removeAllOrderLines?: Maybe; + removeAllOrderLines: RemoveOrderItemsResult; /** * Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a * third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available. */ - adjustOrderLine?: Maybe; + adjustOrderLine: UpdateOrderItemsResult; /** Applies the given coupon code to the active Order */ - applyCouponCode?: Maybe; + applyCouponCode: ApplyCouponCodeResult; /** Removes the given coupon code from the active Order */ removeCouponCode?: Maybe; /** Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates` */ - transitionOrderToState?: Maybe; + transitionOrderToState?: Maybe; /** Sets the shipping address for this order */ setOrderShippingAddress?: Maybe; /** Sets the billing address for this order */ @@ -1375,11 +1432,11 @@ export type Mutation = { /** Allows any custom fields to be set for the active order */ setOrderCustomFields?: Maybe; /** Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query */ - setOrderShippingMethod?: Maybe; + setOrderShippingMethod: SetOrderShippingMethodResult; /** Add a Payment to the Order */ - addPaymentToOrder?: Maybe; + addPaymentToOrder?: Maybe; /** Set the Customer for the Order. Required only if the Customer is not currently logged in */ - setCustomerForOrder?: Maybe; + setCustomerForOrder?: Maybe; /** * Authenticates the user using the native authentication strategy. This mutation * is an alias for `authenticate({ native: { ... }})` @@ -1389,11 +1446,6 @@ export type Mutation = { authenticate: LoginResult; /** End the current authenticated session */ logout: Scalars['Boolean']; - /** - * Regenerate and send a verification token for a new Customer registration. Only - * applicable if `authOptions.requireVerification` is set to true. - */ - refreshCustomerVerification: Scalars['Boolean']; /** * Register a Customer account with the given credentials. There are three possible registration flows: * @@ -1415,7 +1467,12 @@ export type Mutation = { * 3. The Customer _must_ be registered _with_ a password. No further action is * needed - the Customer is able to authenticate immediately. */ - registerCustomerAccount: Scalars['Boolean']; + registerCustomerAccount: RegisterCustomerAccountResult; + /** + * Regenerate and send a verification token for a new Customer registration. Only + * applicable if `authOptions.requireVerification` is set to true. + */ + refreshCustomerVerification: RefreshCustomerVerificationResult; /** Update an existing Customer */ updateCustomer: Customer; /** Create a new Customer Address */ @@ -1423,7 +1480,7 @@ export type Mutation = { /** Update an existing Address */ updateCustomerAddress: Address; /** Delete an existing Address */ - deleteCustomerAddress: Scalars['Boolean']; + deleteCustomerAddress: Success; /** * Verify a Customer email address with the token sent to that address. Only * applicable if `authOptions.requireVerification` is set to true. @@ -1431,25 +1488,25 @@ export type Mutation = { * If the Customer was not registered with a password in the `registerCustomerAccount` mutation, the a password _must_ be * provided here. */ - verifyCustomerAccount: LoginResult; + verifyCustomerAccount: VerifyCustomerAccountResult; /** Update the password of the active Customer */ - updateCustomerPassword?: Maybe; + updateCustomerPassword: UpdateCustomerPasswordResult; /** * 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?: Maybe; + requestUpdateCustomerEmailAddress: RequestUpdateCustomerEmailAddressResult; /** * Confirm the update of the emailAddress with the provided token, which has been generated by the * `requestUpdateCustomerEmailAddress` mutation. */ - updateCustomerEmailAddress?: Maybe; + updateCustomerEmailAddress: UpdateCustomerEmailAddressResult; /** Requests a password reset email to be sent */ - requestPasswordReset?: Maybe; + requestPasswordReset?: Maybe; /** Resets a Customer's password based on the provided token */ - resetPassword: LoginResult; + resetPassword: ResetPasswordResult; }; export type MutationAddItemToOrderArgs = { @@ -1513,14 +1570,14 @@ export type MutationAuthenticateArgs = { rememberMe?: Maybe; }; -export type MutationRefreshCustomerVerificationArgs = { - emailAddress: Scalars['String']; -}; - export type MutationRegisterCustomerAccountArgs = { input: RegisterCustomerInput; }; +export type MutationRefreshCustomerVerificationArgs = { + emailAddress: Scalars['String']; +}; + export type MutationUpdateCustomerArgs = { input: UpdateCustomerInput; }; @@ -1570,6 +1627,18 @@ export type NativeAuthInput = { password: Scalars['String']; }; +/** Retured when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured. */ +export type NativeAuthStrategyError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + +/** Retured when attemting to set a negative OrderLine quantity. */ +export type NegativeQuantityError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + export type Node = { id: Scalars['ID']; }; @@ -1589,7 +1658,6 @@ export type NumberRange = { }; export type Order = Node & { - __typename?: 'Order'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1627,7 +1695,6 @@ export type OrderHistoryArgs = { }; export type OrderAddress = { - __typename?: 'OrderAddress'; fullName?: Maybe; company?: Maybe; streetLine1?: Maybe; @@ -1656,7 +1723,6 @@ export type OrderFilterParameter = { }; export type OrderItem = Node & { - __typename?: 'OrderItem'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1670,8 +1736,14 @@ export type OrderItem = Node & { refundId?: Maybe; }; +/** Retured when the maximum order size limit has been reached. */ +export type OrderLimitError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + maxItems: Scalars['Int']; +}; + export type OrderLine = Node & { - __typename?: 'OrderLine'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1688,7 +1760,6 @@ export type OrderLine = Node & { }; export type OrderList = PaginatedList & { - __typename?: 'OrderList'; items: Array; totalItems: Scalars['Int']; }; @@ -1700,8 +1771,19 @@ export type OrderListOptions = { filter?: Maybe; }; +/** Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state. */ +export type OrderModificationError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + +/** Returned when attempting to add a Payment to an Order that is not in the `ArrangingPayment` state. */ +export type OrderPaymentStateError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + export type OrderProcessState = { - __typename?: 'OrderProcessState'; name: Scalars['String']; to: Array; }; @@ -1720,13 +1802,45 @@ export type OrderSortParameter = { total?: Maybe; }; +/** Returned if there is an error in transitioning the Order state */ +export type OrderStateTransitionError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + transitionError: Scalars['String']; + fromState: Scalars['String']; + toState: Scalars['String']; +}; + export type PaginatedList = { items: Array; totalItems: Scalars['Int']; }; +/** Retured when attemting to verify a customer account with a password, when a password has already been set. */ +export type PasswordAlreadySetError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + +/** + * Retured if the token used to reset a Customer's password is valid, but has + * expired according to the `verificationTokenDuration` setting in the AuthOptions. + */ +export type PasswordResetTokenExpiredError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + +/** + * Retured if the token used to reset a Customer's password is either + * invalid or does not match any expected tokens. + */ +export type PasswordResetTokenInvalidError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + export type Payment = Node & { - __typename?: 'Payment'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1739,6 +1853,20 @@ export type Payment = Node & { metadata?: Maybe; }; +/** Returned when a Payment is declined by the payment provider. */ +export type PaymentDeclinedError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + paymentErrorMessage: Scalars['String']; +}; + +/** Returned when a Payment fails due to an error. */ +export type PaymentFailedError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + paymentErrorMessage: Scalars['String']; +}; + /** Passed as input to the `addPaymentToOrder` mutation. */ export type PaymentInput = { /** This field should correspond to the `code` property of a PaymentMethodHandler. */ @@ -1752,7 +1880,6 @@ export type PaymentInput = { }; export type PaymentMethod = Node & { - __typename?: 'PaymentMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1807,13 +1934,11 @@ export enum Permission { /** The price range where the result has more than one price */ export type PriceRange = { - __typename?: 'PriceRange'; min: Scalars['Int']; max: Scalars['Int']; }; export type Product = Node & { - __typename?: 'Product'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1841,7 +1966,6 @@ export type ProductFilterParameter = { }; export type ProductList = PaginatedList & { - __typename?: 'ProductList'; items: Array; totalItems: Scalars['Int']; }; @@ -1854,7 +1978,6 @@ export type ProductListOptions = { }; export type ProductOption = Node & { - __typename?: 'ProductOption'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1868,7 +1991,6 @@ export type ProductOption = Node & { }; export type ProductOptionGroup = Node & { - __typename?: 'ProductOptionGroup'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1881,7 +2003,6 @@ export type ProductOptionGroup = Node & { }; export type ProductOptionGroupTranslation = { - __typename?: 'ProductOptionGroupTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1890,7 +2011,6 @@ export type ProductOptionGroupTranslation = { }; export type ProductOptionTranslation = { - __typename?: 'ProductOptionTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1908,7 +2028,6 @@ export type ProductSortParameter = { }; export type ProductTranslation = { - __typename?: 'ProductTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1919,7 +2038,6 @@ export type ProductTranslation = { }; export type ProductVariant = Node & { - __typename?: 'ProductVariant'; id: Scalars['ID']; product: Product; productId: Scalars['ID']; @@ -1955,7 +2073,6 @@ export type ProductVariantFilterParameter = { }; export type ProductVariantList = PaginatedList & { - __typename?: 'ProductVariantList'; items: Array; totalItems: Scalars['Int']; }; @@ -1979,7 +2096,6 @@ export type ProductVariantSortParameter = { }; export type ProductVariantTranslation = { - __typename?: 'ProductVariantTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1988,7 +2104,6 @@ export type ProductVariantTranslation = { }; export type Promotion = Node & { - __typename?: 'Promotion'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2003,13 +2118,11 @@ export type Promotion = Node & { }; export type PromotionList = PaginatedList & { - __typename?: 'PromotionList'; items: Array; totalItems: Scalars['Int']; }; export type Query = { - __typename?: 'Query'; /** The active Channel */ activeChannel: Channel; /** The active Customer */ @@ -2082,8 +2195,9 @@ export type QuerySearchArgs = { input: SearchInput; }; +export type RefreshCustomerVerificationResult = Success | NativeAuthStrategyError; + export type Refund = Node & { - __typename?: 'Refund'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2100,6 +2214,8 @@ export type Refund = Node & { metadata?: Maybe; }; +export type RegisterCustomerAccountResult = Success | MissingPasswordError | NativeAuthStrategyError; + export type RegisterCustomerInput = { emailAddress: Scalars['String']; title?: Maybe; @@ -2109,9 +2225,24 @@ export type RegisterCustomerInput = { password?: Maybe; }; +export type RemoveOrderItemsResult = Order | OrderModificationError; + +export type RequestPasswordResetResult = Success | NativeAuthStrategyError; + +export type RequestUpdateCustomerEmailAddressResult = + | Success + | InvalidCredentialsError + | EmailAddressConflictError + | NativeAuthStrategyError; + +export type ResetPasswordResult = + | CurrentUser + | PasswordResetTokenInvalidError + | PasswordResetTokenExpiredError + | NativeAuthStrategyError; + export type Return = Node & StockMovement & { - __typename?: 'Return'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2122,7 +2253,6 @@ export type Return = Node & }; export type Role = Node & { - __typename?: 'Role'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2133,14 +2263,12 @@ export type Role = Node & { }; export type RoleList = PaginatedList & { - __typename?: 'RoleList'; items: Array; totalItems: Scalars['Int']; }; export type Sale = Node & StockMovement & { - __typename?: 'Sale'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2163,19 +2291,16 @@ export type SearchInput = { }; export type SearchReindexResponse = { - __typename?: 'SearchReindexResponse'; success: Scalars['Boolean']; }; export type SearchResponse = { - __typename?: 'SearchResponse'; items: Array; totalItems: Scalars['Int']; facetValues: Array; }; export type SearchResult = { - __typename?: 'SearchResult'; sku: Scalars['String']; slug: Scalars['String']; productId: Scalars['ID']; @@ -2201,7 +2326,6 @@ export type SearchResult = { }; export type SearchResultAsset = { - __typename?: 'SearchResultAsset'; id: Scalars['ID']; preview: Scalars['String']; focalPoint?: Maybe; @@ -2216,14 +2340,16 @@ export type SearchResultSortParameter = { }; export type ServerConfig = { - __typename?: 'ServerConfig'; orderProcess: Array; permittedAssetTypes: Array; customFieldConfig: CustomFields; }; +export type SetCustomerForOrderResult = Order | AlreadyLoggedInError | EmailAddressConflictError; + +export type SetOrderShippingMethodResult = Order | OrderModificationError; + export type ShippingMethod = Node & { - __typename?: 'ShippingMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2235,13 +2361,11 @@ export type ShippingMethod = Node & { }; export type ShippingMethodList = PaginatedList & { - __typename?: 'ShippingMethodList'; items: Array; totalItems: Scalars['Int']; }; export type ShippingMethodQuote = { - __typename?: 'ShippingMethodQuote'; id: Scalars['ID']; price: Scalars['Int']; priceWithTax: Scalars['Int']; @@ -2251,7 +2375,6 @@ export type ShippingMethodQuote = { /** The price value where the result has a single price */ export type SinglePrice = { - __typename?: 'SinglePrice'; value: Scalars['Int']; }; @@ -2262,7 +2385,6 @@ export enum SortOrder { export type StockAdjustment = Node & StockMovement & { - __typename?: 'StockAdjustment'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2283,7 +2405,6 @@ export type StockMovement = { export type StockMovementItem = StockAdjustment | Sale | Cancellation | Return; export type StockMovementList = { - __typename?: 'StockMovementList'; items: Array; totalItems: Scalars['Int']; }; @@ -2296,7 +2417,6 @@ export enum StockMovementType { } export type StringCustomFieldConfig = CustomField & { - __typename?: 'StringCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -2310,7 +2430,6 @@ export type StringCustomFieldConfig = CustomField & { }; export type StringFieldOption = { - __typename?: 'StringFieldOption'; value: Scalars['String']; label?: Maybe>; }; @@ -2320,8 +2439,12 @@ export type StringOperators = { contains?: Maybe; }; +/** Indicates that an operation succeeded, where we do not want to return any more specific information. */ +export type Success = { + success: Scalars['Boolean']; +}; + export type TaxCategory = Node & { - __typename?: 'TaxCategory'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2329,7 +2452,6 @@ export type TaxCategory = Node & { }; export type TaxRate = Node & { - __typename?: 'TaxRate'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2342,11 +2464,12 @@ export type TaxRate = Node & { }; export type TaxRateList = PaginatedList & { - __typename?: 'TaxRateList'; items: Array; totalItems: Scalars['Int']; }; +export type TransitionOrderToStateResult = Order | OrderStateTransitionError; + export type UpdateAddressInput = { id: Scalars['ID']; fullName?: Maybe; @@ -2363,6 +2486,12 @@ export type UpdateAddressInput = { customFields?: Maybe; }; +export type UpdateCustomerEmailAddressResult = + | Success + | IdentifierChangeTokenInvalidError + | IdentifierChangeTokenExpiredError + | NativeAuthStrategyError; + export type UpdateCustomerInput = { title?: Maybe; firstName?: Maybe; @@ -2371,12 +2500,15 @@ export type UpdateCustomerInput = { customFields?: Maybe; }; +export type UpdateCustomerPasswordResult = Success | InvalidCredentialsError | NativeAuthStrategyError; + export type UpdateOrderInput = { customFields?: Maybe; }; +export type UpdateOrderItemsResult = Order | OrderModificationError | OrderLimitError | NegativeQuantityError; + export type User = Node & { - __typename?: 'User'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2388,8 +2520,33 @@ export type User = Node & { customFields?: Maybe; }; +/** + * Returned if the verification token (used to verify a Customer's email address) is valid, but has + * expired according to the `verificationTokenDuration` setting in the AuthOptions. + */ +export type VerificationTokenExpiredError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + +/** + * Retured if the verification token (used to verify a Customer's email address) is either + * invalid or does not match any expected tokens. + */ +export type VerificationTokenInvalidError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; +}; + +export type VerifyCustomerAccountResult = + | CurrentUser + | VerificationTokenInvalidError + | VerificationTokenExpiredError + | MissingPasswordError + | PasswordAlreadySetError + | NativeAuthStrategyError; + export type Zone = Node & { - __typename?: 'Zone'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2397,139 +2554,126 @@ export type Zone = Node & { members: Array; }; -export type TestOrderFragmentFragment = { __typename?: 'Order' } & Pick< +export type TestOrderFragmentFragment = Pick< Order, 'id' | 'code' | 'state' | 'active' | 'total' | 'couponCodes' | 'shipping' > & { - adjustments: Array< - { __typename?: 'Adjustment' } & Pick< - Adjustment, - 'adjustmentSource' | 'amount' | 'description' | 'type' - > - >; - lines: Array< - { __typename?: 'OrderLine' } & Pick & { - productVariant: { __typename?: 'ProductVariant' } & Pick; - adjustments: Array< - { __typename?: 'Adjustment' } & Pick< - Adjustment, - 'adjustmentSource' | 'amount' | 'description' | 'type' - > - >; - } - >; - shippingMethod?: Maybe< - { __typename?: 'ShippingMethod' } & Pick - >; - customer?: Maybe< - { __typename?: 'Customer' } & Pick & { - user?: Maybe<{ __typename?: 'User' } & Pick>; - } - >; - history: { __typename?: 'HistoryEntryList' } & { - items: Array<{ __typename?: 'HistoryEntry' } & Pick>; - }; - }; + adjustments: Array>; + lines: Array< + Pick & { + productVariant: Pick; + adjustments: Array>; + } + >; + shippingMethod?: Maybe>; + customer?: Maybe & { user?: Maybe> }>; + history: { items: Array> }; +}; + +export type UpdatedOrderFragment = Pick & { + lines: Array< + Pick & { + productVariant: Pick; + adjustments: Array>; + } + >; + adjustments: Array>; +}; export type AddItemToOrderMutationVariables = Exact<{ productVariantId: Scalars['ID']; quantity: Scalars['Int']; }>; -export type AddItemToOrderMutation = { __typename?: 'Mutation' } & { - addItemToOrder?: Maybe< - { __typename?: 'Order' } & Pick & { - lines: Array< - { __typename?: 'OrderLine' } & Pick & { - productVariant: { __typename?: 'ProductVariant' } & Pick; - adjustments: Array< - { __typename?: 'Adjustment' } & Pick< - Adjustment, - 'adjustmentSource' | 'amount' | 'description' | 'type' - > - >; - } - >; - adjustments: Array< - { __typename?: 'Adjustment' } & Pick< - Adjustment, - 'adjustmentSource' | 'amount' | 'description' | 'type' - > - >; - } - >; +export type AddItemToOrderMutation = { + addItemToOrder: + | UpdatedOrderFragment + | (Pick & { errorCode: OrderModificationError['code'] }) + | (Pick & { errorCode: OrderLimitError['code'] }) + | (Pick & { errorCode: NegativeQuantityError['code'] }); }; export type SearchProductsShopQueryVariables = Exact<{ input: SearchInput; }>; -export type SearchProductsShopQuery = { __typename?: 'Query' } & { - search: { __typename?: 'SearchResponse' } & Pick & { - items: Array< - { __typename?: 'SearchResult' } & Pick< - SearchResult, - | 'productId' - | 'productName' - | 'productPreview' - | 'productVariantId' - | 'productVariantName' - | 'productVariantPreview' - | 'sku' - | 'collectionIds' - > & { - price: - | ({ __typename?: 'PriceRange' } & Pick) - | ({ __typename?: 'SinglePrice' } & Pick); - } - >; - }; +export type SearchProductsShopQuery = { + search: Pick & { + items: Array< + Pick< + SearchResult, + | 'productId' + | 'productName' + | 'productPreview' + | 'productVariantId' + | 'productVariantName' + | 'productVariantPreview' + | 'sku' + | 'collectionIds' + > & { price: Pick | Pick } + >; + }; }; export type RegisterMutationVariables = Exact<{ input: RegisterCustomerInput; }>; -export type RegisterMutation = { __typename?: 'Mutation' } & Pick; +export type RegisterMutation = { + registerCustomerAccount: + | Pick + | Pick + | Pick; +}; + +export type CurrentUserShopFragment = Pick & { + channels: Array>; +}; export type VerifyMutationVariables = Exact<{ password?: Maybe; token: Scalars['String']; }>; -export type VerifyMutation = { __typename?: 'Mutation' } & { - verifyCustomerAccount: { __typename?: 'LoginResult' } & { - user: { __typename?: 'CurrentUser' } & Pick; - }; +export type VerifyMutation = { + verifyCustomerAccount: + | CurrentUserShopFragment + | Pick + | Pick + | Pick + | Pick + | Pick; }; export type RefreshTokenMutationVariables = Exact<{ emailAddress: Scalars['String']; }>; -export type RefreshTokenMutation = { __typename?: 'Mutation' } & Pick< - Mutation, - 'refreshCustomerVerification' ->; +export type RefreshTokenMutation = { + refreshCustomerVerification: Pick | Pick; +}; export type RequestPasswordResetMutationVariables = Exact<{ identifier: Scalars['String']; }>; -export type RequestPasswordResetMutation = { __typename?: 'Mutation' } & Pick< - Mutation, - 'requestPasswordReset' ->; +export type RequestPasswordResetMutation = { + requestPasswordReset?: Maybe< + Pick | Pick + >; +}; export type ResetPasswordMutationVariables = Exact<{ token: Scalars['String']; password: Scalars['String']; }>; -export type ResetPasswordMutation = { __typename?: 'Mutation' } & { - resetPassword: { __typename?: 'LoginResult' } & { - user: { __typename?: 'CurrentUser' } & Pick; - }; +export type ResetPasswordMutation = { + resetPassword: + | CurrentUserShopFragment + | Pick + | Pick + | Pick; }; export type RequestUpdateEmailAddressMutationVariables = Exact<{ @@ -2537,126 +2681,127 @@ export type RequestUpdateEmailAddressMutationVariables = Exact<{ newEmailAddress: Scalars['String']; }>; -export type RequestUpdateEmailAddressMutation = { __typename?: 'Mutation' } & Pick< - Mutation, - 'requestUpdateCustomerEmailAddress' ->; +export type RequestUpdateEmailAddressMutation = { + requestUpdateCustomerEmailAddress: + | Pick + | Pick + | Pick + | Pick; +}; export type UpdateEmailAddressMutationVariables = Exact<{ token: Scalars['String']; }>; -export type UpdateEmailAddressMutation = { __typename?: 'Mutation' } & Pick< - Mutation, - 'updateCustomerEmailAddress' ->; +export type UpdateEmailAddressMutation = { + updateCustomerEmailAddress: + | Pick + | Pick + | Pick + | Pick; +}; export type GetActiveCustomerQueryVariables = Exact<{ [key: string]: never }>; -export type GetActiveCustomerQuery = { __typename?: 'Query' } & { - activeCustomer?: Maybe<{ __typename?: 'Customer' } & Pick>; -}; +export type GetActiveCustomerQuery = { activeCustomer?: Maybe> }; export type CreateAddressShopMutationVariables = Exact<{ input: CreateAddressInput; }>; -export type CreateAddressShopMutation = { __typename?: 'Mutation' } & { - createCustomerAddress: { __typename?: 'Address' } & Pick & { - country: { __typename?: 'Country' } & Pick; - }; +export type CreateAddressShopMutation = { + createCustomerAddress: Pick & { country: Pick }; }; export type UpdateAddressShopMutationVariables = Exact<{ input: UpdateAddressInput; }>; -export type UpdateAddressShopMutation = { __typename?: 'Mutation' } & { - updateCustomerAddress: { __typename?: 'Address' } & Pick & { - country: { __typename?: 'Country' } & Pick; - }; +export type UpdateAddressShopMutation = { + updateCustomerAddress: Pick & { country: Pick }; }; export type DeleteAddressShopMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type DeleteAddressShopMutation = { __typename?: 'Mutation' } & Pick; +export type DeleteAddressShopMutation = { deleteCustomerAddress: Pick }; export type UpdateCustomerMutationVariables = Exact<{ input: UpdateCustomerInput; }>; -export type UpdateCustomerMutation = { __typename?: 'Mutation' } & { - updateCustomer: { __typename?: 'Customer' } & Pick; -}; +export type UpdateCustomerMutation = { updateCustomer: Pick }; export type UpdatePasswordMutationVariables = Exact<{ old: Scalars['String']; new: Scalars['String']; }>; -export type UpdatePasswordMutation = { __typename?: 'Mutation' } & Pick; +export type UpdatePasswordMutation = { + updateCustomerPassword: + | Pick + | Pick + | Pick; +}; export type GetActiveOrderQueryVariables = Exact<{ [key: string]: never }>; -export type GetActiveOrderQuery = { __typename?: 'Query' } & { - activeOrder?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>; -}; +export type GetActiveOrderQuery = { activeOrder?: Maybe }; export type AdjustItemQuantityMutationVariables = Exact<{ orderLineId: Scalars['ID']; quantity: Scalars['Int']; }>; -export type AdjustItemQuantityMutation = { __typename?: 'Mutation' } & { - adjustOrderLine?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>; +export type AdjustItemQuantityMutation = { + adjustOrderLine: + | TestOrderFragmentFragment + | (Pick & { errorCode: OrderModificationError['code'] }) + | (Pick & { errorCode: OrderLimitError['code'] }) + | (Pick & { errorCode: NegativeQuantityError['code'] }); }; export type RemoveItemFromOrderMutationVariables = Exact<{ orderLineId: Scalars['ID']; }>; -export type RemoveItemFromOrderMutation = { __typename?: 'Mutation' } & { - removeOrderLine?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>; +export type RemoveItemFromOrderMutation = { + removeOrderLine: + | TestOrderFragmentFragment + | (Pick & { errorCode: OrderModificationError['code'] }); }; export type GetShippingMethodsQueryVariables = Exact<{ [key: string]: never }>; -export type GetShippingMethodsQuery = { __typename?: 'Query' } & { - eligibleShippingMethods: Array< - { __typename?: 'ShippingMethodQuote' } & Pick - >; +export type GetShippingMethodsQuery = { + eligibleShippingMethods: Array>; }; export type SetShippingMethodMutationVariables = Exact<{ id: Scalars['ID']; }>; -export type SetShippingMethodMutation = { __typename?: 'Mutation' } & { - setOrderShippingMethod?: Maybe< - { __typename?: 'Order' } & Pick & { - shippingMethod?: Maybe< - { __typename?: 'ShippingMethod' } & Pick - >; - } - >; +export type SetShippingMethodMutation = { + setOrderShippingMethod: + | TestOrderFragmentFragment + | (Pick & { errorCode: OrderModificationError['code'] }); +}; + +export type ActiveOrderCustomerFragment = Pick & { + customer?: Maybe>; + lines: Array>; }; export type SetCustomerForOrderMutationVariables = Exact<{ input: CreateCustomerInput; }>; -export type SetCustomerForOrderMutation = { __typename?: 'Mutation' } & { +export type SetCustomerForOrderMutation = { setCustomerForOrder?: Maybe< - { __typename?: 'Order' } & Pick & { - customer?: Maybe< - { __typename?: 'Customer' } & Pick< - Customer, - 'id' | 'emailAddress' | 'firstName' | 'lastName' - > - >; - } + | ActiveOrderCustomerFragment + | (Pick & { errorCode: AlreadyLoggedInError['code'] }) + | (Pick & { errorCode: EmailAddressConflictError['code'] }) >; }; @@ -2664,184 +2809,166 @@ export type GetOrderByCodeQueryVariables = Exact<{ code: Scalars['String']; }>; -export type GetOrderByCodeQuery = { __typename?: 'Query' } & { - orderByCode?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>; -}; +export type GetOrderByCodeQuery = { orderByCode?: Maybe }; export type GetOrderPromotionsByCodeQueryVariables = Exact<{ code: Scalars['String']; }>; -export type GetOrderPromotionsByCodeQuery = { __typename?: 'Query' } & { - orderByCode?: Maybe< - { __typename?: 'Order' } & { - promotions: Array<{ __typename?: 'Promotion' } & Pick>; - } & TestOrderFragmentFragment - >; +export type GetOrderPromotionsByCodeQuery = { + orderByCode?: Maybe<{ promotions: Array> } & TestOrderFragmentFragment>; }; export type GetAvailableCountriesQueryVariables = Exact<{ [key: string]: never }>; -export type GetAvailableCountriesQuery = { __typename?: 'Query' } & { - availableCountries: Array<{ __typename?: 'Country' } & Pick>; -}; +export type GetAvailableCountriesQuery = { availableCountries: Array> }; export type TransitionToStateMutationVariables = Exact<{ state: Scalars['String']; }>; -export type TransitionToStateMutation = { __typename?: 'Mutation' } & { - transitionOrderToState?: Maybe<{ __typename?: 'Order' } & Pick>; +export type TransitionToStateMutation = { + transitionOrderToState?: Maybe< + | TestOrderFragmentFragment + | (Pick & { + errorCode: OrderStateTransitionError['code']; + }) + >; }; export type SetShippingAddressMutationVariables = Exact<{ input: CreateAddressInput; }>; -export type SetShippingAddressMutation = { __typename?: 'Mutation' } & { - setOrderShippingAddress?: Maybe< - { __typename?: 'Order' } & { - shippingAddress?: Maybe< - { __typename?: 'OrderAddress' } & Pick< - OrderAddress, - | 'fullName' - | 'company' - | 'streetLine1' - | 'streetLine2' - | 'city' - | 'province' - | 'postalCode' - | 'country' - | 'phoneNumber' - > - >; - } - >; +export type SetShippingAddressMutation = { + setOrderShippingAddress?: Maybe<{ + shippingAddress?: Maybe< + Pick< + OrderAddress, + | 'fullName' + | 'company' + | 'streetLine1' + | 'streetLine2' + | 'city' + | 'province' + | 'postalCode' + | 'country' + | 'phoneNumber' + > + >; + }>; }; export type SetBillingAddressMutationVariables = Exact<{ input: CreateAddressInput; }>; -export type SetBillingAddressMutation = { __typename?: 'Mutation' } & { - setOrderBillingAddress?: Maybe< - { __typename?: 'Order' } & { - billingAddress?: Maybe< - { __typename?: 'OrderAddress' } & Pick< - OrderAddress, - | 'fullName' - | 'company' - | 'streetLine1' - | 'streetLine2' - | 'city' - | 'province' - | 'postalCode' - | 'country' - | 'phoneNumber' - > - >; - } - >; +export type SetBillingAddressMutation = { + setOrderBillingAddress?: Maybe<{ + billingAddress?: Maybe< + Pick< + OrderAddress, + | 'fullName' + | 'company' + | 'streetLine1' + | 'streetLine2' + | 'city' + | 'province' + | 'postalCode' + | 'country' + | 'phoneNumber' + > + >; + }>; }; +export type TestOrderWithPaymentsFragment = { + payments?: Maybe< + Array> + >; +} & TestOrderFragmentFragment; + +export type GetActiveOrderWithPaymentsQueryVariables = Exact<{ [key: string]: never }>; + +export type GetActiveOrderWithPaymentsQuery = { activeOrder?: Maybe }; + export type AddPaymentToOrderMutationVariables = Exact<{ input: PaymentInput; }>; -export type AddPaymentToOrderMutation = { __typename?: 'Mutation' } & { +export type AddPaymentToOrderMutation = { addPaymentToOrder?: Maybe< - { __typename?: 'Order' } & { - payments?: Maybe< - Array< - { __typename?: 'Payment' } & Pick< - Payment, - 'id' | 'transactionId' | 'method' | 'amount' | 'state' | 'metadata' - > - > - >; - } & TestOrderFragmentFragment + | TestOrderWithPaymentsFragment + | (Pick & { errorCode: OrderPaymentStateError['code'] }) + | (Pick & { + errorCode: PaymentFailedError['code']; + }) + | (Pick & { + errorCode: PaymentDeclinedError['code']; + }) + | (Pick & { errorCode: OrderStateTransitionError['code'] }) >; }; export type GetActiveOrderPaymentsQueryVariables = Exact<{ [key: string]: never }>; -export type GetActiveOrderPaymentsQuery = { __typename?: 'Query' } & { +export type GetActiveOrderPaymentsQuery = { activeOrder?: Maybe< - { __typename?: 'Order' } & Pick & { - payments?: Maybe< - Array< - { __typename?: 'Payment' } & Pick< - Payment, - | 'id' - | 'transactionId' - | 'method' - | 'amount' - | 'state' - | 'errorMessage' - | 'metadata' - > + Pick & { + payments?: Maybe< + Array< + Pick< + Payment, + 'id' | 'transactionId' | 'method' | 'amount' | 'state' | 'errorMessage' | 'metadata' > - >; - } + > + >; + } >; }; export type GetNextOrderStatesQueryVariables = Exact<{ [key: string]: never }>; -export type GetNextOrderStatesQuery = { __typename?: 'Query' } & Pick; +export type GetNextOrderStatesQuery = Pick; export type GetCustomerAddressesQueryVariables = Exact<{ [key: string]: never }>; -export type GetCustomerAddressesQuery = { __typename?: 'Query' } & { - activeOrder?: Maybe< - { __typename?: 'Order' } & { - customer?: Maybe< - { __typename?: 'Customer' } & { - addresses?: Maybe< - Array<{ __typename?: 'Address' } & Pick> - >; - } - >; - } - >; +export type GetCustomerAddressesQuery = { + activeOrder?: Maybe<{ + customer?: Maybe<{ addresses?: Maybe>> }>; + }>; }; export type GetCustomerOrdersQueryVariables = Exact<{ [key: string]: never }>; -export type GetCustomerOrdersQuery = { __typename?: 'Query' } & { - activeOrder?: Maybe< - { __typename?: 'Order' } & { - customer?: Maybe< - { __typename?: 'Customer' } & { - orders: { __typename?: 'OrderList' } & { - items: Array<{ __typename?: 'Order' } & Pick>; - }; - } - >; - } - >; +export type GetCustomerOrdersQuery = { + activeOrder?: Maybe<{ customer?: Maybe<{ orders: { items: Array> } }> }>; }; export type ApplyCouponCodeMutationVariables = Exact<{ couponCode: Scalars['String']; }>; -export type ApplyCouponCodeMutation = { __typename?: 'Mutation' } & { - applyCouponCode?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>; +export type ApplyCouponCodeMutation = { + applyCouponCode: + | TestOrderFragmentFragment + | (Pick & { errorCode: CouponCodeExpiredError['code'] }) + | (Pick & { errorCode: CouponCodeInvalidError['code'] }) + | (Pick & { errorCode: CouponCodeLimitError['code'] }); }; export type RemoveCouponCodeMutationVariables = Exact<{ couponCode: Scalars['String']; }>; -export type RemoveCouponCodeMutation = { __typename?: 'Mutation' } & { - removeCouponCode?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>; -}; +export type RemoveCouponCodeMutation = { removeCouponCode?: Maybe }; export type RemoveAllOrderLinesMutationVariables = Exact<{ [key: string]: never }>; -export type RemoveAllOrderLinesMutation = { __typename?: 'Mutation' } & { - removeAllOrderLines?: Maybe<{ __typename?: 'Order' } & TestOrderFragmentFragment>; +export type RemoveAllOrderLinesMutation = { + removeAllOrderLines: + | TestOrderFragmentFragment + | (Pick & { errorCode: OrderModificationError['code'] }); }; type DiscriminateUnion = T extends U ? T : never; @@ -2867,27 +2994,25 @@ export namespace TestOrderFragment { >; } -export namespace AddItemToOrder { - export type Variables = AddItemToOrderMutationVariables; - export type Mutation = AddItemToOrderMutation; - export type AddItemToOrder = NonNullable; - export type Lines = NonNullable< - NonNullable['lines']>[number] - >; +export namespace UpdatedOrder { + export type Fragment = UpdatedOrderFragment; + export type Lines = NonNullable[number]>; export type ProductVariant = NonNullable< - NonNullable< - NonNullable['lines']>[number] - >['productVariant'] + NonNullable[number]>['productVariant'] >; export type Adjustments = NonNullable< - NonNullable< - NonNullable< - NonNullable['lines']>[number] - >['adjustments'] - >[number] + NonNullable[number]>['adjustments']>[number] >; - export type _Adjustments = NonNullable< - NonNullable['adjustments']>[number] + export type _Adjustments = NonNullable[number]>; +} + +export namespace AddItemToOrder { + export type Variables = AddItemToOrderMutationVariables; + export type Mutation = AddItemToOrderMutation; + export type AddItemToOrder = NonNullable; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } >; } @@ -2918,40 +3043,102 @@ export namespace SearchProductsShop { export namespace Register { export type Variables = RegisterMutationVariables; export type Mutation = RegisterMutation; + export type RegisterCustomerAccount = NonNullable; + export type SuccessInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'Success' } + >; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; +} + +export namespace CurrentUserShop { + export type Fragment = CurrentUserShopFragment; + export type Channels = NonNullable[number]>; } export namespace Verify { export type Variables = VerifyMutationVariables; export type Mutation = VerifyMutation; export type VerifyCustomerAccount = NonNullable; - export type User = NonNullable['user']>; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace RefreshToken { export type Variables = RefreshTokenMutationVariables; export type Mutation = RefreshTokenMutation; + export type RefreshCustomerVerification = NonNullable< + RefreshTokenMutation['refreshCustomerVerification'] + >; + export type SuccessInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'Success' } + >; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace RequestPasswordReset { export type Variables = RequestPasswordResetMutationVariables; export type Mutation = RequestPasswordResetMutation; + export type RequestPasswordReset = NonNullable; + export type SuccessInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'Success' } + >; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace ResetPassword { export type Variables = ResetPasswordMutationVariables; export type Mutation = ResetPasswordMutation; export type ResetPassword = NonNullable; - export type User = NonNullable['user']>; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace RequestUpdateEmailAddress { export type Variables = RequestUpdateEmailAddressMutationVariables; export type Mutation = RequestUpdateEmailAddressMutation; + export type RequestUpdateCustomerEmailAddress = NonNullable< + RequestUpdateEmailAddressMutation['requestUpdateCustomerEmailAddress'] + >; + export type SuccessInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'Success' } + >; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace UpdateEmailAddress { export type Variables = UpdateEmailAddressMutationVariables; export type Mutation = UpdateEmailAddressMutation; + export type UpdateCustomerEmailAddress = NonNullable< + UpdateEmailAddressMutation['updateCustomerEmailAddress'] + >; + export type SuccessInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'Success' } + >; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace GetActiveCustomer { @@ -2981,6 +3168,7 @@ export namespace UpdateAddressShop { export namespace DeleteAddressShop { export type Variables = DeleteAddressShopMutationVariables; export type Mutation = DeleteAddressShopMutation; + export type DeleteCustomerAddress = NonNullable; } export namespace UpdateCustomer { @@ -2992,6 +3180,15 @@ export namespace UpdateCustomer { export namespace UpdatePassword { export type Variables = UpdatePasswordMutationVariables; export type Mutation = UpdatePasswordMutation; + export type UpdateCustomerPassword = NonNullable; + export type SuccessInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'Success' } + >; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace GetActiveOrder { @@ -3004,12 +3201,20 @@ export namespace AdjustItemQuantity { export type Variables = AdjustItemQuantityMutationVariables; export type Mutation = AdjustItemQuantityMutation; export type AdjustOrderLine = NonNullable; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace RemoveItemFromOrder { export type Variables = RemoveItemFromOrderMutationVariables; export type Mutation = RemoveItemFromOrderMutation; export type RemoveOrderLine = NonNullable; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace GetShippingMethods { @@ -3024,17 +3229,25 @@ export namespace SetShippingMethod { export type Variables = SetShippingMethodMutationVariables; export type Mutation = SetShippingMethodMutation; export type SetOrderShippingMethod = NonNullable; - export type ShippingMethod = NonNullable< - NonNullable['shippingMethod'] + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } >; } +export namespace ActiveOrderCustomer { + export type Fragment = ActiveOrderCustomerFragment; + export type Customer = NonNullable; + export type Lines = NonNullable[number]>; +} + export namespace SetCustomerForOrder { export type Variables = SetCustomerForOrderMutationVariables; export type Mutation = SetCustomerForOrderMutation; export type SetCustomerForOrder = NonNullable; - export type Customer = NonNullable< - NonNullable['customer'] + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } >; } @@ -3065,6 +3278,10 @@ export namespace TransitionToState { export type Variables = TransitionToStateMutationVariables; export type Mutation = TransitionToStateMutation; export type TransitionOrderToState = NonNullable; + export type OrderStateTransitionErrorInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'OrderStateTransitionError' } + >; } export namespace SetShippingAddress { @@ -3085,12 +3302,32 @@ export namespace SetBillingAddress { >; } +export namespace TestOrderWithPayments { + export type Fragment = TestOrderWithPaymentsFragment; + export type Payments = NonNullable[number]>; +} + +export namespace GetActiveOrderWithPayments { + export type Variables = GetActiveOrderWithPaymentsQueryVariables; + export type Query = GetActiveOrderWithPaymentsQuery; + export type ActiveOrder = NonNullable; +} + export namespace AddPaymentToOrder { export type Variables = AddPaymentToOrderMutationVariables; export type Mutation = AddPaymentToOrderMutation; export type AddPaymentToOrder = NonNullable; - export type Payments = NonNullable< - NonNullable['payments']>[number] + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; + export type PaymentDeclinedErrorInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'PaymentDeclinedError' } + >; + export type PaymentFailedErrorInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'PaymentFailedError' } >; } @@ -3141,6 +3378,10 @@ export namespace ApplyCouponCode { export type Variables = ApplyCouponCodeMutationVariables; export type Mutation = ApplyCouponCodeMutation; export type ApplyCouponCode = NonNullable; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } export namespace RemoveCouponCode { @@ -3153,4 +3394,8 @@ export namespace RemoveAllOrderLines { export type Variables = RemoveAllOrderLinesMutationVariables; export type Mutation = RemoveAllOrderLinesMutation; export type RemoveAllOrderLines = NonNullable; + export type ErrorResultInlineFragment = DiscriminateUnion< + NonNullable, + { __typename?: 'ErrorResult' } + >; } diff --git a/packages/core/e2e/graphql/shared-definitions.ts b/packages/core/e2e/graphql/shared-definitions.ts index f72f06a5f8..dbc86ffe0f 100644 --- a/packages/core/e2e/graphql/shared-definitions.ts +++ b/packages/core/e2e/graphql/shared-definitions.ts @@ -641,9 +641,15 @@ export const GET_CUSTOMER_WITH_GROUPS = gql` export const ADMIN_TRANSITION_TO_STATE = gql` mutation AdminTransition($id: ID!, $state: String!) { transitionOrderToState(id: $id, state: $state) { - id - state - nextStates + ...Order + ... on OrderStateTransitionError { + errorCode: code + message + transitionError + fromState + toState + } } } + ${ORDER_FRAGMENT} `; diff --git a/packages/core/e2e/graphql/shop-definitions.ts b/packages/core/e2e/graphql/shop-definitions.ts index d9fda04e8b..ec95077117 100644 --- a/packages/core/e2e/graphql/shop-definitions.ts +++ b/packages/core/e2e/graphql/shop-definitions.ts @@ -50,26 +50,18 @@ export const TEST_ORDER_FRAGMENT = gql` } `; -export const ADD_ITEM_TO_ORDER = gql` - mutation AddItemToOrder($productVariantId: ID!, $quantity: Int!) { - addItemToOrder(productVariantId: $productVariantId, quantity: $quantity) { +export const UPDATED_ORDER_FRAGMENT = gql` + fragment UpdatedOrder on Order { + id + code + state + active + total + lines { id - code - state - active - total - lines { + quantity + productVariant { id - quantity - productVariant { - id - } - adjustments { - adjustmentSource - amount - description - type - } } adjustments { adjustmentSource @@ -78,7 +70,26 @@ export const ADD_ITEM_TO_ORDER = gql` type } } + adjustments { + adjustmentSource + amount + description + type + } + } +`; + +export const ADD_ITEM_TO_ORDER = gql` + mutation AddItemToOrder($productVariantId: ID!, $quantity: Int!) { + addItemToOrder(productVariantId: $productVariantId, quantity: $quantity) { + ...UpdatedOrder + ... on ErrorResult { + errorCode: code + message + } + } } + ${UPDATED_ORDER_FRAGMENT} `; export const SEARCH_PRODUCTS_SHOP = gql` query SearchProductsShop($input: SearchInput!) { @@ -108,47 +119,105 @@ export const SEARCH_PRODUCTS_SHOP = gql` `; export const REGISTER_ACCOUNT = gql` mutation Register($input: RegisterCustomerInput!) { - registerCustomerAccount(input: $input) + registerCustomerAccount(input: $input) { + ... on Success { + success + } + ... on ErrorResult { + code + message + } + } + } +`; + +export const CURRENT_USER_FRAGMENT = gql` + fragment CurrentUserShop on CurrentUser { + id + identifier + channels { + code + token + permissions + } } `; + export const VERIFY_EMAIL = gql` mutation Verify($password: String, $token: String!) { verifyCustomerAccount(password: $password, token: $token) { - user { - id - identifier + ...CurrentUserShop + ... on ErrorResult { + code + message } } } + ${CURRENT_USER_FRAGMENT} `; + export const REFRESH_TOKEN = gql` mutation RefreshToken($emailAddress: String!) { - refreshCustomerVerification(emailAddress: $emailAddress) + refreshCustomerVerification(emailAddress: $emailAddress) { + ... on Success { + success + } + ... on ErrorResult { + code + message + } + } } `; export const REQUEST_PASSWORD_RESET = gql` mutation RequestPasswordReset($identifier: String!) { - requestPasswordReset(emailAddress: $identifier) + requestPasswordReset(emailAddress: $identifier) { + ... on Success { + success + } + ... on ErrorResult { + code + message + } + } } `; export const RESET_PASSWORD = gql` mutation ResetPassword($token: String!, $password: String!) { resetPassword(token: $token, password: $password) { - user { - id - identifier + ...CurrentUserShop + ... on ErrorResult { + code + message } } } + ${CURRENT_USER_FRAGMENT} `; export const REQUEST_UPDATE_EMAIL_ADDRESS = gql` mutation RequestUpdateEmailAddress($password: String!, $newEmailAddress: String!) { - requestUpdateCustomerEmailAddress(password: $password, newEmailAddress: $newEmailAddress) + requestUpdateCustomerEmailAddress(password: $password, newEmailAddress: $newEmailAddress) { + ... on Success { + success + } + ... on ErrorResult { + code + message + } + } } `; export const UPDATE_EMAIL_ADDRESS = gql` mutation UpdateEmailAddress($token: String!) { - updateCustomerEmailAddress(token: $token) + updateCustomerEmailAddress(token: $token) { + ... on Success { + success + } + ... on ErrorResult { + code + message + } + } } `; export const GET_ACTIVE_CUSTOMER = gql` @@ -182,7 +251,9 @@ export const UPDATE_ADDRESS = gql` `; export const DELETE_ADDRESS = gql` mutation DeleteAddressShop($id: ID!) { - deleteCustomerAddress(id: $id) + deleteCustomerAddress(id: $id) { + success + } } `; @@ -198,7 +269,15 @@ export const UPDATE_CUSTOMER = gql` export const UPDATE_PASSWORD = gql` mutation UpdatePassword($old: String!, $new: String!) { - updateCustomerPassword(currentPassword: $old, newPassword: $new) + updateCustomerPassword(currentPassword: $old, newPassword: $new) { + ... on Success { + success + } + ... on ErrorResult { + code + message + } + } } `; @@ -215,6 +294,10 @@ export const ADJUST_ITEM_QUANTITY = gql` mutation AdjustItemQuantity($orderLineId: ID!, $quantity: Int!) { adjustOrderLine(orderLineId: $orderLineId, quantity: $quantity) { ...TestOrderFragment + ... on ErrorResult { + errorCode: code + message + } } } ${TEST_ORDER_FRAGMENT} @@ -224,6 +307,10 @@ export const REMOVE_ITEM_FROM_ORDER = gql` mutation RemoveItemFromOrder($orderLineId: ID!) { removeOrderLine(orderLineId: $orderLineId) { ...TestOrderFragment + ... on ErrorResult { + errorCode: code + message + } } } ${TEST_ORDER_FRAGMENT} @@ -242,28 +329,42 @@ export const GET_ELIGIBLE_SHIPPING_METHODS = gql` export const SET_SHIPPING_METHOD = gql` mutation SetShippingMethod($id: ID!) { setOrderShippingMethod(shippingMethodId: $id) { - shipping - shippingMethod { - id - code - description + ...TestOrderFragment + ... on ErrorResult { + errorCode: code + message } } } + ${TEST_ORDER_FRAGMENT} +`; + +export const ACTIVE_ORDER_CUSTOMER = gql` + fragment ActiveOrderCustomer on Order { + id + customer { + id + emailAddress + firstName + lastName + } + lines { + id + } + } `; export const SET_CUSTOMER = gql` mutation SetCustomerForOrder($input: CreateCustomerInput!) { setCustomerForOrder(input: $input) { - id - customer { - id - emailAddress - firstName - lastName + ...ActiveOrderCustomer + ... on ErrorResult { + errorCode: code + message } } } + ${ACTIVE_ORDER_CUSTOMER} `; export const GET_ORDER_BY_CODE = gql` @@ -300,10 +401,17 @@ export const GET_AVAILABLE_COUNTRIES = gql` export const TRANSITION_TO_STATE = gql` mutation TransitionToState($state: String!) { transitionOrderToState(state: $state) { - id - state + ...TestOrderFragment + ... on OrderStateTransitionError { + errorCode: code + message + transitionError + fromState + toState + } } } + ${TEST_ORDER_FRAGMENT} `; export const SET_SHIPPING_ADDRESS = gql` @@ -342,21 +450,47 @@ export const SET_BILLING_ADDRESS = gql` } `; +export const TEST_ORDER_WITH_PAYMENTS_FRAGMENT = gql` + fragment TestOrderWithPayments on Order { + ...TestOrderFragment + payments { + id + transactionId + method + amount + state + metadata + } + } + ${TEST_ORDER_FRAGMENT} +`; + +export const GET_ACTIVE_ORDER_WITH_PAYMENTS = gql` + query GetActiveOrderWithPayments { + activeOrder { + ...TestOrderWithPayments + } + } + ${TEST_ORDER_WITH_PAYMENTS_FRAGMENT} +`; + export const ADD_PAYMENT = gql` mutation AddPaymentToOrder($input: PaymentInput!) { addPaymentToOrder(input: $input) { - ...TestOrderFragment - payments { - id - transactionId - method - amount - state - metadata + ...TestOrderWithPayments + ... on ErrorResult { + errorCode: code + message + } + ... on PaymentDeclinedError { + paymentErrorMessage + } + ... on PaymentFailedError { + paymentErrorMessage } } } - ${TEST_ORDER_FRAGMENT} + ${TEST_ORDER_WITH_PAYMENTS_FRAGMENT} `; export const GET_ACTIVE_ORDER_PAYMENTS = gql` @@ -413,6 +547,10 @@ export const APPLY_COUPON_CODE = gql` mutation ApplyCouponCode($couponCode: String!) { applyCouponCode(couponCode: $couponCode) { ...TestOrderFragment + ... on ErrorResult { + errorCode: code + message + } } } ${TEST_ORDER_FRAGMENT} @@ -431,6 +569,10 @@ export const REMOVE_ALL_ORDER_LINES = gql` mutation RemoveAllOrderLines { removeAllOrderLines { ...TestOrderFragment + ... on ErrorResult { + errorCode: code + message + } } } ${TEST_ORDER_FRAGMENT} diff --git a/packages/core/e2e/order-channel.e2e-spec.ts b/packages/core/e2e/order-channel.e2e-spec.ts index 884321b4eb..d77afff4ff 100644 --- a/packages/core/e2e/order-channel.e2e-spec.ts +++ b/packages/core/e2e/order-channel.e2e-spec.ts @@ -1,5 +1,10 @@ /* tslint:disable:no-non-null-assertion */ -import { createTestEnvironment, E2E_DEFAULT_CHANNEL_TOKEN } from '@vendure/testing'; +import { + createErrorResultGuard, + createTestEnvironment, + E2E_DEFAULT_CHANNEL_TOKEN, + ErrorResultGuard, +} from '@vendure/testing'; import path from 'path'; import { initialData } from '../../../e2e-common/e2e-initial-data'; @@ -15,7 +20,7 @@ import { GetProductWithVariants, LanguageCode, } from './graphql/generated-e2e-admin-types'; -import { AddItemToOrder, GetActiveOrder } from './graphql/generated-e2e-shop-types'; +import { AddItemToOrder, GetActiveOrder, UpdatedOrderFragment } from './graphql/generated-e2e-shop-types'; import { ASSIGN_PRODUCT_TO_CHANNEL, CREATE_CHANNEL, @@ -120,6 +125,10 @@ describe('Channelaware orders', () => { await server.destroy(); }); + const orderResultGuard: ErrorResultGuard = createErrorResultGuard< + UpdatedOrderFragment + >(input => !!input.lines); + it('creates order on current channel', async () => { shopClient.setChannelToken(SECOND_CHANNEL_TOKEN); const { addItemToOrder } = await shopClient.query( @@ -129,6 +138,7 @@ describe('Channelaware orders', () => { quantity: 1, }, ); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(1); expect(addItemToOrder!.lines[0].quantity).toBe(1); @@ -151,6 +161,7 @@ describe('Channelaware orders', () => { quantity: 1, }, ); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(1); expect(addItemToOrder!.lines[0].quantity).toBe(1); diff --git a/packages/core/e2e/order-process.e2e-spec.ts b/packages/core/e2e/order-process.e2e-spec.ts index f28cef2ed3..d3a3b588e1 100644 --- a/packages/core/e2e/order-process.e2e-spec.ts +++ b/packages/core/e2e/order-process.e2e-spec.ts @@ -1,20 +1,22 @@ /* tslint:disable:no-non-null-assertion */ import { CustomOrderProcess, mergeConfig, OrderState } from '@vendure/core'; -import { createTestEnvironment } from '@vendure/testing'; +import { createErrorResultGuard, createTestEnvironment, ErrorResultGuard } from '@vendure/testing'; import path from 'path'; import { initialData } from '../../../e2e-common/e2e-initial-data'; import { TEST_SETUP_TIMEOUT_MS, testConfig } from '../../../e2e-common/test-config'; import { testSuccessfulPaymentMethod } from './fixtures/test-payment-methods'; -import { AdminTransition, GetOrder } from './graphql/generated-e2e-admin-types'; +import { AdminTransition, GetOrder, OrderFragment } from './graphql/generated-e2e-admin-types'; import { AddItemToOrder, AddPaymentToOrder, + ErrorCode, GetNextOrderStates, SetCustomerForOrder, SetShippingAddress, SetShippingMethod, + TestOrderFragmentFragment, TransitionToState, } from './graphql/generated-e2e-shop-types'; import { ADMIN_TRANSITION_TO_STATE, GET_ORDER } from './graphql/shared-definitions'; @@ -81,6 +83,10 @@ describe('Order process', () => { }, }; + const orderErrorGuard: ErrorResultGuard< + TestOrderFragmentFragment | OrderFragment + > = createErrorResultGuard(input => !!input.total); + const { server, adminClient, shopClient } = createTestEnvironment( mergeConfig(testConfig, { orderOptions: { process: [customOrderProcess as any, customOrderProcess2 as any] }, @@ -130,6 +136,7 @@ describe('Order process', () => { >(TRANSITION_TO_STATE, { state: 'ValidatingCustomer', }); + orderErrorGuard.assertSuccess(transitionOrderToState); expect(transitionStartSpy).toHaveBeenCalledTimes(1); expect(transitionEndSpy).not.toHaveBeenCalled(); @@ -155,17 +162,21 @@ describe('Order process', () => { }, ); - try { - const { transitionOrderToState } = await shopClient.query< - TransitionToState.Mutation, - TransitionToState.Variables - >(TRANSITION_TO_STATE, { - state: 'ValidatingCustomer', - }); - fail('Should have thrown'); - } catch (e) { - expect(e.message).toContain(VALIDATION_ERROR_MESSAGE); - } + const { transitionOrderToState } = await shopClient.query< + TransitionToState.Mutation, + TransitionToState.Variables + >(TRANSITION_TO_STATE, { + state: 'ValidatingCustomer', + }); + orderErrorGuard.assertErrorResult(transitionOrderToState); + + expect(transitionOrderToState!.message).toBe( + 'Cannot transition Order from "AddingItems" to "ValidatingCustomer"', + ); + expect(transitionOrderToState!.errorCode).toBe(ErrorCode.ORDER_STATE_TRANSITION_ERROR); + expect(transitionOrderToState!.transitionError).toBe(VALIDATION_ERROR_MESSAGE); + expect(transitionOrderToState!.fromState).toBe('AddingItems'); + expect(transitionOrderToState!.toState).toBe('ValidatingCustomer'); expect(transitionStartSpy).toHaveBeenCalledTimes(1); expect(transitionErrorSpy).toHaveBeenCalledTimes(1); @@ -197,6 +208,7 @@ describe('Order process', () => { >(TRANSITION_TO_STATE, { state: 'ValidatingCustomer', }); + orderErrorGuard.assertSuccess(transitionOrderToState); expect(transitionEndSpy).toHaveBeenCalledTimes(1); expect(transitionEndSpy.mock.calls[0].slice(0, 2)).toEqual(['AddingItems', 'ValidatingCustomer']); @@ -227,7 +239,7 @@ describe('Order process', () => { }); describe('Admin API transition constraints', () => { - let order: NonNullable; + let order: NonNullable; beforeAll(async () => { await shopClient.asAnonymousUser(); @@ -268,32 +280,35 @@ describe('Order process', () => { state: 'ValidatingCustomer', }, ); - const result = await shopClient.query( - TRANSITION_TO_STATE, - { - state: 'ArrangingPayment', - }, - ); - order = result.transitionOrderToState!; + const { transitionOrderToState } = await shopClient.query< + TransitionToState.Mutation, + TransitionToState.Variables + >(TRANSITION_TO_STATE, { + state: 'ArrangingPayment', + }); + orderErrorGuard.assertSuccess(transitionOrderToState); + + order = transitionOrderToState!; }); it('cannot manually transition to PaymentAuthorized', async () => { expect(order.state).toBe('ArrangingPayment'); - try { - const { transitionOrderToState } = await adminClient.query< - AdminTransition.Mutation, - AdminTransition.Variables - >(ADMIN_TRANSITION_TO_STATE, { - id: order.id, - state: 'PaymentAuthorized', - }); - fail('Should have thrown'); - } catch (e) { - expect(e.message).toContain( - 'Cannot transition Order to the "PaymentAuthorized" state when the total is not covered by authorized Payments', - ); - } + const { transitionOrderToState } = await adminClient.query< + AdminTransition.Mutation, + AdminTransition.Variables + >(ADMIN_TRANSITION_TO_STATE, { + id: order.id, + state: 'PaymentAuthorized', + }); + orderErrorGuard.assertErrorResult(transitionOrderToState); + + expect(transitionOrderToState!.message).toBe( + 'Cannot transition Order from "ArrangingPayment" to "PaymentAuthorized"', + ); + expect(transitionOrderToState!.transitionError).toBe( + 'Cannot transition Order to the "PaymentAuthorized" state when the total is not covered by authorized Payments', + ); const result = await adminClient.query(GET_ORDER, { id: order.id, @@ -302,20 +317,21 @@ describe('Order process', () => { }); it('cannot manually transition to PaymentSettled', async () => { - try { - const { transitionOrderToState } = await adminClient.query< - AdminTransition.Mutation, - AdminTransition.Variables - >(ADMIN_TRANSITION_TO_STATE, { - id: order.id, - state: 'PaymentSettled', - }); - fail('Should have thrown'); - } catch (e) { - expect(e.message).toContain( - 'Cannot transition Order to the "PaymentSettled" state when the total is not covered by settled Payments', - ); - } + const { transitionOrderToState } = await adminClient.query< + AdminTransition.Mutation, + AdminTransition.Variables + >(ADMIN_TRANSITION_TO_STATE, { + id: order.id, + state: 'PaymentSettled', + }); + orderErrorGuard.assertErrorResult(transitionOrderToState); + + expect(transitionOrderToState!.message).toBe( + 'Cannot transition Order from "ArrangingPayment" to "PaymentSettled"', + ); + expect(transitionOrderToState!.transitionError).toContain( + 'Cannot transition Order to the "PaymentSettled" state when the total is not covered by settled Payments', + ); const result = await adminClient.query(GET_ORDER, { id: order.id, @@ -333,23 +349,26 @@ describe('Order process', () => { metadata: {}, }, }); + orderErrorGuard.assertSuccess(addPaymentToOrder); expect(addPaymentToOrder?.state).toBe('PaymentSettled'); - try { - const { transitionOrderToState } = await adminClient.query< - AdminTransition.Mutation, - AdminTransition.Variables - >(ADMIN_TRANSITION_TO_STATE, { - id: order.id, - state: 'Cancelled', - }); - fail('Should have thrown'); - } catch (e) { - expect(e.message).toContain( - 'Cannot transition Order to the "Cancelled" state unless all OrderItems are cancelled', - ); - } + const { transitionOrderToState } = await adminClient.query< + AdminTransition.Mutation, + AdminTransition.Variables + >(ADMIN_TRANSITION_TO_STATE, { + id: order.id, + state: 'Cancelled', + }); + orderErrorGuard.assertErrorResult(transitionOrderToState); + + expect(transitionOrderToState!.message).toBe( + 'Cannot transition Order from "PaymentSettled" to "Cancelled"', + ); + expect(transitionOrderToState!.transitionError).toContain( + 'Cannot transition Order to the "Cancelled" state unless all OrderItems are cancelled', + ); + const result = await adminClient.query(GET_ORDER, { id: order.id, }); @@ -357,20 +376,22 @@ describe('Order process', () => { }); it('cannot manually transition to PartiallyDelivered', async () => { - try { - const { transitionOrderToState } = await adminClient.query< - AdminTransition.Mutation, - AdminTransition.Variables - >(ADMIN_TRANSITION_TO_STATE, { - id: order.id, - state: 'PartiallyDelivered', - }); - fail('Should have thrown'); - } catch (e) { - expect(e.message).toContain( - 'Cannot transition Order to the "PartiallyDelivered" state unless some OrderItems are delivered', - ); - } + const { transitionOrderToState } = await adminClient.query< + AdminTransition.Mutation, + AdminTransition.Variables + >(ADMIN_TRANSITION_TO_STATE, { + id: order.id, + state: 'PartiallyDelivered', + }); + orderErrorGuard.assertErrorResult(transitionOrderToState); + + expect(transitionOrderToState!.message).toBe( + 'Cannot transition Order from "PaymentSettled" to "PartiallyDelivered"', + ); + expect(transitionOrderToState!.transitionError).toContain( + 'Cannot transition Order to the "PartiallyDelivered" state unless some OrderItems are delivered', + ); + const result = await adminClient.query(GET_ORDER, { id: order.id, }); @@ -378,20 +399,22 @@ describe('Order process', () => { }); it('cannot manually transition to PartiallyDelivered', async () => { - try { - const { transitionOrderToState } = await adminClient.query< - AdminTransition.Mutation, - AdminTransition.Variables - >(ADMIN_TRANSITION_TO_STATE, { - id: order.id, - state: 'Delivered', - }); - fail('Should have thrown'); - } catch (e) { - expect(e.message).toContain( - 'Cannot transition Order to the "Delivered" state unless all OrderItems are delivered', - ); - } + const { transitionOrderToState } = await adminClient.query< + AdminTransition.Mutation, + AdminTransition.Variables + >(ADMIN_TRANSITION_TO_STATE, { + id: order.id, + state: 'Delivered', + }); + orderErrorGuard.assertErrorResult(transitionOrderToState); + + expect(transitionOrderToState!.message).toBe( + 'Cannot transition Order from "PaymentSettled" to "Delivered"', + ); + expect(transitionOrderToState!.transitionError).toContain( + 'Cannot transition Order to the "Delivered" state unless all OrderItems are delivered', + ); + const result = await adminClient.query(GET_ORDER, { id: order.id, }); diff --git a/packages/core/e2e/order-promotion.e2e-spec.ts b/packages/core/e2e/order-promotion.e2e-spec.ts index 962043a68f..f55bfb4b0b 100644 --- a/packages/core/e2e/order-promotion.e2e-spec.ts +++ b/packages/core/e2e/order-promotion.e2e-spec.ts @@ -10,7 +10,7 @@ import { orderPercentageDiscount, productsPercentageDiscount, } from '@vendure/core'; -import { createTestEnvironment } from '@vendure/testing'; +import { createErrorResultGuard, createTestEnvironment, ErrorResultGuard } from '@vendure/testing'; import gql from 'graphql-tag'; import path from 'path'; @@ -32,11 +32,14 @@ import { AdjustItemQuantity, AdjustmentType, ApplyCouponCode, + ErrorCode, GetActiveOrder, GetOrderPromotionsByCode, RemoveCouponCode, SetCustomerForOrder, TestOrderFragment, + TestOrderFragmentFragment, + UpdatedOrderFragment, } from './graphql/generated-e2e-shop-types'; import { CREATE_CUSTOMER_GROUP, @@ -76,6 +79,11 @@ describe('Promotions applied to Orders', () => { ], }); + type OrderSuccessResult = UpdatedOrderFragment | TestOrderFragmentFragment; + const orderResultGuard: ErrorResultGuard = createErrorResultGuard( + input => !!input.lines, + ); + let products: GetPromoProducts.Items[]; beforeAll(async () => { @@ -119,10 +127,7 @@ describe('Promotions applied to Orders', () => { await shopClient.asAnonymousUser(); const item60 = getVariantBySlug('item-60'); - const { addItemToOrder } = await shopClient.query< - AddItemToOrder.Mutation, - AddItemToOrder.Variables - >(ADD_ITEM_TO_ORDER, { + await shopClient.query(ADD_ITEM_TO_ORDER, { productVariantId: item60.id, quantity: 1, }); @@ -133,29 +138,29 @@ describe('Promotions applied to Orders', () => { await deletePromotion(promoFreeWithExpiredCoupon.id); }); - it( - 'applyCouponCode throws with nonexistant code', - assertThrowsWithMessage(async () => { - await shopClient.query( - APPLY_COUPON_CODE, - { - couponCode: 'bad code', - }, - ); - }, 'Coupon code "bad code" is not valid'), - ); + it('applyCouponCode returns error result when code is nonexistant', async () => { + const { applyCouponCode } = await shopClient.query< + ApplyCouponCode.Mutation, + ApplyCouponCode.Variables + >(APPLY_COUPON_CODE, { + couponCode: 'bad code', + }); + orderResultGuard.assertErrorResult(applyCouponCode); + expect(applyCouponCode.message).toBe('Coupon code "bad code" is not valid'); + expect(applyCouponCode.errorCode).toBe(ErrorCode.COUPON_CODE_INVALID_ERROR); + }); - it( - 'applyCouponCode throws with expired code', - assertThrowsWithMessage(async () => { - await shopClient.query( - APPLY_COUPON_CODE, - { - couponCode: EXPIRED_COUPON_CODE, - }, - ); - }, `Coupon code "${EXPIRED_COUPON_CODE}" has expired`), - ); + it('applyCouponCode returns error when code is expired', async () => { + const { applyCouponCode } = await shopClient.query< + ApplyCouponCode.Mutation, + ApplyCouponCode.Variables + >(APPLY_COUPON_CODE, { + couponCode: EXPIRED_COUPON_CODE, + }); + orderResultGuard.assertErrorResult(applyCouponCode); + expect(applyCouponCode.message).toBe(`Coupon code "${EXPIRED_COUPON_CODE}" has expired`); + expect(applyCouponCode.errorCode).toBe(ErrorCode.COUPON_CODE_EXPIRED_ERROR); + }); it('applies a valid coupon code', async () => { const { applyCouponCode } = await shopClient.query< @@ -164,7 +169,7 @@ describe('Promotions applied to Orders', () => { >(APPLY_COUPON_CODE, { couponCode: TEST_COUPON_CODE, }); - + orderResultGuard.assertSuccess(applyCouponCode); expect(applyCouponCode!.couponCodes).toEqual([TEST_COUPON_CODE]); expect(applyCouponCode!.adjustments.length).toBe(1); expect(applyCouponCode!.adjustments[0].description).toBe('Free with test coupon'); @@ -192,7 +197,7 @@ describe('Promotions applied to Orders', () => { >(APPLY_COUPON_CODE, { couponCode: TEST_COUPON_CODE, }); - + orderResultGuard.assertSuccess(applyCouponCode); expect(applyCouponCode!.couponCodes).toEqual([TEST_COUPON_CODE]); }); @@ -274,6 +279,7 @@ describe('Promotions applied to Orders', () => { productVariantId: item60.id, quantity: 1, }); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.total).toBe(6000); expect(addItemToOrder!.adjustments.length).toBe(0); @@ -284,6 +290,7 @@ describe('Promotions applied to Orders', () => { orderLineId: addItemToOrder!.lines[0].id, quantity: 2, }); + orderResultGuard.assertSuccess(adjustOrderLine); expect(adjustOrderLine!.total).toBe(0); expect(adjustOrderLine!.adjustments[0].description).toBe('Free if order total greater than 100'); expect(adjustOrderLine!.adjustments[0].amount).toBe(-12000); @@ -318,6 +325,7 @@ describe('Promotions applied to Orders', () => { productVariantId: itemSale1.id, quantity: 1, }); + orderResultGuard.assertSuccess(res1); expect(res1!.total).toBe(120); expect(res1!.adjustments.length).toBe(0); @@ -328,6 +336,7 @@ describe('Promotions applied to Orders', () => { productVariantId: itemSale12.id, quantity: 1, }); + orderResultGuard.assertSuccess(res2); expect(res2!.total).toBe(0); expect(res2!.adjustments.length).toBe(1); expect(res2!.total).toBe(0); @@ -367,6 +376,7 @@ describe('Promotions applied to Orders', () => { productVariantId: item12.id, quantity: 1, }); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.total).toBe(7200); expect(addItemToOrder!.adjustments.length).toBe(0); @@ -377,6 +387,7 @@ describe('Promotions applied to Orders', () => { orderLineId: addItemToOrder!.lines[0].id, quantity: 2, }); + orderResultGuard.assertSuccess(adjustOrderLine); expect(adjustOrderLine!.total).toBe(0); expect(adjustOrderLine!.adjustments[0].description).toBe( 'Free if buying 3 or more offer products', @@ -415,6 +426,7 @@ describe('Promotions applied to Orders', () => { productVariantId: getVariantBySlug('item-60').id, quantity: 1, }); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.total).toBe(0); expect(addItemToOrder!.adjustments.length).toBe(1); expect(addItemToOrder!.adjustments[0].description).toBe('Free for group members'); @@ -435,6 +447,7 @@ describe('Promotions applied to Orders', () => { orderLineId: addItemToOrder!.lines[0].id, quantity: 2, }); + orderResultGuard.assertSuccess(adjustOrderLine); expect(adjustOrderLine!.total).toBe(12000); expect(adjustOrderLine!.adjustments.length).toBe(0); @@ -469,6 +482,7 @@ describe('Promotions applied to Orders', () => { productVariantId: item60.id, quantity: 1, }); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.total).toBe(6000); expect(addItemToOrder!.adjustments.length).toBe(0); @@ -478,7 +492,7 @@ describe('Promotions applied to Orders', () => { >(APPLY_COUPON_CODE, { couponCode, }); - + orderResultGuard.assertSuccess(applyCouponCode); expect(applyCouponCode!.adjustments.length).toBe(1); expect(applyCouponCode!.adjustments[0].description).toBe('50% discount on order'); expect(applyCouponCode!.total).toBe(3000); @@ -524,6 +538,7 @@ describe('Promotions applied to Orders', () => { function getItemSale1Line(lines: TestOrderFragment.Lines[]): TestOrderFragment.Lines { return lines.find(l => l.productVariant.id === getVariantBySlug('item-sale-1').id)!; } + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.adjustments.length).toBe(0); expect(getItemSale1Line(addItemToOrder!.lines).adjustments.length).toBe(2); // 2x tax expect(addItemToOrder!.total).toBe(2640); @@ -534,6 +549,7 @@ describe('Promotions applied to Orders', () => { >(APPLY_COUPON_CODE, { couponCode, }); + orderResultGuard.assertSuccess(applyCouponCode); expect(applyCouponCode!.total).toBe(1920); expect(getItemSale1Line(applyCouponCode!.lines).adjustments.length).toBe(4); // 2x tax, 2x promotion @@ -580,6 +596,7 @@ describe('Promotions applied to Orders', () => { productVariantId: item60.id, quantity: 1, }); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.adjustments.length).toBe(0); expect(addItemToOrder!.lines[0].adjustments.length).toBe(1); // 1x tax expect(addItemToOrder!.total).toBe(6000); @@ -590,6 +607,7 @@ describe('Promotions applied to Orders', () => { >(APPLY_COUPON_CODE, { couponCode, }); + orderResultGuard.assertSuccess(applyCouponCode); expect(applyCouponCode!.total).toBe(3000); expect(applyCouponCode!.lines[0].adjustments.length).toBe(2); // 1x tax, 1x promotion @@ -650,6 +668,7 @@ describe('Promotions applied to Orders', () => { >(APPLY_COUPON_CODE, { couponCode: 'CODE1', }); + orderResultGuard.assertSuccess(apply1); expect(apply1?.lines[0].adjustments.length).toBe(2); expect( @@ -664,6 +683,7 @@ describe('Promotions applied to Orders', () => { >(APPLY_COUPON_CODE, { couponCode: 'CODE2', }); + orderResultGuard.assertSuccess(apply2); expect(apply2?.lines[0].adjustments.length).toBe(2); expect( @@ -731,6 +751,7 @@ describe('Promotions applied to Orders', () => { ApplyCouponCode.Mutation, ApplyCouponCode.Variables >(APPLY_COUPON_CODE, { couponCode: TEST_COUPON_CODE }); + orderResultGuard.assertSuccess(applyCouponCode); expect(applyCouponCode!.total).toBe(0); expect(applyCouponCode!.couponCodes).toEqual([TEST_COUPON_CODE]); @@ -754,22 +775,20 @@ describe('Promotions applied to Orders', () => { ]); }); - it('throws when usage exceeds limit', async () => { + it('returns error result when usage exceeds limit', async () => { await shopClient.asAnonymousUser(); await createNewActiveOrder(); await addGuestCustomerToOrder(); - try { - await shopClient.query( - APPLY_COUPON_CODE, - { couponCode: TEST_COUPON_CODE }, - ); - fail('should have thrown'); - } catch (err) { - expect(err.message).toEqual( - expect.stringContaining('Coupon code cannot be used more than once per customer'), - ); - } + const { applyCouponCode } = await shopClient.query< + ApplyCouponCode.Mutation, + ApplyCouponCode.Variables + >(APPLY_COUPON_CODE, { couponCode: TEST_COUPON_CODE }); + orderResultGuard.assertErrorResult(applyCouponCode); + + expect(applyCouponCode.message).toEqual( + 'Coupon code cannot be used more than once per customer', + ); }); it('removes couponCode from order when adding customer after code applied', async () => { @@ -780,6 +799,7 @@ describe('Promotions applied to Orders', () => { ApplyCouponCode.Mutation, ApplyCouponCode.Variables >(APPLY_COUPON_CODE, { couponCode: TEST_COUPON_CODE }); + orderResultGuard.assertSuccess(applyCouponCode); expect(applyCouponCode!.total).toBe(0); expect(applyCouponCode!.couponCodes).toEqual([TEST_COUPON_CODE]); @@ -804,6 +824,7 @@ describe('Promotions applied to Orders', () => { ApplyCouponCode.Mutation, ApplyCouponCode.Variables >(APPLY_COUPON_CODE, { couponCode: TEST_COUPON_CODE }); + orderResultGuard.assertSuccess(applyCouponCode); expect(applyCouponCode!.total).toBe(0); expect(applyCouponCode!.couponCodes).toEqual([TEST_COUPON_CODE]); @@ -814,20 +835,18 @@ describe('Promotions applied to Orders', () => { expect(order.active).toBe(false); }); - it('throws when usage exceeds limit', async () => { + it('returns error result when usage exceeds limit', async () => { await logInAsRegisteredCustomer(); await createNewActiveOrder(); - try { - await shopClient.query( - APPLY_COUPON_CODE, - { couponCode: TEST_COUPON_CODE }, - ); - fail('should have thrown'); - } catch (err) { - expect(err.message).toEqual( - expect.stringContaining('Coupon code cannot be used more than once per customer'), - ); - } + const { applyCouponCode } = await shopClient.query< + ApplyCouponCode.Mutation, + ApplyCouponCode.Variables + >(APPLY_COUPON_CODE, { couponCode: TEST_COUPON_CODE }); + orderResultGuard.assertErrorResult(applyCouponCode); + expect(applyCouponCode.message).toEqual( + 'Coupon code cannot be used more than once per customer', + ); + expect(applyCouponCode.errorCode).toBe(ErrorCode.COUPON_CODE_LIMIT_ERROR); }); it('removes couponCode from order when logging in after code applied', async () => { @@ -837,6 +856,7 @@ describe('Promotions applied to Orders', () => { ApplyCouponCode.Mutation, ApplyCouponCode.Variables >(APPLY_COUPON_CODE, { couponCode: TEST_COUPON_CODE }); + orderResultGuard.assertSuccess(applyCouponCode); expect(applyCouponCode!.couponCodes).toEqual([TEST_COUPON_CODE]); expect(applyCouponCode!.total).toBe(0); diff --git a/packages/core/e2e/price-calculation-strategy.e2e-spec.ts b/packages/core/e2e/price-calculation-strategy.e2e-spec.ts index b5adc8b5df..478c2d81a4 100644 --- a/packages/core/e2e/price-calculation-strategy.e2e-spec.ts +++ b/packages/core/e2e/price-calculation-strategy.e2e-spec.ts @@ -86,20 +86,22 @@ const ADD_ITEM_TO_ORDER_CUSTOM_FIELDS = gql` quantity: $quantity customFields: $customFields ) { - id - subTotalBeforeTax - subTotal - shipping - total - lines { + ... on Order { id - quantity - unitPrice - unitPriceWithTax - items { + subTotalBeforeTax + subTotal + shipping + total + lines { + id + quantity unitPrice unitPriceWithTax - unitPriceIncludesTax + items { + unitPrice + unitPriceWithTax + unitPriceIncludesTax + } } } } diff --git a/packages/core/e2e/shop-auth.e2e-spec.ts b/packages/core/e2e/shop-auth.e2e-spec.ts index 6213c42708..cef9a8b060 100644 --- a/packages/core/e2e/shop-auth.e2e-spec.ts +++ b/packages/core/e2e/shop-auth.e2e-spec.ts @@ -1,6 +1,6 @@ /* tslint:disable:no-non-null-assertion */ import { OnModuleInit } from '@nestjs/common'; -import { RegisterCustomerInput } from '@vendure/common/lib/generated-shop-types'; +import { ErrorCode, RegisterCustomerInput } from '@vendure/common/lib/generated-shop-types'; import { pick } from '@vendure/common/lib/pick'; import { AccountRegistrationEvent, @@ -12,7 +12,7 @@ import { PasswordResetEvent, VendurePlugin, } from '@vendure/core'; -import { createTestEnvironment } from '@vendure/testing'; +import { createErrorResultGuard, createTestEnvironment, ErrorResultGuard } from '@vendure/testing'; import { DocumentNode } from 'graphql'; import gql from 'graphql-tag'; import path from 'path'; @@ -30,6 +30,7 @@ import { Permission, } from './graphql/generated-e2e-admin-types'; import { + CurrentUserShopFragment, GetActiveCustomer, RefreshToken, Register, @@ -70,21 +71,29 @@ let sendEmailFn: jest.Mock; class TestEmailPlugin implements OnModuleInit { constructor(private eventBus: EventBus) {} onModuleInit() { - this.eventBus.ofType(AccountRegistrationEvent).subscribe((event) => { + this.eventBus.ofType(AccountRegistrationEvent).subscribe(event => { sendEmailFn(event); }); - this.eventBus.ofType(PasswordResetEvent).subscribe((event) => { + this.eventBus.ofType(PasswordResetEvent).subscribe(event => { sendEmailFn(event); }); - this.eventBus.ofType(IdentifierChangeRequestEvent).subscribe((event) => { + this.eventBus.ofType(IdentifierChangeRequestEvent).subscribe(event => { sendEmailFn(event); }); - this.eventBus.ofType(IdentifierChangeEvent).subscribe((event) => { + this.eventBus.ofType(IdentifierChangeEvent).subscribe(event => { sendEmailFn(event); }); } } +const successErrorGuard: ErrorResultGuard<{ success: boolean }> = createErrorResultGuard<{ + success: boolean; +}>(input => input.success != null); + +const currentUserErrorGuard: ErrorResultGuard = createErrorResultGuard< + CurrentUserShopFragment +>(input => input.identifier != null); + describe('Shop auth & accounts', () => { const { server, adminClient, shopClient } = createTestEnvironment( mergeConfig(testConfig, { @@ -115,6 +124,24 @@ describe('Shop auth & accounts', () => { sendEmailFn = jest.fn(); }); + it('does not return error result on email address conflict', async () => { + // To prevent account enumeration attacks + const { customers } = await adminClient.query(GET_CUSTOMER_LIST); + const input: RegisterCustomerInput = { + firstName: 'Duplicate', + lastName: 'Person', + phoneNumber: '123456', + emailAddress: customers.items[0].emailAddress, + }; + const { registerCustomerAccount } = await shopClient.query( + REGISTER_ACCOUNT, + { + input, + }, + ); + successErrorGuard.assertSuccess(registerCustomerAccount); + }); + it('register a new account without password', async () => { const verificationTokenPromise = getVerificationTokenPromise(); const input: RegisterCustomerInput = { @@ -123,13 +150,17 @@ describe('Shop auth & accounts', () => { phoneNumber: '123456', emailAddress, }; - const result = await shopClient.query(REGISTER_ACCOUNT, { - input, - }); + const { registerCustomerAccount } = await shopClient.query( + REGISTER_ACCOUNT, + { + input, + }, + ); + successErrorGuard.assertSuccess(registerCustomerAccount); verificationToken = await verificationTokenPromise; - expect(result.registerCustomerAccount).toBe(true); + expect(registerCustomerAccount.success).toBe(true); expect(sendEmailFn).toHaveBeenCalled(); expect(verificationToken).toBeDefined(); @@ -152,7 +183,7 @@ describe('Shop auth & accounts', () => { }); it('issues a new token if attempting to register a second time', async () => { - const sendEmail = new Promise((resolve) => { + const sendEmail = new Promise(resolve => { sendEmailFn.mockImplementation((event: AccountRegistrationEvent) => { resolve(event.user.getNativeAuthenticationMethod().verificationToken!); }); @@ -162,13 +193,17 @@ describe('Shop auth & accounts', () => { lastName: 'Tester', emailAddress, }; - const result = await shopClient.query(REGISTER_ACCOUNT, { - input, - }); + const { registerCustomerAccount } = await shopClient.query( + REGISTER_ACCOUNT, + { + input, + }, + ); + successErrorGuard.assertSuccess(registerCustomerAccount); const newVerificationToken = await sendEmail; - expect(result.registerCustomerAccount).toBe(true); + expect(registerCustomerAccount.success).toBe(true); expect(sendEmailFn).toHaveBeenCalled(); expect(newVerificationToken).not.toBe(verificationToken); @@ -176,19 +211,19 @@ describe('Shop auth & accounts', () => { }); it('refreshCustomerVerification issues a new token', async () => { - const sendEmail = new Promise((resolve) => { + const sendEmail = new Promise(resolve => { sendEmailFn.mockImplementation((event: AccountRegistrationEvent) => { resolve(event.user.getNativeAuthenticationMethod().verificationToken!); }); }); - const result = await shopClient.query( - REFRESH_TOKEN, - { emailAddress }, - ); - + const { refreshCustomerVerification } = await shopClient.query< + RefreshToken.Mutation, + RefreshToken.Variables + >(REFRESH_TOKEN, { emailAddress }); + successErrorGuard.assertSuccess(refreshCustomerVerification); const newVerificationToken = await sendEmail; - expect(result.refreshCustomerVerification).toBe(true); + expect(refreshCustomerVerification.success).toBe(true); expect(sendEmailFn).toHaveBeenCalled(); expect(newVerificationToken).not.toBe(verificationToken); @@ -196,14 +231,16 @@ describe('Shop auth & accounts', () => { }); it('refreshCustomerVerification does nothing with an unrecognized emailAddress', async () => { - const result = await shopClient.query( - REFRESH_TOKEN, - { - emailAddress: 'never-been-registered@test.com', - }, - ); + const { refreshCustomerVerification } = await shopClient.query< + RefreshToken.Mutation, + RefreshToken.Variables + >(REFRESH_TOKEN, { + emailAddress: 'never-been-registered@test.com', + }); + successErrorGuard.assertSuccess(refreshCustomerVerification); await waitForSendEmailFn(); - expect(result.refreshCustomerVerification).toBe(true); + + expect(refreshCustomerVerification.success).toBe(true); expect(sendEmailFn).not.toHaveBeenCalled(); }); @@ -216,36 +253,44 @@ describe('Shop auth & accounts', () => { } }); - it( - 'verification fails with wrong token', - assertThrowsWithMessage( - () => - shopClient.query(VERIFY_EMAIL, { - password, - token: 'bad-token', - }), - `Verification token not recognized`, - ), - ); + it('verification fails with wrong token', async () => { + const { verifyCustomerAccount } = await shopClient.query( + VERIFY_EMAIL, + { + password, + token: 'bad-token', + }, + ); + currentUserErrorGuard.assertErrorResult(verifyCustomerAccount); - it( - 'verification fails with no password', - assertThrowsWithMessage( - () => - shopClient.query(VERIFY_EMAIL, { - token: verificationToken, - }), - `A password must be provided as it was not set during registration`, - ), - ); + expect(verifyCustomerAccount.message).toBe(`Verification token not recognized`); + expect(verifyCustomerAccount.code).toBe(ErrorCode.VERIFICATION_TOKEN_INVALID_ERROR); + }); + + it('verification fails with no password', async () => { + const { verifyCustomerAccount } = await shopClient.query( + VERIFY_EMAIL, + { + token: verificationToken, + }, + ); + currentUserErrorGuard.assertErrorResult(verifyCustomerAccount); + + expect(verifyCustomerAccount.message).toBe(`A password must be provided.`); + expect(verifyCustomerAccount.code).toBe(ErrorCode.MISSING_PASSWORD_ERROR); + }); it('verification succeeds with password and correct token', async () => { - const result = await shopClient.query(VERIFY_EMAIL, { - password, - token: verificationToken, - }); + const { verifyCustomerAccount } = await shopClient.query( + VERIFY_EMAIL, + { + password, + token: verificationToken, + }, + ); + currentUserErrorGuard.assertSuccess(verifyCustomerAccount); - expect(result.verifyCustomerAccount.user.identifier).toBe('test1@test.com'); + expect(verifyCustomerAccount.identifier).toBe('test1@test.com'); const { activeCustomer } = await shopClient.query(GET_ACTIVE_CUSTOMER); newCustomerId = activeCustomer!.id; }); @@ -256,25 +301,32 @@ describe('Shop auth & accounts', () => { lastName: 'Hacker', emailAddress, }; - const result = await shopClient.query(REGISTER_ACCOUNT, { - input, - }); + const { registerCustomerAccount } = await shopClient.query( + REGISTER_ACCOUNT, + { + input, + }, + ); + successErrorGuard.assertSuccess(registerCustomerAccount); + await waitForSendEmailFn(); - expect(result.registerCustomerAccount).toBe(true); + expect(registerCustomerAccount.success).toBe(true); expect(sendEmailFn).not.toHaveBeenCalled(); }); - it( - 'verification fails if attempted a second time', - assertThrowsWithMessage( - () => - shopClient.query(VERIFY_EMAIL, { - password, - token: verificationToken, - }), - `Verification token not recognized`, - ), - ); + it('verification fails if attempted a second time', async () => { + const { verifyCustomerAccount } = await shopClient.query( + VERIFY_EMAIL, + { + password, + token: verificationToken, + }, + ); + currentUserErrorGuard.assertErrorResult(verifyCustomerAccount); + + expect(verifyCustomerAccount.message).toBe(`Verification token not recognized`); + expect(verifyCustomerAccount.code).toBe(ErrorCode.VERIFICATION_TOKEN_INVALID_ERROR); + }); it('customer history contains entries for registration & verification', async () => { const { customer } = await adminClient.query< @@ -322,13 +374,17 @@ describe('Shop auth & accounts', () => { emailAddress, password, }; - const result = await shopClient.query(REGISTER_ACCOUNT, { - input, - }); + const { registerCustomerAccount } = await shopClient.query( + REGISTER_ACCOUNT, + { + input, + }, + ); + successErrorGuard.assertSuccess(registerCustomerAccount); verificationToken = await verificationTokenPromise; - expect(result.registerCustomerAccount).toBe(true); + expect(registerCustomerAccount.success).toBe(true); expect(sendEmailFn).toHaveBeenCalled(); expect(verificationToken).toBeDefined(); @@ -349,25 +405,31 @@ describe('Shop auth & accounts', () => { pick(customers.items[0], ['firstName', 'lastName', 'emailAddress', 'phoneNumber']), ).toEqual(pick(input, ['firstName', 'lastName', 'emailAddress', 'phoneNumber'])); }); - it( - 'verification fails with password', - assertThrowsWithMessage( - () => - shopClient.query(VERIFY_EMAIL, { - token: verificationToken, - password: 'new password', - }), - `A password has already been set during registration`, - ), - ); + + it('verification fails with password', async () => { + const { verifyCustomerAccount } = await shopClient.query( + VERIFY_EMAIL, + { + token: verificationToken, + password: 'new password', + }, + ); + currentUserErrorGuard.assertErrorResult(verifyCustomerAccount); + + expect(verifyCustomerAccount.message).toBe(`A password has already been set during registration`); + expect(verifyCustomerAccount.code).toBe(ErrorCode.PASSWORD_ALREADY_SET_ERROR); + }); it('verification succeeds with no password and correct token', async () => { - const a = 1; - const result = await shopClient.query(VERIFY_EMAIL, { - token: verificationToken, - }); + const { verifyCustomerAccount } = await shopClient.query( + VERIFY_EMAIL, + { + token: verificationToken, + }, + ); + currentUserErrorGuard.assertSuccess(verifyCustomerAccount); - expect(result.verifyCustomerAccount.user.identifier).toBe('test2@test.com'); + expect(verifyCustomerAccount.identifier).toBe('test2@test.com'); const { activeCustomer } = await shopClient.query(GET_ACTIVE_CUSTOMER); }); }); @@ -388,55 +450,62 @@ describe('Shop auth & accounts', () => { }); it('requestPasswordReset silently fails with invalid identifier', async () => { - const result = await shopClient.query< + const { requestPasswordReset } = await shopClient.query< RequestPasswordReset.Mutation, RequestPasswordReset.Variables >(REQUEST_PASSWORD_RESET, { identifier: 'invalid-identifier', }); + successErrorGuard.assertSuccess(requestPasswordReset); await waitForSendEmailFn(); - expect(result.requestPasswordReset).toBe(true); + expect(requestPasswordReset.success).toBe(true); expect(sendEmailFn).not.toHaveBeenCalled(); expect(passwordResetToken).not.toBeDefined(); }); it('requestPasswordReset sends reset token', async () => { const passwordResetTokenPromise = getPasswordResetTokenPromise(); - const result = await shopClient.query< + const { requestPasswordReset } = await shopClient.query< RequestPasswordReset.Mutation, RequestPasswordReset.Variables >(REQUEST_PASSWORD_RESET, { identifier: customer.emailAddress, }); + successErrorGuard.assertSuccess(requestPasswordReset); passwordResetToken = await passwordResetTokenPromise; - expect(result.requestPasswordReset).toBe(true); + expect(requestPasswordReset.success).toBe(true); expect(sendEmailFn).toHaveBeenCalled(); expect(passwordResetToken).toBeDefined(); }); - it( - 'resetPassword fails with wrong token', - assertThrowsWithMessage( - () => - shopClient.query(RESET_PASSWORD, { - password: 'newPassword', - token: 'bad-token', - }), - `Password reset token not recognized`, - ), - ); + it('resetPassword returns error result with wrong token', async () => { + const { resetPassword } = await shopClient.query( + RESET_PASSWORD, + { + password: 'newPassword', + token: 'bad-token', + }, + ); + currentUserErrorGuard.assertErrorResult(resetPassword); + + expect(resetPassword.message).toBe(`Password reset token not recognized`); + expect(resetPassword.code).toBe(ErrorCode.PASSWORD_RESET_TOKEN_INVALID_ERROR); + }); it('resetPassword works with valid token', async () => { - const result = await shopClient.query( + const { resetPassword } = await shopClient.query( RESET_PASSWORD, { token: passwordResetToken, password: 'newPassword', }, ); + currentUserErrorGuard.assertSuccess(resetPassword); + + expect(resetPassword.identifier).toBe(customer.emailAddress); const loginResult = await shopClient.asUserWithCredentials(customer.emailAddress, 'newPassword'); expect(loginResult.user.identifier).toBe(customer.emailAddress); @@ -500,41 +569,40 @@ describe('Shop auth & accounts', () => { } }); - it('throws if password is incorrect', async () => { - try { - await shopClient.asUserWithCredentials(customer.emailAddress, PASSWORD); - await shopClient.query< - RequestUpdateEmailAddress.Mutation, - RequestUpdateEmailAddress.Variables - >(REQUEST_UPDATE_EMAIL_ADDRESS, { - password: 'bad password', - newEmailAddress: NEW_EMAIL_ADDRESS, - }); - fail('should have thrown'); - } catch (err) { - expect(getErrorCode(err)).toBe('UNAUTHORIZED'); - } + it('return error result if password is incorrect', async () => { + await shopClient.asUserWithCredentials(customer.emailAddress, PASSWORD); + const { requestUpdateCustomerEmailAddress } = await shopClient.query< + RequestUpdateEmailAddress.Mutation, + RequestUpdateEmailAddress.Variables + >(REQUEST_UPDATE_EMAIL_ADDRESS, { + password: 'bad password', + newEmailAddress: NEW_EMAIL_ADDRESS, + }); + successErrorGuard.assertErrorResult(requestUpdateCustomerEmailAddress); + + expect(requestUpdateCustomerEmailAddress.message).toBe('The provided credentials are invalid'); + expect(requestUpdateCustomerEmailAddress.code).toBe(ErrorCode.INVALID_CREDENTIALS_ERROR); }); - it( - 'throws if email address already in use', - assertThrowsWithMessage(async () => { - await shopClient.asUserWithCredentials(customer.emailAddress, PASSWORD); - const result = await adminClient.query( - GET_CUSTOMER, - { id: 'T_2' }, - ); - const otherCustomer = result.customer!; + it('return error result email address already in use', async () => { + await shopClient.asUserWithCredentials(customer.emailAddress, PASSWORD); + const result = await adminClient.query(GET_CUSTOMER, { + id: 'T_2', + }); + const otherCustomer = result.customer!; + + const { requestUpdateCustomerEmailAddress } = await shopClient.query< + RequestUpdateEmailAddress.Mutation, + RequestUpdateEmailAddress.Variables + >(REQUEST_UPDATE_EMAIL_ADDRESS, { + password: PASSWORD, + newEmailAddress: otherCustomer.emailAddress, + }); + successErrorGuard.assertErrorResult(requestUpdateCustomerEmailAddress); - await shopClient.query< - RequestUpdateEmailAddress.Mutation, - RequestUpdateEmailAddress.Variables - >(REQUEST_UPDATE_EMAIL_ADDRESS, { - password: PASSWORD, - newEmailAddress: otherCustomer.emailAddress, - }); - }, 'This email address is not available'), - ); + expect(requestUpdateCustomerEmailAddress.message).toBe('The email address is not available.'); + expect(requestUpdateCustomerEmailAddress.code).toBe(ErrorCode.EMAIL_ADDRESS_CONFLICT_ERROR); + }); it('triggers event with token', async () => { await shopClient.asUserWithCredentials(customer.emailAddress, PASSWORD); @@ -564,22 +632,25 @@ describe('Shop auth & accounts', () => { } }); - it( - 'throws with bad token', - assertThrowsWithMessage(async () => { - await shopClient.query( - UPDATE_EMAIL_ADDRESS, - { token: 'bad token' }, - ); - }, 'Identifier change token not recognized'), - ); + it('return error result for bad token', async () => { + const { updateCustomerEmailAddress } = await shopClient.query< + UpdateEmailAddress.Mutation, + UpdateEmailAddress.Variables + >(UPDATE_EMAIL_ADDRESS, { token: 'bad token' }); + successErrorGuard.assertErrorResult(updateCustomerEmailAddress); + + expect(updateCustomerEmailAddress.message).toBe('Identifier change token not recognized'); + expect(updateCustomerEmailAddress.code).toBe(ErrorCode.IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR); + }); it('verify the new email address', async () => { - const result = await shopClient.query( - UPDATE_EMAIL_ADDRESS, - { token: emailUpdateToken }, - ); - expect(result.updateCustomerEmailAddress).toBe(true); + const { updateCustomerEmailAddress } = await shopClient.query< + UpdateEmailAddress.Mutation, + UpdateEmailAddress.Variables + >(UPDATE_EMAIL_ADDRESS, { token: emailUpdateToken }); + successErrorGuard.assertSuccess(updateCustomerEmailAddress); + + expect(updateCustomerEmailAddress.success).toBe(true); expect(sendEmailFn).toHaveBeenCalled(); expect(sendEmailFn.mock.calls[0][0] instanceof IdentifierChangeEvent).toBe(true); @@ -699,7 +770,7 @@ describe('Shop auth & accounts', () => { * A "sleep" function which allows the sendEmailFn time to get called. */ function waitForSendEmailFn() { - return new Promise((resolve) => setTimeout(resolve, 10)); + return new Promise(resolve => setTimeout(resolve, 10)); } }); @@ -730,64 +801,79 @@ describe('Expiring tokens', () => { await server.destroy(); }); - it( - 'attempting to verify after token has expired throws', - assertThrowsWithMessage(async () => { - const verificationTokenPromise = getVerificationTokenPromise(); - const input: RegisterCustomerInput = { - firstName: 'Barry', - lastName: 'Wallace', - emailAddress: 'barry.wallace@test.com', - }; - const result = await shopClient.query(REGISTER_ACCOUNT, { + it('attempting to verify after token has expired throws', async () => { + const verificationTokenPromise = getVerificationTokenPromise(); + const input: RegisterCustomerInput = { + firstName: 'Barry', + lastName: 'Wallace', + emailAddress: 'barry.wallace@test.com', + }; + const { registerCustomerAccount } = await shopClient.query( + REGISTER_ACCOUNT, + { input, - }); + }, + ); + successErrorGuard.assertSuccess(registerCustomerAccount); - const verificationToken = await verificationTokenPromise; + const verificationToken = await verificationTokenPromise; - expect(result.registerCustomerAccount).toBe(true); - expect(sendEmailFn).toHaveBeenCalledTimes(1); - expect(verificationToken).toBeDefined(); + expect(registerCustomerAccount.success).toBe(true); + expect(sendEmailFn).toHaveBeenCalledTimes(1); + expect(verificationToken).toBeDefined(); - await new Promise((resolve) => setTimeout(resolve, 3)); + await new Promise(resolve => setTimeout(resolve, 3)); - return shopClient.query(VERIFY_EMAIL, { + const { verifyCustomerAccount } = await shopClient.query( + VERIFY_EMAIL, + { password: 'test', token: verificationToken, - }); - }, `Verification token has expired. Use refreshCustomerVerification to send a new token.`), - ); + }, + ); + currentUserErrorGuard.assertErrorResult(verifyCustomerAccount); - it( - 'attempting to reset password after token has expired throws', - assertThrowsWithMessage(async () => { - const { customer } = await adminClient.query( - GET_CUSTOMER, - { id: 'T_1' }, - ); + expect(verifyCustomerAccount.message).toBe( + `Verification token has expired. Use refreshCustomerVerification to send a new token.`, + ); + expect(verifyCustomerAccount.code).toBe(ErrorCode.VERIFICATION_TOKEN_EXPIRED_ERROR); + }); - const passwordResetTokenPromise = getPasswordResetTokenPromise(); - const result = await shopClient.query< - RequestPasswordReset.Mutation, - RequestPasswordReset.Variables - >(REQUEST_PASSWORD_RESET, { - identifier: customer!.emailAddress, - }); + it('attempting to reset password after token has expired returns error result', async () => { + const { customer } = await adminClient.query(GET_CUSTOMER, { + id: 'T_1', + }); - const passwordResetToken = await passwordResetTokenPromise; + const passwordResetTokenPromise = getPasswordResetTokenPromise(); + const { requestPasswordReset } = await shopClient.query< + RequestPasswordReset.Mutation, + RequestPasswordReset.Variables + >(REQUEST_PASSWORD_RESET, { + identifier: customer!.emailAddress, + }); + successErrorGuard.assertSuccess(requestPasswordReset); - expect(result.requestPasswordReset).toBe(true); - expect(sendEmailFn).toHaveBeenCalledTimes(1); - expect(passwordResetToken).toBeDefined(); + const passwordResetToken = await passwordResetTokenPromise; - await new Promise((resolve) => setTimeout(resolve, 3)); + expect(requestPasswordReset.success).toBe(true); + expect(sendEmailFn).toHaveBeenCalledTimes(1); + expect(passwordResetToken).toBeDefined(); + + await new Promise(resolve => setTimeout(resolve, 3)); - return shopClient.query(RESET_PASSWORD, { + const { resetPassword } = await shopClient.query( + RESET_PASSWORD, + { password: 'test', token: passwordResetToken, - }); - }, `Password reset token has expired.`), - ); + }, + ); + + currentUserErrorGuard.assertErrorResult(resetPassword); + + expect(resetPassword.message).toBe(`Password reset token has expired`); + expect(resetPassword.code).toBe(ErrorCode.PASSWORD_RESET_TOKEN_EXPIRED_ERROR); + }); }); describe('Registration without email verification', () => { @@ -817,19 +903,23 @@ describe('Registration without email verification', () => { await server.destroy(); }); - it( - 'errors if no password is provided', - assertThrowsWithMessage(async () => { - const input: RegisterCustomerInput = { - firstName: 'Glen', - lastName: 'Beardsley', - emailAddress: userEmailAddress, - }; - const result = await shopClient.query(REGISTER_ACCOUNT, { + it('Returns error result if no password is provided', async () => { + const input: RegisterCustomerInput = { + firstName: 'Glen', + lastName: 'Beardsley', + emailAddress: userEmailAddress, + }; + const { registerCustomerAccount } = await shopClient.query( + REGISTER_ACCOUNT, + { input, - }); - }, 'A password must be provided when `authOptions.requireVerification` is set to "false"'), - ); + }, + ); + successErrorGuard.assertErrorResult(registerCustomerAccount); + + expect(registerCustomerAccount.message).toBe('A password must be provided.'); + expect(registerCustomerAccount.code).toBe(ErrorCode.MISSING_PASSWORD_ERROR); + }); it('register a new account with password', async () => { const input: RegisterCustomerInput = { @@ -838,11 +928,15 @@ describe('Registration without email verification', () => { emailAddress: userEmailAddress, password: 'test', }; - const result = await shopClient.query(REGISTER_ACCOUNT, { - input, - }); + const { registerCustomerAccount } = await shopClient.query( + REGISTER_ACCOUNT, + { + input, + }, + ); + successErrorGuard.assertSuccess(registerCustomerAccount); - expect(result.registerCustomerAccount).toBe(true); + expect(registerCustomerAccount.success).toBe(true); expect(sendEmailFn).not.toHaveBeenCalled(); }); @@ -904,8 +998,9 @@ describe('Updating email address without email verification', () => { password: 'test', newEmailAddress: NEW_EMAIL_ADDRESS, }); + successErrorGuard.assertSuccess(requestUpdateCustomerEmailAddress); - expect(requestUpdateCustomerEmailAddress).toBe(true); + expect(requestUpdateCustomerEmailAddress.success).toBe(true); expect(sendEmailFn).toHaveBeenCalledTimes(1); expect(sendEmailFn.mock.calls[0][0] instanceof IdentifierChangeEvent).toBe(true); @@ -915,7 +1010,7 @@ describe('Updating email address without email verification', () => { }); function getVerificationTokenPromise(): Promise { - return new Promise((resolve) => { + return new Promise(resolve => { sendEmailFn.mockImplementation((event: AccountRegistrationEvent) => { resolve(event.user.getNativeAuthenticationMethod().verificationToken); }); @@ -923,7 +1018,7 @@ function getVerificationTokenPromise(): Promise { } function getPasswordResetTokenPromise(): Promise { - return new Promise((resolve) => { + return new Promise(resolve => { sendEmailFn.mockImplementation((event: PasswordResetEvent) => { resolve(event.user.getNativeAuthenticationMethod().passwordResetToken); }); @@ -934,7 +1029,7 @@ function getEmailUpdateTokenPromise(): Promise<{ identifierChangeToken: string | null; pendingIdentifier: string | null; }> { - return new Promise((resolve) => { + return new Promise(resolve => { sendEmailFn.mockImplementation((event: IdentifierChangeRequestEvent) => { resolve( pick(event.user.getNativeAuthenticationMethod(), [ diff --git a/packages/core/e2e/shop-customer.e2e-spec.ts b/packages/core/e2e/shop-customer.e2e-spec.ts index 273ca4076c..bcbcd54e46 100644 --- a/packages/core/e2e/shop-customer.e2e-spec.ts +++ b/packages/core/e2e/shop-customer.e2e-spec.ts @@ -1,12 +1,12 @@ /* tslint:disable:no-non-null-assertion */ import { pick } from '@vendure/common/lib/pick'; -import { createTestEnvironment } from '@vendure/testing'; +import { createErrorResultGuard, createTestEnvironment, ErrorResultGuard } from '@vendure/testing'; import gql from 'graphql-tag'; import path from 'path'; import { skip } from 'rxjs/operators'; import { initialData } from '../../../e2e-common/e2e-initial-data'; -import { testConfig, TEST_SETUP_TIMEOUT_MS } from '../../../e2e-common/test-config'; +import { TEST_SETUP_TIMEOUT_MS, testConfig } from '../../../e2e-common/test-config'; import { AttemptLogin, @@ -19,6 +19,7 @@ import { CreateAddressInput, CreateAddressShop, DeleteAddressShop, + ErrorCode, UpdateAddressInput, UpdateAddressShop, UpdateCustomer, @@ -39,6 +40,10 @@ describe('Shop customers', () => { const { server, adminClient, shopClient } = createTestEnvironment(testConfig); let customer: GetCustomer.Customer; + const successErrorGuard: ErrorResultGuard<{ success: boolean }> = createErrorResultGuard<{ + success: boolean; + }>(input => input.success != null); + beforeAll(async () => { await server.init({ initialData, @@ -252,12 +257,12 @@ describe('Shop customers', () => { ); it('deleteCustomerAddress works', async () => { - const result = await shopClient.query( - DELETE_ADDRESS, - { id: 'T_3' }, - ); + const { deleteCustomerAddress } = await shopClient.query< + DeleteAddressShop.Mutation, + DeleteAddressShop.Variables + >(DELETE_ADDRESS, { id: 'T_3' }); - expect(result.deleteCustomerAddress).toBe(true); + expect(deleteCustomerAddress.success).toBe(true); }); it('customer history for CUSTOMER_ADDRESS_DELETED', async () => { @@ -286,23 +291,28 @@ describe('Shop customers', () => { }, 'You are not currently authorized to perform this action'), ); - it( - 'updatePassword fails with incorrect current password', - assertThrowsWithMessage(async () => { - await shopClient.query(UPDATE_PASSWORD, { - old: 'wrong', - new: 'test2', - }); - }, 'The credentials did not match. Please check and try again'), - ); + it('updatePassword return error result with incorrect current password', async () => { + const { updateCustomerPassword } = await shopClient.query< + UpdatePassword.Mutation, + UpdatePassword.Variables + >(UPDATE_PASSWORD, { + old: 'wrong', + new: 'test2', + }); + successErrorGuard.assertErrorResult(updateCustomerPassword); + + expect(updateCustomerPassword.message).toBe('The provided credentials are invalid'); + expect(updateCustomerPassword.code).toBe(ErrorCode.INVALID_CREDENTIALS_ERROR); + }); it('updatePassword works', async () => { - const response = await shopClient.query( - UPDATE_PASSWORD, - { old: 'test', new: 'test2' }, - ); + const { updateCustomerPassword } = await shopClient.query< + UpdatePassword.Mutation, + UpdatePassword.Variables + >(UPDATE_PASSWORD, { old: 'test', new: 'test2' }); + successErrorGuard.assertSuccess(updateCustomerPassword); - expect(response.updateCustomerPassword).toBe(true); + expect(updateCustomerPassword.success).toBe(true); // Log out and log in with new password const loginResult = await shopClient.asUserWithCredentials(customer.emailAddress, 'test2'); diff --git a/packages/core/e2e/shop-order.e2e-spec.ts b/packages/core/e2e/shop-order.e2e-spec.ts index bfd2aaa215..1f8f220a00 100644 --- a/packages/core/e2e/shop-order.e2e-spec.ts +++ b/packages/core/e2e/shop-order.e2e-spec.ts @@ -1,6 +1,7 @@ /* tslint:disable:no-non-null-assertion */ +import { pick } from '@vendure/common/lib/pick'; import { mergeConfig } from '@vendure/core'; -import { createTestEnvironment } from '@vendure/testing'; +import { createErrorResultGuard, createTestEnvironment, ErrorResultGuard } from '@vendure/testing'; import gql from 'graphql-tag'; import path from 'path'; @@ -21,24 +22,32 @@ import { UpdateCountry, } from './graphql/generated-e2e-admin-types'; import { + ActiveOrderCustomer, + ActiveOrderCustomerFragment, AddItemToOrder, AddPaymentToOrder, AdjustItemQuantity, + ErrorCode, GetActiveOrder, GetActiveOrderPayments, + GetActiveOrderWithPayments, GetAvailableCountries, GetCustomerAddresses, GetCustomerOrders, GetNextOrderStates, GetOrderByCode, GetShippingMethods, + PaymentDeclinedError, RemoveAllOrderLines, RemoveItemFromOrder, SetBillingAddress, SetCustomerForOrder, SetShippingAddress, SetShippingMethod, + TestOrderFragmentFragment, + TestOrderWithPaymentsFragment, TransitionToState, + UpdatedOrderFragment, } from './graphql/generated-e2e-shop-types'; import { ATTEMPT_LOGIN, @@ -55,6 +64,7 @@ import { GET_ACTIVE_ORDER_ADDRESSES, GET_ACTIVE_ORDER_ORDERS, GET_ACTIVE_ORDER_PAYMENTS, + GET_ACTIVE_ORDER_WITH_PAYMENTS, GET_AVAILABLE_COUNTRIES, GET_ELIGIBLE_SHIPPING_METHODS, GET_NEXT_STATES, @@ -65,6 +75,7 @@ import { SET_CUSTOMER, SET_SHIPPING_ADDRESS, SET_SHIPPING_METHOD, + TEST_ORDER_FRAGMENT, TRANSITION_TO_STATE, } from './graphql/shop-definitions'; import { assertThrowsWithMessage } from './utils/assert-throws-with-message'; @@ -88,6 +99,15 @@ describe('Shop orders', () => { }), ); + type OrderSuccessResult = + | UpdatedOrderFragment + | TestOrderFragmentFragment + | TestOrderWithPaymentsFragment + | ActiveOrderCustomerFragment; + const orderResultGuard: ErrorResultGuard = createErrorResultGuard( + input => !!input.lines, + ); + beforeAll(async () => { await server.init({ initialData, @@ -144,6 +164,7 @@ describe('Shop orders', () => { quantity: 1, }); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(1); expect(addItemToOrder!.lines[0].quantity).toBe(1); expect(addItemToOrder!.lines[0].productVariant.id).toBe('T_1'); @@ -164,17 +185,19 @@ describe('Shop orders', () => { ), ); - it( - 'addItemToOrder errors with a negative quantity', - assertThrowsWithMessage( - () => - shopClient.query(ADD_ITEM_TO_ORDER, { - productVariantId: 'T_999', - quantity: -3, - }), - `-3 is not a valid quantity for an OrderItem`, - ), - ); + it('addItemToOrder errors with a negative quantity', async () => { + const { addItemToOrder } = await shopClient.query< + AddItemToOrder.Mutation, + AddItemToOrder.Variables + >(ADD_ITEM_TO_ORDER, { + productVariantId: 'T_999', + quantity: -3, + }); + + orderResultGuard.assertErrorResult(addItemToOrder); + expect(addItemToOrder.message).toEqual(`The quantity for an OrderItem cannot be negative`); + expect(addItemToOrder.errorCode).toEqual(ErrorCode.NEGATIVE_QUANTITY_ERROR); + }); it('addItemToOrder with an existing productVariantId adds quantity to the existing OrderLine', async () => { const { addItemToOrder } = await shopClient.query< @@ -184,20 +207,26 @@ describe('Shop orders', () => { productVariantId: 'T_1', quantity: 2, }); - + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(1); expect(addItemToOrder!.lines[0].quantity).toBe(3); }); - it( - 'addItemToOrder errors when going beyond orderItemsLimit', - assertThrowsWithMessage(async () => { - await shopClient.query(ADD_ITEM_TO_ORDER, { - productVariantId: 'T_1', - quantity: 100, - }); - }, 'Cannot add items. An order may consist of a maximum of 99 items'), - ); + it('addItemToOrder errors when going beyond orderItemsLimit', async () => { + const { addItemToOrder } = await shopClient.query< + AddItemToOrder.Mutation, + AddItemToOrder.Variables + >(ADD_ITEM_TO_ORDER, { + productVariantId: 'T_1', + quantity: 100, + }); + + orderResultGuard.assertErrorResult(addItemToOrder); + expect(addItemToOrder.message).toBe( + 'Cannot add items. An order may consist of a maximum of 99 items', + ); + expect(addItemToOrder.errorCode).toBe(ErrorCode.ORDER_LIMIT_ERROR); + }); it('adjustOrderLine adjusts the quantity', async () => { const { adjustOrderLine } = await shopClient.query< @@ -207,7 +236,7 @@ describe('Shop orders', () => { orderLineId: firstOrderLineId, quantity: 50, }); - + orderResultGuard.assertSuccess(adjustOrderLine); expect(adjustOrderLine!.lines.length).toBe(1); expect(adjustOrderLine!.lines[0].quantity).toBe(50); }); @@ -220,6 +249,7 @@ describe('Shop orders', () => { productVariantId: 'T_3', quantity: 3, }); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(2); expect(addItemToOrder!.lines.map(i => i.productVariant.id)).toEqual(['T_1', 'T_3']); @@ -230,38 +260,38 @@ describe('Shop orders', () => { orderLineId: addItemToOrder?.lines[1].id!, quantity: 0, }); - + orderResultGuard.assertSuccess(adjustOrderLine); expect(adjustOrderLine!.lines.length).toBe(1); expect(adjustOrderLine!.lines.map(i => i.productVariant.id)).toEqual(['T_1']); }); - it( - 'adjustOrderLine errors when going beyond orderItemsLimit', - assertThrowsWithMessage(async () => { - await shopClient.query( - ADJUST_ITEM_QUANTITY, - { - orderLineId: firstOrderLineId, - quantity: 100, - }, - ); - }, 'Cannot add items. An order may consist of a maximum of 99 items'), - ); + it('adjustOrderLine errors when going beyond orderItemsLimit', async () => { + const { adjustOrderLine } = await shopClient.query< + AdjustItemQuantity.Mutation, + AdjustItemQuantity.Variables + >(ADJUST_ITEM_QUANTITY, { + orderLineId: firstOrderLineId, + quantity: 100, + }); + orderResultGuard.assertErrorResult(adjustOrderLine); + expect(adjustOrderLine.message).toBe( + 'Cannot add items. An order may consist of a maximum of 99 items', + ); + expect(adjustOrderLine.errorCode).toBe(ErrorCode.ORDER_LIMIT_ERROR); + }); - it( - 'adjustOrderLine errors with a negative quantity', - assertThrowsWithMessage( - () => - shopClient.query( - ADJUST_ITEM_QUANTITY, - { - orderLineId: firstOrderLineId, - quantity: -3, - }, - ), - `-3 is not a valid quantity for an OrderItem`, - ), - ); + it('adjustOrderLine errors with a negative quantity', async () => { + const { adjustOrderLine } = await shopClient.query< + AdjustItemQuantity.Mutation, + AdjustItemQuantity.Variables + >(ADJUST_ITEM_QUANTITY, { + orderLineId: firstOrderLineId, + quantity: -3, + }); + orderResultGuard.assertErrorResult(adjustOrderLine); + expect(adjustOrderLine.message).toBe('The quantity for an OrderItem cannot be negative'); + expect(adjustOrderLine.errorCode).toBe(ErrorCode.NEGATIVE_QUANTITY_ERROR); + }); it( 'adjustOrderLine errors with an invalid orderLineId', @@ -286,6 +316,7 @@ describe('Shop orders', () => { productVariantId: 'T_3', quantity: 3, }); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(2); expect(addItemToOrder!.lines.map(i => i.productVariant.id)).toEqual(['T_1', 'T_3']); @@ -295,6 +326,7 @@ describe('Shop orders', () => { >(REMOVE_ITEM_FROM_ORDER, { orderLineId: firstOrderLineId, }); + orderResultGuard.assertSuccess(removeOrderLine); expect(removeOrderLine!.lines.length).toBe(1); expect(removeOrderLine!.lines.map(i => i.productVariant.id)).toEqual(['T_3']); }); @@ -319,29 +351,50 @@ describe('Shop orders', () => { expect(result.nextOrderStates).toEqual(['ArrangingPayment', 'Cancelled']); }); - it( - 'transitionOrderToState throws for an invalid state', - assertThrowsWithMessage( - () => - shopClient.query( - TRANSITION_TO_STATE, - { state: 'Completed' }, - ), + it('transitionOrderToState returns error result for invalid state', async () => { + const { transitionOrderToState } = await shopClient.query< + TransitionToState.Mutation, + TransitionToState.Variables + >(TRANSITION_TO_STATE, { state: 'Completed' }); + orderResultGuard.assertErrorResult(transitionOrderToState); + + expect(transitionOrderToState!.message).toBe( `Cannot transition Order from "AddingItems" to "Completed"`, - ), - ); + ); + expect(transitionOrderToState!.errorCode).toBe(ErrorCode.ORDER_STATE_TRANSITION_ERROR); + }); - it( - 'attempting to transition to ArrangingPayment throws when Order has no Customer', - assertThrowsWithMessage( - () => - shopClient.query( - TRANSITION_TO_STATE, - { state: 'ArrangingPayment' }, - ), + it('attempting to transition to ArrangingPayment returns error result when Order has no Customer', async () => { + const { transitionOrderToState } = await shopClient.query< + TransitionToState.Mutation, + TransitionToState.Variables + >(TRANSITION_TO_STATE, { state: 'ArrangingPayment' }); + orderResultGuard.assertErrorResult(transitionOrderToState); + + expect(transitionOrderToState!.transitionError).toBe( `Cannot transition Order to the "ArrangingPayment" state without Customer details`, - ), - ); + ); + expect(transitionOrderToState!.errorCode).toBe(ErrorCode.ORDER_STATE_TRANSITION_ERROR); + }); + + it('setCustomerForOrder returns error result on email address conflict', async () => { + const { customers } = await adminClient.query(GET_CUSTOMER_LIST); + + const { setCustomerForOrder } = await shopClient.query< + SetCustomerForOrder.Mutation, + SetCustomerForOrder.Variables + >(SET_CUSTOMER, { + input: { + emailAddress: customers.items[0].emailAddress, + firstName: 'Test', + lastName: 'Person', + }, + }); + orderResultGuard.assertErrorResult(setCustomerForOrder); + + expect(setCustomerForOrder!.message).toBe('The email address is not available.'); + expect(setCustomerForOrder!.errorCode).toBe(ErrorCode.EMAIL_ADDRESS_CONFLICT_ERROR); + }); it('setCustomerForOrder creates a new Customer and associates it with the Order', async () => { const { setCustomerForOrder } = await shopClient.query< @@ -354,6 +407,7 @@ describe('Shop orders', () => { lastName: 'Person', }, }); + orderResultGuard.assertSuccess(setCustomerForOrder); const customer = setCustomerForOrder!.customer!; expect(customer.firstName).toBe('Test'); @@ -373,6 +427,7 @@ describe('Shop orders', () => { lastName: 'Person', }, }); + orderResultGuard.assertSuccess(setCustomerForOrder); const customer = setCustomerForOrder!.customer!; expect(customer.firstName).toBe('Changed'); @@ -456,12 +511,16 @@ describe('Shop orders', () => { }); it('can transition to ArrangingPayment once Customer has been set', async () => { - const result = await shopClient.query( - TRANSITION_TO_STATE, - { state: 'ArrangingPayment' }, - ); - - expect(result.transitionOrderToState).toEqual({ id: 'T_1', state: 'ArrangingPayment' }); + const { transitionOrderToState } = await shopClient.query< + TransitionToState.Mutation, + TransitionToState.Variables + >(TRANSITION_TO_STATE, { state: 'ArrangingPayment' }); + orderResultGuard.assertSuccess(transitionOrderToState); + + expect(pick(transitionOrderToState, ['id', 'state'])).toEqual({ + id: 'T_1', + state: 'ArrangingPayment', + }); }); it('adds a successful payment and transitions Order state', async () => { @@ -474,6 +533,7 @@ describe('Shop orders', () => { metadata: {}, }, }); + orderResultGuard.assertSuccess(addPaymentToOrder); const payment = addPaymentToOrder!.payments![0]; expect(addPaymentToOrder!.state).toBe('PaymentSettled'); @@ -505,7 +565,7 @@ describe('Shop orders', () => { describe('ordering as authenticated user', () => { let firstOrderLineId: string; - let activeOrder: AddItemToOrder.AddItemToOrder; + let activeOrder: UpdatedOrderFragment; let authenticatedUserEmailAddress: string; let customers: GetCustomerList.Items[]; const password = 'test'; @@ -538,7 +598,7 @@ describe('Shop orders', () => { productVariantId: 'T_1', quantity: 1, }); - + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(1); expect(addItemToOrder!.lines[0].quantity).toBe(1); expect(addItemToOrder!.lines[0].productVariant.id).toBe('T_1'); @@ -568,7 +628,7 @@ describe('Shop orders', () => { productVariantId: 'T_1', quantity: 2, }); - + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(1); expect(addItemToOrder!.lines[0].quantity).toBe(3); }); @@ -581,7 +641,7 @@ describe('Shop orders', () => { orderLineId: firstOrderLineId, quantity: 50, }); - + orderResultGuard.assertSuccess(adjustOrderLine); expect(adjustOrderLine!.lines.length).toBe(1); expect(adjustOrderLine!.lines[0].quantity).toBe(50); }); @@ -594,6 +654,7 @@ describe('Shop orders', () => { productVariantId: 'T_3', quantity: 3, }); + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(2); expect(addItemToOrder!.lines.map(i => i.productVariant.id)).toEqual(['T_1', 'T_3']); @@ -603,6 +664,7 @@ describe('Shop orders', () => { >(REMOVE_ITEM_FROM_ORDER, { orderLineId: firstOrderLineId, }); + orderResultGuard.assertSuccess(removeOrderLine); expect(removeOrderLine!.lines.length).toBe(1); expect(removeOrderLine!.lines.map(i => i.productVariant.id)).toEqual(['T_3']); }); @@ -623,21 +685,24 @@ describe('Shop orders', () => { expect(result2.activeOrder!.id).toBe(activeOrder.id); }); - it( - 'cannot setCustomerForOrder when already logged in', - assertThrowsWithMessage(async () => { - await shopClient.query( - SET_CUSTOMER, - { - input: { - emailAddress: 'newperson@email.com', - firstName: 'New', - lastName: 'Person', - }, - }, - ); - }, 'Cannot set a Customer for the Order when already logged in'), - ); + it('cannot setCustomerForOrder when already logged in', async () => { + const { setCustomerForOrder } = await shopClient.query< + SetCustomerForOrder.Mutation, + SetCustomerForOrder.Variables + >(SET_CUSTOMER, { + input: { + emailAddress: 'newperson@email.com', + firstName: 'New', + lastName: 'Person', + }, + }); + orderResultGuard.assertErrorResult(setCustomerForOrder); + + expect(setCustomerForOrder!.message).toBe( + 'Cannot set a Customer for the Order when already logged in', + ); + expect(setCustomerForOrder!.errorCode).toBe(ErrorCode.ALREADY_LOGGED_IN_ERROR); + }); describe('shipping', () => { let shippingMethods: GetShippingMethods.EligibleShippingMethods[]; @@ -738,7 +803,7 @@ describe('Shop orders', () => { orderLineId: activeOrder.lines[0].id, quantity: 10, }); - + orderResultGuard.assertSuccess(adjustOrderLine); expect(adjustOrderLine!.shipping).toBe(shippingMethods[1].price); expect(adjustOrderLine!.shippingMethod!.id).toBe(shippingMethods[1].id); expect(adjustOrderLine!.shippingMethod!.description).toBe(shippingMethods[1].description); @@ -746,93 +811,110 @@ describe('Shop orders', () => { }); describe('payment', () => { - it( - 'attempting add a Payment throws error when in AddingItems state', - assertThrowsWithMessage( - () => - shopClient.query( - ADD_PAYMENT, - { - input: { - method: testSuccessfulPaymentMethod.code, - metadata: {}, - }, - }, - ), + it('attempting add a Payment returns error result when in AddingItems state', async () => { + const { addPaymentToOrder } = await shopClient.query< + AddPaymentToOrder.Mutation, + AddPaymentToOrder.Variables + >(ADD_PAYMENT, { + input: { + method: testSuccessfulPaymentMethod.code, + metadata: {}, + }, + }); + + orderResultGuard.assertErrorResult(addPaymentToOrder); + expect(addPaymentToOrder!.message).toBe( `A Payment may only be added when Order is in "ArrangingPayment" state`, - ), - ); + ); + expect(addPaymentToOrder!.errorCode).toBe(ErrorCode.ORDER_PAYMENT_STATE_ERROR); + }); it('transitions to the ArrangingPayment state', async () => { - const result = await shopClient.query< + const { transitionOrderToState } = await shopClient.query< TransitionToState.Mutation, TransitionToState.Variables >(TRANSITION_TO_STATE, { state: 'ArrangingPayment' }); - expect(result.transitionOrderToState).toEqual({ + + orderResultGuard.assertSuccess(transitionOrderToState); + expect(pick(transitionOrderToState, ['id', 'state'])).toEqual({ id: activeOrder.id, state: 'ArrangingPayment', }); }); - it( - 'attempting to add an item throws error when in ArrangingPayment state', - assertThrowsWithMessage( - () => - shopClient.query( - ADD_ITEM_TO_ORDER, - { - productVariantId: 'T_4', - quantity: 1, - }, - ), + it('attempting to add an item returns error result when in ArrangingPayment state', async () => { + const { addItemToOrder } = await shopClient.query< + AddItemToOrder.Mutation, + AddItemToOrder.Variables + >(ADD_ITEM_TO_ORDER, { + productVariantId: 'T_4', + quantity: 1, + }); + + orderResultGuard.assertErrorResult(addItemToOrder); + expect(addItemToOrder.message).toBe( `Order contents may only be modified when in the "AddingItems" state`, - ), - ); + ); + expect(addItemToOrder.errorCode).toBe(ErrorCode.ORDER_MODIFICATION_ERROR); + }); - it( - 'attempting to modify item quantity throws error when in ArrangingPayment state', - assertThrowsWithMessage( - () => - shopClient.query( - ADJUST_ITEM_QUANTITY, - { - orderLineId: activeOrder.lines[0].id, - quantity: 12, - }, - ), + it('attempting to modify item quantity returns error result when in ArrangingPayment state', async () => { + const { adjustOrderLine } = await shopClient.query< + AdjustItemQuantity.Mutation, + AdjustItemQuantity.Variables + >(ADJUST_ITEM_QUANTITY, { + orderLineId: activeOrder.lines[0].id, + quantity: 12, + }); + orderResultGuard.assertErrorResult(adjustOrderLine); + expect(adjustOrderLine.message).toBe( `Order contents may only be modified when in the "AddingItems" state`, - ), - ); + ); + expect(adjustOrderLine.errorCode).toBe(ErrorCode.ORDER_MODIFICATION_ERROR); + }); - it( - 'attempting to remove an item throws error when in ArrangingPayment state', - assertThrowsWithMessage( - () => - shopClient.query( - REMOVE_ITEM_FROM_ORDER, - { - orderLineId: activeOrder.lines[0].id, - }, - ), + it('attempting to remove an item returns error result when in ArrangingPayment state', async () => { + const { removeOrderLine } = await shopClient.query< + RemoveItemFromOrder.Mutation, + RemoveItemFromOrder.Variables + >(REMOVE_ITEM_FROM_ORDER, { + orderLineId: activeOrder.lines[0].id, + }); + orderResultGuard.assertErrorResult(removeOrderLine); + expect(removeOrderLine.message).toBe( `Order contents may only be modified when in the "AddingItems" state`, - ), - ); + ); + expect(removeOrderLine.errorCode).toBe(ErrorCode.ORDER_MODIFICATION_ERROR); + }); - it( - 'attempting to setOrderShippingMethod throws error when in ArrangingPayment state', - assertThrowsWithMessage(async () => { - const shippingMethodsResult = await shopClient.query( - GET_ELIGIBLE_SHIPPING_METHODS, - ); - const shippingMethods = shippingMethodsResult.eligibleShippingMethods; - return shopClient.query( - SET_SHIPPING_METHOD, - { - id: shippingMethods[0].id, - }, - ); - }, `Order contents may only be modified when in the "AddingItems" state`), - ); + it('attempting to remove all items returns error result when in ArrangingPayment state', async () => { + const { removeAllOrderLines } = await shopClient.query( + REMOVE_ALL_ORDER_LINES, + ); + orderResultGuard.assertErrorResult(removeAllOrderLines); + expect(removeAllOrderLines.message).toBe( + `Order contents may only be modified when in the "AddingItems" state`, + ); + expect(removeAllOrderLines.errorCode).toBe(ErrorCode.ORDER_MODIFICATION_ERROR); + }); + + it('attempting to setOrderShippingMethod returns error result when in ArrangingPayment state', async () => { + const shippingMethodsResult = await shopClient.query( + GET_ELIGIBLE_SHIPPING_METHODS, + ); + const shippingMethods = shippingMethodsResult.eligibleShippingMethods; + const { setOrderShippingMethod } = await shopClient.query< + SetShippingMethod.Mutation, + SetShippingMethod.Variables + >(SET_SHIPPING_METHOD, { + id: shippingMethods[0].id, + }); + orderResultGuard.assertErrorResult(setOrderShippingMethod); + expect(setOrderShippingMethod.message).toBe( + `Order contents may only be modified when in the "AddingItems" state`, + ); + expect(setOrderShippingMethod.errorCode).toBe(ErrorCode.ORDER_MODIFICATION_ERROR); + }); it('adds a declined payment', async () => { const { addPaymentToOrder } = await shopClient.query< @@ -846,9 +928,17 @@ describe('Shop orders', () => { }, }, }); + orderResultGuard.assertErrorResult(addPaymentToOrder); - const payment = addPaymentToOrder!.payments![0]; - expect(addPaymentToOrder!.payments!.length).toBe(1); + expect(addPaymentToOrder!.message).toBe('The payment was declined'); + expect(addPaymentToOrder!.errorCode).toBe(ErrorCode.PAYMENT_DECLINED_ERROR); + expect((addPaymentToOrder as any).paymentErrorMessage).toBe('Insufficient funds'); + + const { activeOrder: order } = await shopClient.query( + GET_ACTIVE_ORDER_WITH_PAYMENTS, + ); + const payment = order!.payments![0]; + expect(order!.payments!.length).toBe(1); expect(payment.method).toBe(testFailingPaymentMethod.code); expect(payment.state).toBe('Declined'); expect(payment.transactionId).toBe(null); @@ -857,25 +947,24 @@ describe('Shop orders', () => { }); }); - it('adds an error payment and returns error response', async () => { - try { - await shopClient.query( - ADD_PAYMENT, - { - input: { - method: testErrorPaymentMethod.code, - metadata: { - foo: 'bar', - }, - }, + it('adds an error payment and returns error result', async () => { + const { addPaymentToOrder } = await shopClient.query< + AddPaymentToOrder.Mutation, + AddPaymentToOrder.Variables + >(ADD_PAYMENT, { + input: { + method: testErrorPaymentMethod.code, + metadata: { + foo: 'bar', }, - ); - // TODO: we need to return an Error response as per - // https://github.com/vendure-ecommerce/vendure/issues/437 - // fail('should have thrown'); - } catch (err) { - // expect(err.message).toEqual('Something went horribly wrong'); - } + }, + }); + + orderResultGuard.assertErrorResult(addPaymentToOrder); + expect(addPaymentToOrder!.message).toBe('The payment failed'); + expect(addPaymentToOrder!.errorCode).toBe(ErrorCode.PAYMENT_FAILED_ERROR); + expect((addPaymentToOrder as any).paymentErrorMessage).toBe('Something went horribly wrong'); + const result = await shopClient.query( GET_ACTIVE_ORDER_PAYMENTS, ); @@ -898,6 +987,7 @@ describe('Shop orders', () => { }, }, }); + orderResultGuard.assertSuccess(addPaymentToOrder); const payment = addPaymentToOrder!.payments![2]; expect(addPaymentToOrder!.state).toBe('PaymentSettled'); @@ -979,7 +1069,7 @@ describe('Shop orders', () => { productVariantId: 'T_1', quantity: 1, }); - + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(1); expect(addItemToOrder!.lines[0].productVariant.id).toBe('T_1'); @@ -1002,7 +1092,7 @@ describe('Shop orders', () => { productVariantId: 'T_2', quantity: 1, }); - + orderResultGuard.assertSuccess(addItemToOrder); expect(addItemToOrder!.lines.length).toBe(1); expect(addItemToOrder!.lines[0].productVariant.id).toBe('T_2'); @@ -1069,23 +1159,21 @@ describe('Shop orders', () => { quantity: 1, }); - try { - await shopClient.query( - SET_CUSTOMER, - { - input: { - emailAddress: customers[0].emailAddress, - firstName: 'Evil', - lastName: 'Hacker', - }, - }, - ); - fail('Should have thrown'); - } catch (e) { - expect(e.message).toContain( - 'Cannot use a registered email address for a guest order. Please log in first', - ); - } + const { setCustomerForOrder } = await shopClient.query< + SetCustomerForOrder.Mutation, + SetCustomerForOrder.Variables + >(SET_CUSTOMER, { + input: { + emailAddress: customers[0].emailAddress, + firstName: 'Evil', + lastName: 'Hacker', + }, + }); + orderResultGuard.assertErrorResult(setCustomerForOrder); + + expect(setCustomerForOrder!.message).toBe('The email address is not available.'); + expect(setCustomerForOrder!.errorCode).toBe(ErrorCode.EMAIL_ADDRESS_CONFLICT_ERROR); + const { customer } = await adminClient.query( GET_CUSTOMER, { @@ -1201,6 +1289,7 @@ describe('Shop orders', () => { RemoveAllOrderLines.Mutation, RemoveAllOrderLines.Variables >(REMOVE_ALL_ORDER_LINES); + orderResultGuard.assertSuccess(removeAllOrderLines); expect(removeAllOrderLines?.total).toBe(0); expect(removeAllOrderLines?.lines.length).toBe(0); }); diff --git a/packages/core/src/api/api.module.ts b/packages/core/src/api/api.module.ts index 2c7916ea70..5bb910a658 100644 --- a/packages/core/src/api/api.module.ts +++ b/packages/core/src/api/api.module.ts @@ -3,6 +3,7 @@ import { APP_FILTER, APP_GUARD, APP_INTERCEPTOR } from '@nestjs/core'; import path from 'path'; import { DataImportModule } from '../data-import/data-import.module'; +import { I18nModule } from '../i18n/i18n.module'; import { ServiceModule } from '../service/service.module'; import { AdminApiModule, ApiSharedModule, ShopApiModule } from './api-internal-modules'; @@ -11,6 +12,7 @@ import { configureGraphQLModule } from './config/configure-graphql-module'; import { AuthGuard } from './middleware/auth-guard'; import { ExceptionLoggerFilter } from './middleware/exception-logger.filter'; import { IdInterceptor } from './middleware/id-interceptor'; +import { TranslateErrorResultInterceptor } from './middleware/translate-error-result-interceptor'; import { ValidateCustomFieldsInterceptor } from './middleware/validate-custom-fields-interceptor'; /** @@ -22,6 +24,7 @@ import { ValidateCustomFieldsInterceptor } from './middleware/validate-custom-fi imports: [ ServiceModule.forRoot(), DataImportModule, + I18nModule, ApiSharedModule, AdminApiModule, ShopApiModule, @@ -60,6 +63,10 @@ import { ValidateCustomFieldsInterceptor } from './middleware/validate-custom-fi provide: APP_INTERCEPTOR, useClass: ValidateCustomFieldsInterceptor, }, + { + provide: APP_INTERCEPTOR, + useClass: TranslateErrorResultInterceptor, + }, { provide: APP_FILTER, useClass: ExceptionLoggerFilter, diff --git a/packages/core/src/api/config/generate-error-code-enum.ts b/packages/core/src/api/config/generate-error-code-enum.ts index e37684c0dc..87c3da5eb8 100644 --- a/packages/core/src/api/config/generate-error-code-enum.ts +++ b/packages/core/src/api/config/generate-error-code-enum.ts @@ -23,7 +23,11 @@ export function generateErrorCodeEnum(typeDefsOrSchema: string | GraphQLSchema): const errorCodeEnum = ` extend enum ErrorCode { - ${errorNodes.map(n => n?.name.value).join('\n')} + ${errorNodes.map(n => camelToUpperSnakeCase(n?.name.value || '')).join('\n')} }`; return extendSchema(schema, parse(errorCodeEnum)); } + +function camelToUpperSnakeCase(input: string): string { + return input.replace(/([a-z])([A-Z])/g, '$1_$2').toUpperCase(); +} diff --git a/packages/core/src/api/middleware/translate-error-result-interceptor.ts b/packages/core/src/api/middleware/translate-error-result-interceptor.ts new file mode 100644 index 0000000000..68436abba3 --- /dev/null +++ b/packages/core/src/api/middleware/translate-error-result-interceptor.ts @@ -0,0 +1,40 @@ +import { CallHandler, ExecutionContext, Injectable, NestInterceptor } from '@nestjs/common'; +import { Observable } from 'rxjs'; +import { map, switchMap } from 'rxjs/operators'; + +import { ErrorResult as AdminErrorResult } from '../../common/error/generated-graphql-admin-errors'; +import { ErrorResult as ShopErrorResult } from '../../common/error/generated-graphql-shop-errors'; +import { I18nService } from '../../i18n/i18n.service'; +import { parseContext } from '../common/parse-context'; + +/** + * @description + * Translates any top-level ErrorResult message + */ +@Injectable() +export class TranslateErrorResultInterceptor implements NestInterceptor { + constructor(private i18nService: I18nService) {} + + intercept(context: ExecutionContext, next: CallHandler): Observable { + const { isGraphQL, req } = parseContext(context); + return next.handle().pipe( + switchMap(result => Promise.resolve(result)), + map(result => { + if (Array.isArray(result)) { + for (const item of result) { + this.translateResult(req, item); + } + } else { + this.translateResult(req, result); + } + return result; + }), + ); + } + + private translateResult(req: any, result: unknown) { + if (result instanceof AdminErrorResult || result instanceof ShopErrorResult) { + this.i18nService.translateErrorResult(req, result); + } + } +} diff --git a/packages/core/src/api/resolvers/admin/asset.resolver.ts b/packages/core/src/api/resolvers/admin/asset.resolver.ts index 8ceab8f19b..bbad64204f 100644 --- a/packages/core/src/api/resolvers/admin/asset.resolver.ts +++ b/packages/core/src/api/resolvers/admin/asset.resolver.ts @@ -41,11 +41,6 @@ export class AssetResolver { @Ctx() ctx: RequestContext, @Args() args: MutationCreateAssetsArgs, ): Promise { - // TODO: Currently we validate _all_ mime types up-front due to limitations - // with the existing error handling mechanisms. With a solution as described - // in https://github.com/vendure-ecommerce/vendure/issues/437 we could defer - // this check to the individual processing of a single Asset. - // await this.assetService.validateInputMimeTypes(args.input); // TODO: Is there some way to parellelize this while still preserving // the order of files in the upload? Non-deterministic IDs mess up the e2e test snapshots. const assets: CreateAssetResult[] = []; diff --git a/packages/core/src/api/resolvers/admin/customer.resolver.ts b/packages/core/src/api/resolvers/admin/customer.resolver.ts index 700db00883..caa66fdbe7 100644 --- a/packages/core/src/api/resolvers/admin/customer.resolver.ts +++ b/packages/core/src/api/resolvers/admin/customer.resolver.ts @@ -14,6 +14,7 @@ import { Permission, QueryCustomerArgs, QueryCustomersArgs, + Success, } from '@vendure/common/lib/generated-types'; import { PaginatedList } from '@vendure/common/lib/shared-types'; @@ -98,9 +99,10 @@ export class CustomerResolver { async deleteCustomerAddress( @Ctx() ctx: RequestContext, @Args() args: MutationDeleteCustomerAddressArgs, - ): Promise { + ): Promise { const { id } = args; - return this.customerService.deleteAddress(ctx, id); + const success = await this.customerService.deleteAddress(ctx, id); + return { success }; } @Transaction() diff --git a/packages/core/src/api/resolvers/base/base-auth.resolver.ts b/packages/core/src/api/resolvers/base/base-auth.resolver.ts index 92a997ccac..b57e076704 100644 --- a/packages/core/src/api/resolvers/base/base-auth.resolver.ts +++ b/packages/core/src/api/resolvers/base/base-auth.resolver.ts @@ -7,7 +7,8 @@ import { } from '@vendure/common/lib/generated-types'; import { Request, Response } from 'express'; -import { ForbiddenError, InternalServerError, UnauthorizedError } from '../../../common/error/errors'; +import { ForbiddenError, UnauthorizedError } from '../../../common/error/errors'; +import { InvalidCredentialsError } from '../../../common/error/generated-graphql-shop-errors'; import { NATIVE_AUTH_STRATEGY_NAME } from '../../../config/auth/native-authentication-strategy'; import { ConfigService } from '../../../config/config.service'; import { User } from '../../../entity/user/user.entity'; @@ -119,10 +120,10 @@ export class BaseAuthResolver { ctx: RequestContext, currentPassword: string, newPassword: string, - ): Promise { + ): Promise { const { activeUserId } = ctx; if (!activeUserId) { - throw new InternalServerError(`error.no-active-user-id`); + throw new ForbiddenError(); } return this.userService.updatePassword(ctx, activeUserId, currentPassword, newPassword); } diff --git a/packages/core/src/api/resolvers/shop/shop-auth.resolver.ts b/packages/core/src/api/resolvers/shop/shop-auth.resolver.ts index ea8e14ba09..e348e22acf 100644 --- a/packages/core/src/api/resolvers/shop/shop-auth.resolver.ts +++ b/packages/core/src/api/resolvers/shop/shop-auth.resolver.ts @@ -1,5 +1,6 @@ import { Args, Context, Mutation, Query, Resolver } from '@nestjs/graphql'; import { + ErrorCode, LoginResult, MutationAuthenticateArgs, MutationLoginArgs, @@ -12,16 +13,21 @@ import { MutationUpdateCustomerPasswordArgs, MutationVerifyCustomerAccountArgs, Permission, + RefreshCustomerVerificationResult, + RegisterCustomerAccountResult, + RequestPasswordResetResult, + RequestUpdateCustomerEmailAddressResult, + ResetPasswordResult, + UpdateCustomerEmailAddressResult, + UpdateCustomerPasswordResult, + VerifyCustomerAccountResult, } from '@vendure/common/lib/generated-shop-types'; import { HistoryEntryType } from '@vendure/common/lib/generated-types'; import { Request, Response } from 'express'; -import { - ForbiddenError, - InternalServerError, - PasswordResetTokenError, - VerificationTokenError, -} from '../../../common/error/errors'; +import { isGraphQlErrorResult } from '../../../common/error/error-result'; +import { ForbiddenError } from '../../../common/error/errors'; +import { NativeAuthStrategyError } from '../../../common/error/generated-graphql-shop-errors'; import { NATIVE_AUTH_STRATEGY_NAME } from '../../../config/auth/native-authentication-strategy'; import { ConfigService } from '../../../config/config.service'; import { Logger } from '../../../config/logger/vendure-logger'; @@ -103,9 +109,21 @@ export class ShopAuthResolver extends BaseAuthResolver { async registerCustomerAccount( @Ctx() ctx: RequestContext, @Args() args: MutationRegisterCustomerAccountArgs, - ) { - this.requireNativeAuthStrategy(); - return this.customerService.registerCustomerAccount(ctx, args.input).then(() => true); + ): Promise { + const nativeAuthStrategyError = this.requireNativeAuthStrategy(); + if (nativeAuthStrategyError) { + return nativeAuthStrategyError; + } + const result = await this.customerService.registerCustomerAccount(ctx, args.input); + if (isGraphQlErrorResult(result)) { + if (result.code === ErrorCode.EMAIL_ADDRESS_CONFLICT_ERROR) { + // We do not want to reveal the email address conflict, + // otherwise account enumeration attacks become possible. + return { success: true }; + } + return result; + } + return { success: true }; } @Transaction() @@ -116,33 +134,36 @@ export class ShopAuthResolver extends BaseAuthResolver { @Args() args: MutationVerifyCustomerAccountArgs, @Context('req') req: Request, @Context('res') res: Response, - ): Promise { - this.requireNativeAuthStrategy(); + ): Promise { + const nativeAuthStrategyError = this.requireNativeAuthStrategy(); + if (nativeAuthStrategyError) { + return nativeAuthStrategyError; + } const { token, password } = args; const customer = await this.customerService.verifyCustomerEmailAddress( ctx, token, password || undefined, ); - if (customer && customer.user) { - const session = await this.authService.createAuthenticatedSessionForUser( - ctx, - customer.user, - NATIVE_AUTH_STRATEGY_NAME, - ); - setSessionToken({ - req, - res, - authOptions: this.configService.authOptions, - rememberMe: true, - sessionToken: session.token, - }); - return { - user: this.publiclyAccessibleUser(session.user), - }; - } else { - throw new VerificationTokenError(); + if (isGraphQlErrorResult(customer)) { + return customer; } + const session = await this.authService.createAuthenticatedSessionForUser( + ctx, + // We know that there is a user, since the Customer + // was found with the .getCustomerByUserId() method. + // tslint:disable-next-line:no-non-null-assertion + customer.user!, + NATIVE_AUTH_STRATEGY_NAME, + ); + setSessionToken({ + req, + res, + authOptions: this.configService.authOptions, + rememberMe: true, + sessionToken: session.token, + }); + return this.publiclyAccessibleUser(session.user); } @Transaction() @@ -151,16 +172,28 @@ export class ShopAuthResolver extends BaseAuthResolver { async refreshCustomerVerification( @Ctx() ctx: RequestContext, @Args() args: MutationRefreshCustomerVerificationArgs, - ) { - this.requireNativeAuthStrategy(); - return this.customerService.refreshVerificationToken(ctx, args.emailAddress).then(() => true); + ): Promise { + const nativeAuthStrategyError = this.requireNativeAuthStrategy(); + if (nativeAuthStrategyError) { + return nativeAuthStrategyError; + } + await this.customerService.refreshVerificationToken(ctx, args.emailAddress); + return { success: true }; } @Transaction() @Mutation() @Allow(Permission.Public) - async requestPasswordReset(@Ctx() ctx: RequestContext, @Args() args: MutationRequestPasswordResetArgs) { - return this.customerService.requestPasswordReset(ctx, args.emailAddress).then(() => true); + async requestPasswordReset( + @Ctx() ctx: RequestContext, + @Args() args: MutationRequestPasswordResetArgs, + ): Promise { + const nativeAuthStrategyError = this.requireNativeAuthStrategy(); + if (nativeAuthStrategyError) { + return nativeAuthStrategyError; + } + await this.customerService.requestPasswordReset(ctx, args.emailAddress); + return { success: true }; } @Transaction() @@ -171,27 +204,31 @@ export class ShopAuthResolver extends BaseAuthResolver { @Args() args: MutationResetPasswordArgs, @Context('req') req: Request, @Context('res') res: Response, - ) { - this.requireNativeAuthStrategy(); + ): Promise { + const nativeAuthStrategyError = this.requireNativeAuthStrategy(); + if (nativeAuthStrategyError) { + return nativeAuthStrategyError; + } const { token, password } = args; - const customer = await this.customerService.resetPassword(ctx, token, password); - if (customer && customer.user) { - return super.authenticateAndCreateSession( - ctx, - { - input: { - [NATIVE_AUTH_STRATEGY_NAME]: { - username: customer.user.identifier, - password: args.password, - }, + const result = await this.customerService.resetPassword(ctx, token, password); + if (isGraphQlErrorResult(result)) { + return result; + } + + const { user } = await super.authenticateAndCreateSession( + ctx, + { + input: { + [NATIVE_AUTH_STRATEGY_NAME]: { + username: result.identifier, + password: args.password, }, }, - req, - res, - ); - } else { - throw new PasswordResetTokenError(); - } + }, + req, + res, + ); + return user; } @Transaction() @@ -200,9 +237,15 @@ export class ShopAuthResolver extends BaseAuthResolver { async updateCustomerPassword( @Ctx() ctx: RequestContext, @Args() args: MutationUpdateCustomerPasswordArgs, - ): Promise { - this.requireNativeAuthStrategy(); + ): Promise { + const nativeAuthStrategyError = this.requireNativeAuthStrategy(); + if (nativeAuthStrategyError) { + return nativeAuthStrategyError; + } const result = await super.updatePassword(ctx, args.currentPassword, args.newPassword); + if (isGraphQlErrorResult(result)) { + return result; + } if (result && ctx.activeUserId) { const customer = await this.customerService.findOneByUserId(ctx, ctx.activeUserId); if (customer) { @@ -214,7 +257,7 @@ export class ShopAuthResolver extends BaseAuthResolver { }); } } - return result; + return { success: result }; } @Transaction() @@ -223,13 +266,29 @@ export class ShopAuthResolver extends BaseAuthResolver { async requestUpdateCustomerEmailAddress( @Ctx() ctx: RequestContext, @Args() args: MutationRequestUpdateCustomerEmailAddressArgs, - ): Promise { - this.requireNativeAuthStrategy(); + ): Promise { + const nativeAuthStrategyError = this.requireNativeAuthStrategy(); + if (nativeAuthStrategyError) { + return nativeAuthStrategyError; + } if (!ctx.activeUserId) { throw new ForbiddenError(); } - await this.authService.verifyUserPassword(ctx, ctx.activeUserId, args.password); - return this.customerService.requestUpdateEmailAddress(ctx, ctx.activeUserId, args.newEmailAddress); + const verify = await this.authService.verifyUserPassword(ctx, ctx.activeUserId, args.password); + if (isGraphQlErrorResult(verify)) { + return verify; + } + const result = await this.customerService.requestUpdateEmailAddress( + ctx, + ctx.activeUserId, + args.newEmailAddress, + ); + if (isGraphQlErrorResult(result)) { + return result; + } + return { + success: result, + }; } @Transaction() @@ -238,12 +297,19 @@ export class ShopAuthResolver extends BaseAuthResolver { async updateCustomerEmailAddress( @Ctx() ctx: RequestContext, @Args() args: MutationUpdateCustomerEmailAddressArgs, - ): Promise { - this.requireNativeAuthStrategy(); - return this.customerService.updateEmailAddress(ctx, args.token); + ): Promise { + const nativeAuthStrategyError = this.requireNativeAuthStrategy(); + if (nativeAuthStrategyError) { + return nativeAuthStrategyError; + } + const result = await this.customerService.updateEmailAddress(ctx, args.token); + if (isGraphQlErrorResult(result)) { + return result; + } + return { success: result }; } - private requireNativeAuthStrategy() { + private requireNativeAuthStrategy(): NativeAuthStrategyError | undefined { if (!this.nativeAuthStrategyIsConfigured) { const authStrategyNames = this.configService.authOptions.shopAuthenticationStrategy .map(s => s.name) @@ -252,7 +318,7 @@ export class ShopAuthResolver extends BaseAuthResolver { 'This GraphQL operation requires that the NativeAuthenticationStrategy be configured for the Shop API.\n' + `Currently the following AuthenticationStrategies are enabled: ${authStrategyNames}`; Logger.error(errorMessage); - throw new InternalServerError('error.'); + return new NativeAuthStrategyError(); } } } diff --git a/packages/core/src/api/resolvers/shop/shop-customer.resolver.ts b/packages/core/src/api/resolvers/shop/shop-customer.resolver.ts index 75d8887aa4..7947dd9921 100644 --- a/packages/core/src/api/resolvers/shop/shop-customer.resolver.ts +++ b/packages/core/src/api/resolvers/shop/shop-customer.resolver.ts @@ -1,5 +1,5 @@ import { Args, Mutation, Query, Resolver } from '@nestjs/graphql'; -import { MutationDeleteCustomerAddressArgs } from '@vendure/common/lib/generated-shop-types'; +import { MutationDeleteCustomerAddressArgs, Success } from '@vendure/common/lib/generated-shop-types'; import { MutationCreateCustomerAddressArgs, MutationUpdateCustomerAddressArgs, @@ -75,13 +75,14 @@ export class ShopCustomerResolver { async deleteCustomerAddress( @Ctx() ctx: RequestContext, @Args() args: MutationDeleteCustomerAddressArgs, - ): Promise { + ): Promise { const customer = await this.getCustomerForOwner(ctx); const customerAddresses = await this.customerService.findAddressesByCustomerId(ctx, customer.id); if (!customerAddresses.find(address => idsAreEqual(address.id, args.id))) { throw new ForbiddenError(); } - return this.customerService.deleteAddress(ctx, args.id); + const success = await this.customerService.deleteAddress(ctx, args.id); + return { success }; } /** diff --git a/packages/core/src/api/resolvers/shop/shop-order.resolver.ts b/packages/core/src/api/resolvers/shop/shop-order.resolver.ts index fada55811e..79701b9fe2 100644 --- a/packages/core/src/api/resolvers/shop/shop-order.resolver.ts +++ b/packages/core/src/api/resolvers/shop/shop-order.resolver.ts @@ -1,5 +1,7 @@ import { Args, Mutation, Query, Resolver } from '@nestjs/graphql'; import { + AddPaymentToOrderResult, + ApplyCouponCodeResult, MutationAddItemToOrderArgs, MutationAddPaymentToOrderArgs, MutationAdjustOrderLineArgs, @@ -14,12 +16,19 @@ import { Permission, QueryOrderArgs, QueryOrderByCodeArgs, + RemoveOrderItemsResult, + SetCustomerForOrderResult, + SetOrderShippingMethodResult, ShippingMethodQuote, + TransitionOrderToStateResult, + UpdateOrderItemsResult, } from '@vendure/common/lib/generated-shop-types'; import { QueryCountriesArgs } from '@vendure/common/lib/generated-types'; import ms from 'ms'; -import { ForbiddenError, IllegalOperationError, InternalServerError } from '../../../common/error/errors'; +import { ErrorResultUnion, isGraphQlErrorResult } from '../../../common/error/error-result'; +import { ForbiddenError, InternalServerError } from '../../../common/error/errors'; +import { AlreadyLoggedInError } from '../../../common/error/generated-graphql-shop-errors'; import { Translated } from '../../../common/types/locale-types'; import { idsAreEqual } from '../../../common/utils'; import { Country } from '../../../entity'; @@ -175,7 +184,7 @@ export class ShopOrderResolver { async setOrderShippingMethod( @Ctx() ctx: RequestContext, @Args() args: MutationSetOrderShippingMethodArgs, - ): Promise { + ): Promise | undefined> { if (ctx.authorizedAsOwnerOnly) { const sessionOrder = await this.getOrderFromContext(ctx); if (sessionOrder) { @@ -215,10 +224,10 @@ export class ShopOrderResolver { async transitionOrderToState( @Ctx() ctx: RequestContext, @Args() args: MutationTransitionOrderToStateArgs, - ): Promise { + ): Promise | undefined> { if (ctx.authorizedAsOwnerOnly) { const sessionOrder = await this.getOrderFromContext(ctx, true); - return this.orderService.transitionToState(ctx, sessionOrder.id, args.state as OrderState); + return await this.orderService.transitionToState(ctx, sessionOrder.id, args.state as OrderState); } } @@ -228,7 +237,7 @@ export class ShopOrderResolver { async addItemToOrder( @Ctx() ctx: RequestContext, @Args() args: MutationAddItemToOrderArgs, - ): Promise { + ): Promise> { const order = await this.getOrderFromContext(ctx, true); return this.orderService.addItemToOrder( ctx, @@ -245,7 +254,7 @@ export class ShopOrderResolver { async adjustOrderLine( @Ctx() ctx: RequestContext, @Args() args: MutationAdjustOrderLineArgs, - ): Promise { + ): Promise> { if (args.quantity === 0) { return this.removeOrderLine(ctx, { orderLineId: args.orderLineId }); } @@ -265,7 +274,7 @@ export class ShopOrderResolver { async removeOrderLine( @Ctx() ctx: RequestContext, @Args() args: MutationRemoveOrderLineArgs, - ): Promise { + ): Promise> { const order = await this.getOrderFromContext(ctx, true); return this.orderService.removeItemFromOrder(ctx, order.id, args.orderLineId); } @@ -273,7 +282,9 @@ export class ShopOrderResolver { @Transaction() @Mutation() @Allow(Permission.UpdateOrder, Permission.Owner) - async removeAllOrderLines(@Ctx() ctx: RequestContext): Promise { + async removeAllOrderLines( + @Ctx() ctx: RequestContext, + ): Promise> { const order = await this.getOrderFromContext(ctx, true); return this.orderService.removeAllItemsFromOrder(ctx, order.id); } @@ -284,7 +295,7 @@ export class ShopOrderResolver { async applyCouponCode( @Ctx() ctx: RequestContext, @Args() args: MutationApplyCouponCodeArgs, - ): Promise { + ): Promise> { const order = await this.getOrderFromContext(ctx, true); return this.orderService.applyCouponCode(ctx, order.id, args.couponCode); } @@ -303,11 +314,17 @@ export class ShopOrderResolver { @Transaction() @Mutation() @Allow(Permission.UpdateOrder, Permission.Owner) - async addPaymentToOrder(@Ctx() ctx: RequestContext, @Args() args: MutationAddPaymentToOrderArgs) { + async addPaymentToOrder( + @Ctx() ctx: RequestContext, + @Args() args: MutationAddPaymentToOrderArgs, + ): Promise | undefined> { if (ctx.authorizedAsOwnerOnly) { const sessionOrder = await this.getOrderFromContext(ctx); if (sessionOrder) { const order = await this.orderService.addPaymentToOrder(ctx, sessionOrder.id, args.input); + if (isGraphQlErrorResult(order)) { + return order; + } if (order.active === false) { if (order.customer) { const addresses = await this.customerService.findAddressesByCustomerId( @@ -340,14 +357,20 @@ export class ShopOrderResolver { @Transaction() @Mutation() @Allow(Permission.Owner) - async setCustomerForOrder(@Ctx() ctx: RequestContext, @Args() args: MutationSetCustomerForOrderArgs) { + async setCustomerForOrder( + @Ctx() ctx: RequestContext, + @Args() args: MutationSetCustomerForOrderArgs, + ): Promise | undefined> { if (ctx.authorizedAsOwnerOnly) { if (ctx.activeUserId) { - throw new IllegalOperationError('error.cannot-set-customer-for-order-when-logged-in'); + return new AlreadyLoggedInError(); } const sessionOrder = await this.getOrderFromContext(ctx); if (sessionOrder) { const customer = await this.customerService.createOrUpdate(ctx, args.input, true); + if (isGraphQlErrorResult(customer)) { + return customer; + } return this.orderService.addCustomerToOrder(ctx, sessionOrder.id, customer); } } diff --git a/packages/core/src/api/schema/admin-api/customer.api.graphql b/packages/core/src/api/schema/admin-api/customer.api.graphql index e52c35da15..d0fee4db4c 100644 --- a/packages/core/src/api/schema/admin-api/customer.api.graphql +++ b/packages/core/src/api/schema/admin-api/customer.api.graphql @@ -20,7 +20,7 @@ type Mutation { updateCustomerAddress(input: UpdateAddressInput!): Address! "Update an existing Address" - deleteCustomerAddress(id: ID!): Boolean! + deleteCustomerAddress(id: ID!): Success! addNoteToCustomer(input: AddNoteToCustomerInput!): Customer! updateCustomerNote(input: UpdateCustomerNoteInput!): HistoryEntry! diff --git a/packages/core/src/api/schema/admin-api/order.api.graphql b/packages/core/src/api/schema/admin-api/order.api.graphql index 00a8ceaa4b..cc58083f7b 100644 --- a/packages/core/src/api/schema/admin-api/order.api.graphql +++ b/packages/core/src/api/schema/admin-api/order.api.graphql @@ -12,7 +12,7 @@ type Mutation { addNoteToOrder(input: AddNoteToOrderInput!): Order! updateOrderNote(input: UpdateOrderNoteInput!): HistoryEntry! deleteOrderNote(id: ID!): DeletionResponse! - transitionOrderToState(id: ID!, state: String!): Order + transitionOrderToState(id: ID!, state: String!): TransitionOrderToStateResult transitionFulfillmentToState(id: ID!, state: String!): Fulfillment! setOrderCustomFields(input: UpdateOrderInput!): Order } @@ -72,3 +72,5 @@ input UpdateOrderNoteInput { note: String isPublic: Boolean } + +union TransitionOrderToStateResult = Order | OrderStateTransitionError diff --git a/packages/core/src/api/schema/common/common-types.graphql b/packages/core/src/api/schema/common/common-types.graphql index f681ce9e65..f27321aa84 100644 --- a/packages/core/src/api/schema/common/common-types.graphql +++ b/packages/core/src/api/schema/common/common-types.graphql @@ -82,7 +82,7 @@ enum SortOrder { } enum ErrorCode { - UnknownError + UNKNOWN_ERROR } interface ErrorResult { @@ -183,3 +183,19 @@ input UpdateAddressInput { defaultShippingAddress: Boolean defaultBillingAddress: Boolean } + +""" +Indicates that an operation succeeded, where we do not want to return any more specific information. +""" +type Success { + success: Boolean! +} + +"Returned if there is an error in transitioning the Order state" +type OrderStateTransitionError implements ErrorResult { + code: ErrorCode! + message: String! + transitionError: String! + fromState: String! + toState: String! +} diff --git a/packages/core/src/api/schema/shop-api/shop.api.graphql b/packages/core/src/api/schema/shop-api/shop.api.graphql index 433cd51ad4..eb7b75bfc7 100644 --- a/packages/core/src/api/schema/shop-api/shop.api.graphql +++ b/packages/core/src/api/schema/shop-api/shop.api.graphql @@ -43,19 +43,19 @@ type Query { type Mutation { "Adds an item to the order. If custom fields are defined on the OrderLine entity, a third argument 'customFields' will be available." - addItemToOrder(productVariantId: ID!, quantity: Int!): Order + addItemToOrder(productVariantId: ID!, quantity: Int!): UpdateOrderItemsResult! "Remove an OrderLine from the Order" - removeOrderLine(orderLineId: ID!): Order + removeOrderLine(orderLineId: ID!): RemoveOrderItemsResult! "Remove all OrderLine from the Order" - removeAllOrderLines: Order + removeAllOrderLines: RemoveOrderItemsResult! "Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a third argument 'customFields' of type `OrderLineCustomFieldsInput` will be available." - adjustOrderLine(orderLineId: ID!, quantity: Int): Order + adjustOrderLine(orderLineId: ID!, quantity: Int): UpdateOrderItemsResult! "Applies the given coupon code to the active Order" - applyCouponCode(couponCode: String!): Order + applyCouponCode(couponCode: String!): ApplyCouponCodeResult! "Removes the given coupon code from the active Order" removeCouponCode(couponCode: String!): Order "Transitions an Order to a new state. Valid next states can be found by querying `nextOrderStates`" - transitionOrderToState(state: String!): Order + transitionOrderToState(state: String!): TransitionOrderToStateResult "Sets the shipping address for this order" setOrderShippingAddress(input: CreateAddressInput!): Order "Sets the billing address for this order" @@ -63,19 +63,17 @@ type Mutation { "Allows any custom fields to be set for the active order" setOrderCustomFields(input: UpdateOrderInput!): Order "Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query" - setOrderShippingMethod(shippingMethodId: ID!): Order + setOrderShippingMethod(shippingMethodId: ID!): SetOrderShippingMethodResult! "Add a Payment to the Order" - addPaymentToOrder(input: PaymentInput!): Order + addPaymentToOrder(input: PaymentInput!): AddPaymentToOrderResult "Set the Customer for the Order. Required only if the Customer is not currently logged in" - setCustomerForOrder(input: CreateCustomerInput!): Order + setCustomerForOrder(input: CreateCustomerInput!): SetCustomerForOrderResult "Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})`" login(username: String!, password: String!, rememberMe: Boolean): LoginResult! "Authenticates the user using a named authentication strategy" authenticate(input: AuthenticationInput!, rememberMe: Boolean): LoginResult! "End the current authenticated session" logout: Boolean! - "Regenerate and send a verification token for a new Customer registration. Only applicable if `authOptions.requireVerification` is set to true." - refreshCustomerVerification(emailAddress: String!): Boolean! """ Register a Customer account with the given credentials. There are three possible registration flows: @@ -92,7 +90,9 @@ type Mutation { 3. The Customer _must_ be registered _with_ a password. No further action is needed - the Customer is able to authenticate immediately. """ - registerCustomerAccount(input: RegisterCustomerInput!): Boolean! + registerCustomerAccount(input: RegisterCustomerInput!): RegisterCustomerAccountResult! + "Regenerate and send a verification token for a new Customer registration. Only applicable if `authOptions.requireVerification` is set to true." + refreshCustomerVerification(emailAddress: String!): RefreshCustomerVerificationResult! "Update an existing Customer" updateCustomer(input: UpdateCustomerInput!): Customer! "Create a new Customer Address" @@ -100,32 +100,35 @@ type Mutation { "Update an existing Address" updateCustomerAddress(input: UpdateAddressInput!): Address! "Delete an existing Address" - deleteCustomerAddress(id: ID!): Boolean! + deleteCustomerAddress(id: ID!): Success! """ 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 a password _must_ be provided here. """ - verifyCustomerAccount(token: String!, password: String): LoginResult! + verifyCustomerAccount(token: String!, password: String): VerifyCustomerAccountResult! "Update the password of the active Customer" - updateCustomerPassword(currentPassword: String!, newPassword: String!): Boolean + updateCustomerPassword(currentPassword: String!, newPassword: String!): UpdateCustomerPasswordResult! """ 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(password: String!, newEmailAddress: String!): Boolean + requestUpdateCustomerEmailAddress( + password: String! + newEmailAddress: String! + ): RequestUpdateCustomerEmailAddressResult! """ Confirm the update of the emailAddress with the provided token, which has been generated by the `requestUpdateCustomerEmailAddress` mutation. """ - updateCustomerEmailAddress(token: String!): Boolean + updateCustomerEmailAddress(token: String!): UpdateCustomerEmailAddressResult! "Requests a password reset email to be sent" - requestPasswordReset(emailAddress: String!): Boolean + requestPasswordReset(emailAddress: String!): RequestPasswordResetResult "Resets a Customer's password based on the provided token" - resetPassword(token: String!, password: String!): LoginResult! + resetPassword(token: String!, password: String!): ResetPasswordResult! } # Populated at run-time @@ -174,3 +177,196 @@ input OrderListOptions # generated by generateListOptions function input ProductListOptions + +"Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state." +type OrderModificationError implements ErrorResult { + code: ErrorCode! + message: String! +} + +"Retured when the maximum order size limit has been reached." +type OrderLimitError implements ErrorResult { + code: ErrorCode! + message: String! + maxItems: Int! +} + +"Retured when attemting to set a negative OrderLine quantity." +type NegativeQuantityError implements ErrorResult { + code: ErrorCode! + message: String! +} + +"Returned when attempting to add a Payment to an Order that is not in the `ArrangingPayment` state." +type OrderPaymentStateError implements ErrorResult { + code: ErrorCode! + message: String! +} + +"Returned when a Payment fails due to an error." +type PaymentFailedError implements ErrorResult { + code: ErrorCode! + message: String! + paymentErrorMessage: String! +} + +"Returned when a Payment is declined by the payment provider." +type PaymentDeclinedError implements ErrorResult { + code: ErrorCode! + message: String! + paymentErrorMessage: String! +} + +"Returned if the provided coupon code is invalid" +type CouponCodeInvalidError implements ErrorResult { + code: ErrorCode! + message: String! + couponCode: String! +} + +"Returned if the provided coupon code is invalid" +type CouponCodeInvalidError implements ErrorResult { + code: ErrorCode! + message: String! + couponCode: String! +} + +"Returned if the provided coupon code is invalid" +type CouponCodeExpiredError implements ErrorResult { + code: ErrorCode! + message: String! + couponCode: String! +} + +"Returned if the provided coupon code is invalid" +type CouponCodeLimitError implements ErrorResult { + code: ErrorCode! + message: String! + couponCode: String! + limit: Int! +} + +"Retured when attemting to set the Customer for an Order when already logged in." +type AlreadyLoggedInError implements ErrorResult { + code: ErrorCode! + message: String! +} + +"Retured when attemting to create a Customer with an email address already registered to an existing User." +type EmailAddressConflictError implements ErrorResult { + code: ErrorCode! + message: String! +} + +"Retured when attemting to register or verify a customer account without a password, when one is required." +type MissingPasswordError implements ErrorResult { + code: ErrorCode! + message: String! +} + +"Retured when attemting to verify a customer account with a password, when a password has already been set." +type PasswordAlreadySetError implements ErrorResult { + code: ErrorCode! + message: String! +} + +"Retured when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured." +type NativeAuthStrategyError implements ErrorResult { + code: ErrorCode! + message: String! +} + +""" +Retured if the verification token (used to verify a Customer's email address) is either +invalid or does not match any expected tokens. +""" +type VerificationTokenInvalidError implements ErrorResult { + code: ErrorCode! + message: String! +} + +""" +Returned if the verification token (used to verify a Customer's email address) is valid, but has +expired according to the `verificationTokenDuration` setting in the AuthOptions. +""" +type VerificationTokenExpiredError implements ErrorResult { + code: ErrorCode! + message: String! +} + +""" +Retured if the token used to change a Customer's email address is either +invalid or does not match any expected tokens. +""" +type IdentifierChangeTokenInvalidError implements ErrorResult { + code: ErrorCode! + message: String! +} + +""" +Retured if the token used to change a Customer's email address is valid, but has +expired according to the `verificationTokenDuration` setting in the AuthOptions. +""" +type IdentifierChangeTokenExpiredError implements ErrorResult { + code: ErrorCode! + message: String! +} + +"Returned if the user credentials are not valid" +type InvalidCredentialsError implements ErrorResult { + code: ErrorCode! + message: String! +} + +""" +Retured if the token used to reset a Customer's password is either +invalid or does not match any expected tokens. +""" +type PasswordResetTokenInvalidError implements ErrorResult { + code: ErrorCode! + message: String! +} + +""" +Retured if the token used to reset a Customer's password is valid, but has +expired according to the `verificationTokenDuration` setting in the AuthOptions. +""" +type PasswordResetTokenExpiredError implements ErrorResult { + code: ErrorCode! + message: String! +} + +union UpdateOrderItemsResult = Order | OrderModificationError | OrderLimitError | NegativeQuantityError +union RemoveOrderItemsResult = Order | OrderModificationError +union SetOrderShippingMethodResult = Order | OrderModificationError +union ApplyCouponCodeResult = Order | CouponCodeExpiredError | CouponCodeInvalidError | CouponCodeLimitError +union AddPaymentToOrderResult = + Order + | OrderPaymentStateError + | PaymentFailedError + | PaymentDeclinedError + | OrderStateTransitionError +union TransitionOrderToStateResult = Order | OrderStateTransitionError +union SetCustomerForOrderResult = Order | AlreadyLoggedInError | EmailAddressConflictError +union RegisterCustomerAccountResult = Success | MissingPasswordError | NativeAuthStrategyError +union RefreshCustomerVerificationResult = Success | NativeAuthStrategyError +union VerifyCustomerAccountResult = + CurrentUser + | VerificationTokenInvalidError + | VerificationTokenExpiredError + | MissingPasswordError + | PasswordAlreadySetError + | NativeAuthStrategyError +union UpdateCustomerPasswordResult = Success | InvalidCredentialsError | NativeAuthStrategyError +union RequestUpdateCustomerEmailAddressResult = + Success + | InvalidCredentialsError + | EmailAddressConflictError + | NativeAuthStrategyError +union UpdateCustomerEmailAddressResult = + Success + | IdentifierChangeTokenInvalidError + | IdentifierChangeTokenExpiredError + | NativeAuthStrategyError +union RequestPasswordResetResult = Success | NativeAuthStrategyError +union ResetPasswordResult = CurrentUser | PasswordResetTokenInvalidError | PasswordResetTokenExpiredError | NativeAuthStrategyError diff --git a/packages/core/src/common/error/error-result.ts b/packages/core/src/common/error/error-result.ts new file mode 100644 index 0000000000..d392d5b2d8 --- /dev/null +++ b/packages/core/src/common/error/error-result.ts @@ -0,0 +1,56 @@ +import { ErrorResult as GraphQLErrorResultShop } from '@vendure/common/lib/generated-shop-types'; +import { ErrorResult as GraphQLErrorResultAdmin } from '@vendure/common/lib/generated-types'; + +import { VendureEntity } from '../../entity/base/base.entity'; + +export type GraphQLErrorResult = GraphQLErrorResultShop | GraphQLErrorResultAdmin; + +/** + * @description + * Takes an ErrorResult union type (i.e. a generated union type consisting of some query/mutation result + * plus one or more ErrorResult types) and returns a union of _just_ the ErrorResult types. + * + * @example + * ```TypeScript + * type UpdateOrderItemsResult = Order | OrderModificationError | OrderLimitError | NegativeQuantityError; + * + * type T1 = JustErrorResults; + * // T1 = OrderModificationError | OrderLimitError | NegativeQuantityError + * ``` + */ +export type JustErrorResults = Exclude< + T, + T extends GraphQLErrorResult ? never : T +>; + +/** + * @description + * Used to construct a TypeScript return type for a query or mutation which, in the GraphQL schema, + * returns a union type composed of a success result (e.g. Order) plus one or more ErrorResult + * types. + * + * Since the TypeScript entities do not correspond 1-to-1 with their GraphQL type counterparts, + * we use this type to substitute them. + * + * @example + * ```TypeScript + * type UpdateOrderItemsResult = Order | OrderModificationError | OrderLimitError | NegativeQuantityError; + * type T1 = ErrorResultUnion; + * // T1 = VendureEntityOrder | OrderModificationError | OrderLimitError | NegativeQuantityError; + */ +export type ErrorResultUnion = + | JustErrorResults + | E; + +/** + * @description + * Returns true if the ErrorResultUnion is actually an ErrorResult type. + */ +export function isGraphQlErrorResult( + input: T, +): input is JustErrorResults; +export function isGraphQlErrorResult( + input: ErrorResultUnion, +): input is JustErrorResults> { + return !!((input as any).code && (input as any).message != null) && (input as any).__typename; +} diff --git a/packages/core/src/common/error/errors.ts b/packages/core/src/common/error/errors.ts index 2d2cdb99cc..9d2e3fc13c 100644 --- a/packages/core/src/common/error/errors.ts +++ b/packages/core/src/common/error/errors.ts @@ -98,100 +98,6 @@ export class EntityNotFoundError extends I18nError { } } -/** - * @description - * This error should be thrown when the verification token (used to verify a Customer's email - * address) is either invalid or does not match any expected tokens. - * - * @docsCategory errors - * @docsPage Error Types - */ -export class VerificationTokenError extends I18nError { - constructor() { - super('error.verification-token-not-recognized', {}, 'BAD_VERIFICATION_TOKEN', LogLevel.Warn); - } -} - -/** - * @description - * This error should be thrown when the verification token (used to verify a Customer's email - * address) is valid, but has expired according to the `verificationTokenDuration` setting - * in {@link AuthOptions}. - * - * @docsCategory errors - * @docsPage Error Types - */ -export class VerificationTokenExpiredError extends I18nError { - constructor() { - super('error.verification-token-has-expired', {}, 'EXPIRED_VERIFICATION_TOKEN', LogLevel.Warn); - } -} - -/** - * @description - * This error should be thrown when an error occurs trying to reset a Customer's password. - * - * @docsCategory errors - * @docsPage Error Types - */ -export class PasswordResetTokenError extends I18nError { - constructor() { - super('error.password-reset-token-not-recognized', {}, 'BAD_PASSWORD_RESET_TOKEN', LogLevel.Warn); - } -} - -/** - * @description - * This error should be thrown when an error occurs trying to reset a Customer's password - * by reason of the token having expired. - * - * @docsCategory errors - * @docsPage Error Types - */ -export class PasswordResetTokenExpiredError extends I18nError { - constructor() { - super('error.password-reset-token-has-expired', {}, 'EXPIRED_PASSWORD_RESET_TOKEN', LogLevel.Warn); - } -} - -/** - * @description - * This error should be thrown when an error occurs when attempting to update a User's identifier - * (e.g. change email address). - * - * @docsCategory errors - * @docsPage Error Types - */ -export class IdentifierChangeTokenError extends I18nError { - constructor() { - super( - 'error.identifier-change-token-not-recognized', - {}, - 'EXPIRED_IDENTIFIER_CHANGE_TOKEN', - LogLevel.Warn, - ); - } -} - -/** - * @description - * This error should be thrown when an error occurs when attempting to update a User's identifier - * (e.g. change email address) by reason of the token having expired. - * - * @docsCategory errors - * @docsPage Error Types - */ -export class IdentifierChangeTokenExpiredError extends I18nError { - constructor() { - super( - 'error.identifier-change-token-has-expired', - {}, - 'EXPIRED_IDENTIFIER_CHANGE_TOKEN', - LogLevel.Warn, - ); - } -} - /** * @description * This error should be thrown when the `requireVerification` in {@link AuthOptions} is set to @@ -205,61 +111,3 @@ export class NotVerifiedError extends I18nError { super('error.email-address-not-verified', {}, 'NOT_VERIFIED', LogLevel.Warn); } } - -/** - * @description - * This error should be thrown when the number or OrderItems in an Order exceeds the limit - * specified by the `orderItemsLimit` setting in {@link OrderOptions}. - * - * @docsCategory errors - * @docsPage Error Types - */ -export class OrderItemsLimitError extends I18nError { - constructor(maxItems: number) { - super('error.order-items-limit-exceeded', { maxItems }, 'ORDER_ITEMS_LIMIT_EXCEEDED', LogLevel.Warn); - } -} - -/** - * @description - * This error is thrown when the coupon code is not associated with any active Promotion. - * - * @docsCategory errors - * @docsPage Error Types - */ -export class CouponCodeInvalidError extends I18nError { - constructor(couponCode: string) { - super('error.coupon-code-not-valid', { couponCode }, 'COUPON_CODE_INVALID', LogLevel.Verbose); - } -} - -/** - * @description - * This error is thrown when the coupon code is associated with a Promotion that has expired. - * - * @docsCategory errors - * @docsPage Error Types - */ -export class CouponCodeExpiredError extends I18nError { - constructor(couponCode: string) { - super('error.coupon-code-expired', { couponCode }, 'COUPON_CODE_EXPIRED', LogLevel.Verbose); - } -} - -/** - * @description - * This error is thrown when the coupon code is associated with a Promotion that has expired. - * - * @docsCategory errors - * @docsPage Error Types - */ -export class CouponCodeLimitError extends I18nError { - constructor(limit: number) { - super( - 'error.coupon-code-limit-has-been-reached', - { limit }, - 'COUPON_CODE_LIMIT_REACHED', - LogLevel.Verbose, - ); - } -} 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 71b42275af..bfb4050063 100644 --- a/packages/core/src/common/error/generated-graphql-admin-errors.ts +++ b/packages/core/src/common/error/generated-graphql-admin-errors.ts @@ -4,45 +4,62 @@ import { ErrorCode } from '@vendure/common/lib/generated-types'; export type Scalars = { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; - DateTime: any; - JSON: any; - Upload: any; + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + DateTime: any; + JSON: any; + Upload: any; }; export class ErrorResult { - readonly __typename: string; - readonly code: ErrorCode; - message: Scalars['String']; + readonly __typename: string; + readonly code: ErrorCode; + message: Scalars['String']; } export class MimeTypeError extends ErrorResult { - readonly __typename = 'MimeTypeError'; - readonly code = ErrorCode.MimeTypeError; - constructor( - public message: Scalars['String'], - public fileName: Scalars['String'], - public mimeType: Scalars['String'], - ) { - super(); - } + readonly __typename = 'MimeTypeError'; + readonly code = ErrorCode.MIME_TYPE_ERROR; + readonly message = 'MIME_TYPE_ERROR'; + constructor( + public fileName: Scalars['String'], + public mimeType: Scalars['String'], + ) { + super(); + } } -const errorTypeNames = new Set(['MimeTypeError']); -export function isGraphQLError( - input: any, -): input is import('@vendure/common/lib/generated-types').ErrorResult { - return input instanceof ErrorResult || errorTypeNames.has(input.__typename); +export class OrderStateTransitionError extends ErrorResult { + readonly __typename = 'OrderStateTransitionError'; + readonly code = ErrorCode.ORDER_STATE_TRANSITION_ERROR; + readonly message = 'ORDER_STATE_TRANSITION_ERROR'; + constructor( + public transitionError: Scalars['String'], + public fromState: Scalars['String'], + public toState: Scalars['String'], + ) { + super(); + } +} + + +const errorTypeNames = new Set(['MimeTypeError', 'OrderStateTransitionError']); +function isGraphQLError(input: any): input is import('@vendure/common/lib/generated-types').ErrorResult { + return input instanceof ErrorResult || errorTypeNames.has(input.__typename); } export const adminErrorOperationTypeResolvers = { - CreateAssetResult: { - __resolveType(value: any) { - return isGraphQLError(value) ? (value as any).__typename : 'Asset'; - }, + CreateAssetResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Asset'; }, -}; + }, + TransitionOrderToStateResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Order'; + }, + }, +}; \ No newline at end of file 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 e4b75462a0..96dfd936a5 100644 --- a/packages/core/src/common/error/generated-graphql-shop-errors.ts +++ b/packages/core/src/common/error/generated-graphql-shop-errors.ts @@ -1,17 +1,335 @@ // tslint:disable /** This file was generated by the graphql-errors-plugin, which is part of the "codegen" npm script. */ -import { ErrorCode } from '@vendure/common/lib/generated-types'; +import { ErrorCode } from '@vendure/common/lib/generated-shop-types'; export type Scalars = { - ID: string; - String: string; - Boolean: boolean; - Int: number; - Float: number; - DateTime: any; - JSON: any; - Upload: any; + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + DateTime: any; + JSON: any; + Upload: any; }; -export const shopErrorOperationTypeResolvers = {}; +export class ErrorResult { + readonly __typename: string; + readonly code: ErrorCode; + message: Scalars['String']; +} + +export class AlreadyLoggedInError extends ErrorResult { + readonly __typename = 'AlreadyLoggedInError'; + readonly code = ErrorCode.ALREADY_LOGGED_IN_ERROR; + readonly message = 'ALREADY_LOGGED_IN_ERROR'; + constructor( + ) { + super(); + } +} + +export class CouponCodeExpiredError extends ErrorResult { + readonly __typename = 'CouponCodeExpiredError'; + readonly code = ErrorCode.COUPON_CODE_EXPIRED_ERROR; + readonly message = 'COUPON_CODE_EXPIRED_ERROR'; + constructor( + public couponCode: Scalars['String'], + ) { + super(); + } +} + +export class CouponCodeInvalidError extends ErrorResult { + readonly __typename = 'CouponCodeInvalidError'; + readonly code = ErrorCode.COUPON_CODE_INVALID_ERROR; + readonly message = 'COUPON_CODE_INVALID_ERROR'; + constructor( + public couponCode: Scalars['String'], + ) { + super(); + } +} + +export class CouponCodeLimitError extends ErrorResult { + readonly __typename = 'CouponCodeLimitError'; + readonly code = ErrorCode.COUPON_CODE_LIMIT_ERROR; + readonly message = 'COUPON_CODE_LIMIT_ERROR'; + constructor( + public couponCode: Scalars['String'], + public limit: Scalars['Int'], + ) { + super(); + } +} + +export class EmailAddressConflictError extends ErrorResult { + readonly __typename = 'EmailAddressConflictError'; + readonly code = ErrorCode.EMAIL_ADDRESS_CONFLICT_ERROR; + readonly message = 'EMAIL_ADDRESS_CONFLICT_ERROR'; + constructor( + ) { + super(); + } +} + +export class IdentifierChangeTokenExpiredError extends ErrorResult { + readonly __typename = 'IdentifierChangeTokenExpiredError'; + readonly code = ErrorCode.IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR; + readonly message = 'IDENTIFIER_CHANGE_TOKEN_EXPIRED_ERROR'; + constructor( + ) { + super(); + } +} + +export class IdentifierChangeTokenInvalidError extends ErrorResult { + readonly __typename = 'IdentifierChangeTokenInvalidError'; + readonly code = ErrorCode.IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR; + readonly message = 'IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR'; + constructor( + ) { + super(); + } +} + +export class InvalidCredentialsError extends ErrorResult { + readonly __typename = 'InvalidCredentialsError'; + readonly code = ErrorCode.INVALID_CREDENTIALS_ERROR; + readonly message = 'INVALID_CREDENTIALS_ERROR'; + constructor( + ) { + super(); + } +} + +export class MissingPasswordError extends ErrorResult { + readonly __typename = 'MissingPasswordError'; + readonly code = ErrorCode.MISSING_PASSWORD_ERROR; + readonly message = 'MISSING_PASSWORD_ERROR'; + constructor( + ) { + super(); + } +} + +export class NativeAuthStrategyError extends ErrorResult { + readonly __typename = 'NativeAuthStrategyError'; + readonly code = ErrorCode.NATIVE_AUTH_STRATEGY_ERROR; + readonly message = 'NATIVE_AUTH_STRATEGY_ERROR'; + constructor( + ) { + super(); + } +} + +export class NegativeQuantityError extends ErrorResult { + readonly __typename = 'NegativeQuantityError'; + readonly code = ErrorCode.NEGATIVE_QUANTITY_ERROR; + readonly message = 'NEGATIVE_QUANTITY_ERROR'; + constructor( + ) { + super(); + } +} + +export class OrderLimitError extends ErrorResult { + readonly __typename = 'OrderLimitError'; + readonly code = ErrorCode.ORDER_LIMIT_ERROR; + readonly message = 'ORDER_LIMIT_ERROR'; + constructor( + public maxItems: Scalars['Int'], + ) { + super(); + } +} + +export class OrderModificationError extends ErrorResult { + readonly __typename = 'OrderModificationError'; + readonly code = ErrorCode.ORDER_MODIFICATION_ERROR; + readonly message = 'ORDER_MODIFICATION_ERROR'; + constructor( + ) { + super(); + } +} + +export class OrderPaymentStateError extends ErrorResult { + readonly __typename = 'OrderPaymentStateError'; + readonly code = ErrorCode.ORDER_PAYMENT_STATE_ERROR; + readonly message = 'ORDER_PAYMENT_STATE_ERROR'; + constructor( + ) { + super(); + } +} + +export class OrderStateTransitionError extends ErrorResult { + readonly __typename = 'OrderStateTransitionError'; + readonly code = ErrorCode.ORDER_STATE_TRANSITION_ERROR; + readonly message = 'ORDER_STATE_TRANSITION_ERROR'; + constructor( + public transitionError: Scalars['String'], + public fromState: Scalars['String'], + public toState: Scalars['String'], + ) { + super(); + } +} + +export class PasswordAlreadySetError extends ErrorResult { + readonly __typename = 'PasswordAlreadySetError'; + readonly code = ErrorCode.PASSWORD_ALREADY_SET_ERROR; + readonly message = 'PASSWORD_ALREADY_SET_ERROR'; + constructor( + ) { + super(); + } +} + +export class PasswordResetTokenExpiredError extends ErrorResult { + readonly __typename = 'PasswordResetTokenExpiredError'; + readonly code = ErrorCode.PASSWORD_RESET_TOKEN_EXPIRED_ERROR; + readonly message = 'PASSWORD_RESET_TOKEN_EXPIRED_ERROR'; + constructor( + ) { + super(); + } +} + +export class PasswordResetTokenInvalidError extends ErrorResult { + readonly __typename = 'PasswordResetTokenInvalidError'; + readonly code = ErrorCode.PASSWORD_RESET_TOKEN_INVALID_ERROR; + readonly message = 'PASSWORD_RESET_TOKEN_INVALID_ERROR'; + constructor( + ) { + super(); + } +} + +export class PaymentDeclinedError extends ErrorResult { + readonly __typename = 'PaymentDeclinedError'; + readonly code = ErrorCode.PAYMENT_DECLINED_ERROR; + readonly message = 'PAYMENT_DECLINED_ERROR'; + constructor( + public paymentErrorMessage: Scalars['String'], + ) { + super(); + } +} + +export class PaymentFailedError extends ErrorResult { + readonly __typename = 'PaymentFailedError'; + readonly code = ErrorCode.PAYMENT_FAILED_ERROR; + readonly message = 'PAYMENT_FAILED_ERROR'; + constructor( + public paymentErrorMessage: Scalars['String'], + ) { + super(); + } +} + +export class VerificationTokenExpiredError extends ErrorResult { + readonly __typename = 'VerificationTokenExpiredError'; + readonly code = ErrorCode.VERIFICATION_TOKEN_EXPIRED_ERROR; + readonly message = 'VERIFICATION_TOKEN_EXPIRED_ERROR'; + constructor( + ) { + super(); + } +} + +export class VerificationTokenInvalidError extends ErrorResult { + readonly __typename = 'VerificationTokenInvalidError'; + readonly code = ErrorCode.VERIFICATION_TOKEN_INVALID_ERROR; + readonly message = 'VERIFICATION_TOKEN_INVALID_ERROR'; + constructor( + ) { + super(); + } +} + + +const errorTypeNames = new Set(['OrderModificationError', 'OrderLimitError', 'NegativeQuantityError', 'CouponCodeExpiredError', 'CouponCodeInvalidError', 'CouponCodeLimitError', 'OrderStateTransitionError', 'OrderPaymentStateError', 'PaymentFailedError', 'PaymentDeclinedError', 'AlreadyLoggedInError', 'EmailAddressConflictError', 'MissingPasswordError', 'NativeAuthStrategyError', 'VerificationTokenInvalidError', 'VerificationTokenExpiredError', 'PasswordAlreadySetError', 'InvalidCredentialsError', 'IdentifierChangeTokenInvalidError', 'IdentifierChangeTokenExpiredError', 'PasswordResetTokenInvalidError', 'PasswordResetTokenExpiredError']); +function isGraphQLError(input: any): input is import('@vendure/common/lib/generated-types').ErrorResult { + return input instanceof ErrorResult || errorTypeNames.has(input.__typename); +} + +export const shopErrorOperationTypeResolvers = { + UpdateOrderItemsResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Order'; + }, + }, + RemoveOrderItemsResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Order'; + }, + }, + ApplyCouponCodeResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Order'; + }, + }, + TransitionOrderToStateResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Order'; + }, + }, + SetOrderShippingMethodResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Order'; + }, + }, + AddPaymentToOrderResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Order'; + }, + }, + SetCustomerForOrderResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Order'; + }, + }, + RegisterCustomerAccountResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Success'; + }, + }, + RefreshCustomerVerificationResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Success'; + }, + }, + VerifyCustomerAccountResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'CurrentUser'; + }, + }, + UpdateCustomerPasswordResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Success'; + }, + }, + RequestUpdateCustomerEmailAddressResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Success'; + }, + }, + UpdateCustomerEmailAddressResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Success'; + }, + }, + RequestPasswordResetResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'Success'; + }, + }, + ResetPasswordResult: { + __resolveType(value: any) { + return isGraphQLError(value) ? (value as any).__typename : 'CurrentUser'; + }, + }, +}; \ No newline at end of file diff --git a/packages/core/src/common/types/common-types.ts b/packages/core/src/common/types/common-types.ts index 090248f75b..d813350cfe 100644 --- a/packages/core/src/common/types/common-types.ts +++ b/packages/core/src/common/types/common-types.ts @@ -51,7 +51,7 @@ export interface ListQueryOptions { * nullable fields have the type `field?: | null`. */ export type NullOptionals = { - [K in keyof T]: undefined extends T[K] ? NullOptionals | null : NullOptionals + [K in keyof T]: undefined extends T[K] ? NullOptionals | null : NullOptionals; }; export type SortOrder = 'ASC' | 'DESC'; diff --git a/packages/core/src/common/utils.ts b/packages/core/src/common/utils.ts index 84a0ae34b5..28546ef85d 100644 --- a/packages/core/src/common/utils.ts +++ b/packages/core/src/common/utils.ts @@ -14,7 +14,7 @@ export function not(predicate: (...args: any[]) => boolean) { * as determined by a === equality check on the given compareBy property. */ export function foundIn(set: T[], compareBy: keyof T) { - return (item: T) => set.some((t) => t[compareBy] === item[compareBy]); + return (item: T) => set.some(t => t[compareBy] === item[compareBy]); } /** diff --git a/packages/core/src/config/payment-method/payment-method-handler.ts b/packages/core/src/config/payment-method/payment-method-handler.ts index d6985f4e02..2ef00db3b8 100644 --- a/packages/core/src/config/payment-method/payment-method-handler.ts +++ b/packages/core/src/config/payment-method/payment-method-handler.ts @@ -29,8 +29,24 @@ export type OnPaymentTransitionStartReturnType = ReturnType< export interface CreatePaymentResult { amount: number; state: Exclude; + /** + * @description + * The unique payment reference code typically assigned by + * the payment provider. + */ transactionId?: string; + /** + * @description + * If the payment is declined or fails for ome other reason, pass the + * relevant error message here, and it gets returned with the + * ErrorResponse of the `addPaymentToOrder` mutation. + */ errorMessage?: string; + /** + * @description + * This field can be used to store other relevant data which is often + * provided by the payment provider. + */ metadata?: PaymentMetadata; } diff --git a/packages/core/src/i18n/i18n.service.ts b/packages/core/src/i18n/i18n.service.ts index 9654efcae6..d2257517f8 100644 --- a/packages/core/src/i18n/i18n.service.ts +++ b/packages/core/src/i18n/i18n.service.ts @@ -7,6 +7,7 @@ import ICU from 'i18next-icu'; import Backend from 'i18next-node-fs-backend'; import path from 'path'; +import { GraphQLErrorResult } from '../common/error/error-result'; import { ConfigService } from '../config/config.service'; import { I18nError } from './i18n-error'; @@ -69,4 +70,19 @@ export class I18nService implements OnModuleInit { return error; } + + /** + * Translates the message of an ErrorResult + */ + translateErrorResult(req: I18nRequest, error: GraphQLErrorResult) { + const t: TFunction = req.t; + let translation: string = error.message; + const key = `errorResult.${error.message}`; + try { + translation = t(key, error as any); + } catch (e) { + translation += ` (Translation format error: ${e.message})`; + } + error.message = translation; + } } diff --git a/packages/core/src/i18n/messages/en.json b/packages/core/src/i18n/messages/en.json index 91cedab3bb..49fb709bac 100644 --- a/packages/core/src/i18n/messages/en.json +++ b/packages/core/src/i18n/messages/en.json @@ -10,34 +10,19 @@ "cannot-move-collection-into-self": "Cannot move a Collection into itself", "cannot-remove-option-group-due-to-variants": "Cannot remove ProductOptionGroup \"{ code }\" as it is used by {count, plural, one {1 ProductVariant} other {# ProductVariants}}", "cannot-remove-tax-category-due-to-tax-rates": "Cannot remove TaxCategory \"{ name }\" as it is referenced by {count, plural, one {1 TaxRate} other {# TaxRates}}", - "cannot-set-customer-for-order-when-logged-in": "Cannot set a Customer for the Order when already logged in", "cannot-set-default-language-as-unavailable": "Cannot remove make language \"{ language }\" unavailable as it is used as the defaultLanguage by the channel \"{channelCode}\"", - "cannot-transition-order-from-to": "Cannot transition Order from \"{ fromState }\" to \"{ toState }\"", "cannot-transition-payment-from-to": "Cannot transition Payment from \"{ fromState }\" to \"{ toState }\"", "cannot-transition-refund-from-to": "Cannot transition Refund from \"{ fromState }\" to \"{ toState }\"", "cannot-transition-fulfillment-from-to": "Cannot transition Fulfillment from \"{ fromState }\" to \"{ toState }\"", - "cannot-transition-to-shipping-when-order-is-empty": "Cannot transition Order to the \"ArrangingShipping\" state when it is empty", - "cannot-transition-to-payment-without-customer": "Cannot transition Order to the \"ArrangingPayment\" state without Customer details", - "cannot-transition-unless-all-cancelled": "Cannot transition Order to the \"Cancelled\" state unless all OrderItems are cancelled", - "cannot-transition-unless-all-order-items-delivered": "Cannot transition Order to the \"Delivered\" state unless all OrderItems are delivered", - "cannot-transition-unless-some-order-items-delivered": "Cannot transition Order to the \"PartiallyDelivered\" state unless some OrderItems are delivered", - "cannot-transition-unless-some-order-items-shipped": "Cannot transition Order to the \"PartiallyShipped\" state unless some OrderItems are shipped", - "cannot-transition-unless-all-order-items-shipped": "Cannot transition Order to the \"Shipped\" state unless all OrderItems are shipped", - "cannot-transition-without-authorized-payments": "Cannot transition Order to the \"PaymentAuthorized\" state when the total is not covered by authorized Payments", - "cannot-transition-without-settled-payments": "Cannot transition Order to the \"PaymentSettled\" state when the total is not covered by settled Payments", - "cannot-use-registered-email-address-for-guest-order": "Cannot use a registered email address for a guest order. Please log in first", - "channel-not-found": "No channel with the token \"{ token }\" exists", + "channel-not-found": "No channel with the token \"{ token }\" exists", "collection-id-or-slug-must-be-provided": "Either the Collection id or slug must be provided", "collection-id-slug-mismatch": "The provided id and slug refer to different Collections", - "country-code-not-valid": "The countryCode \"{ countryCode }\" was not recognized", - "coupon-code-expired": "Coupon code \"{ couponCode }\" has expired", - "coupon-code-limit-has-been-reached": "Coupon code cannot be used more than {limit, plural, one {once} other {# times}} per customer", - "coupon-code-not-valid": "Coupon code \"{ couponCode }\" is not valid", + "country-code-not-valid": "The countryCode \"{ countryCode }\" was not recognized", "create-fulfillment-items-already-fulfilled": "One or more OrderItems have already been fulfilled", "create-fulfillment-orders-must-be-settled": "One or more OrderItems belong to an Order which is in an invalid state", "create-fulfillment-nothing-to-fulfill": "Nothing to fulfill", "customer-does-not-belong-to-customer-group": "Customer does not belong to this CustomerGroup", - "default-channel-not-found": "Default channel not found", + "default-channel-not-found": "Default channel not found", "email-address-must-be-unique": "The email address must be unique", "email-address-not-available": "This email address is not available", "email-address-not-verified": "Please verify this email address before logging in", @@ -52,25 +37,19 @@ "field-invalid-string-option": "The custom field '{ name }' value ['{ value }'] is invalid. Valid options are [{ validOptions }]", "field-invalid-string-pattern": "The custom field '{ name }' value ['{ value }'] does not match the pattern [{ pattern }]", "forbidden": "You are not currently authorized to perform this action", - "identifier-change-token-not-recognized": "Identifier change token not recognized", "identifier-change-token-has-expired": "Identifier change token has expired", "invalid-sort-field": "The sort field '{ fieldName }' is invalid. Valid fields are: { validFields }", "language-not-available-in-global-settings": "Language \"{code}\" is not available. First enable it via GlobalSettings and try again.", - "mime-type-not-permitted": "The MIME type '{ mimetype }' is not permitted.", - "missing-password-on-registration": "A password must be provided when `authOptions.requireVerification` is set to \"false\"", "no-active-tax-zone": "The active tax zone could not be determined. Ensure a default tax zone is set for the current channel.", "no-search-plugin-configured": "No search plugin has been configured", "no-valid-channel-specified": "No valid channel was specified (ensure the 'vendure-token' header was specified in the request)", - "order-contents-may-only-be-modified-in-addingitems-state": "Order contents may only be modified when in the \"AddingItems\" state", "order-does-not-contain-line-with-id": "This order does not contain an OrderLine with the id { id }", - "order-item-quantity-must-be-positive": "{ quantity } is not a valid quantity for an OrderItem", - "order-items-limit-exceeded": "Cannot add items. An order may consist of a maximum of { maxItems } items", "order-lines-must-belong-to-same-order": "OrderLines must all belong to a single Order", - "payment-may-only-be-added-in-arrangingpayment-state": "A Payment may only be added when Order is in \"ArrangingPayment\" state", "password-already-set-during-registration": "A password has already been set during registration", "password-reset-token-has-expired": "Password reset token has expired.", "password-reset-token-not-recognized": "Password reset token not recognized", "password-required-for-verification": "A password must be provided as it was not set during registration", + "pending-identifier-missing": "Could not find the pending email address to update", "permission-invalid": "The permission \"{ permission }\" is not valid", "products-cannot-be-removed-from-default-channel": "Products cannot be removed from the default Channel", "product-id-or-slug-must-be-provided": "Either the Product id or slug must be provided", @@ -88,8 +67,41 @@ "verification-token-not-recognized": "Verification token not recognized", "unauthorized": "The credentials did not match. Please check and try again" }, + "errorResult": { + "ALREADY_LOGGED_IN_ERROR": "Cannot set a Customer for the Order when already logged in", + "COUPON_CODE_EXPIRED_ERROR": "Coupon code \"{ couponCode }\" has expired", + "COUPON_CODE_INVALID_ERROR": "Coupon code \"{ couponCode }\" is not valid", + "COUPON_CODE_LIMIT_ERROR": "Coupon code cannot be used more than {limit, plural, one {once} other {# times}} per customer", + "EMAIL_ADDRESS_CONFLICT_ERROR": "The email address is not available.", + "IDENTIFIER_CHANGE_TOKEN_INVALID_ERROR": "Identifier change token not recognized", + "INVALID_CREDENTIALS_ERROR": "The provided credentials are invalid", + "MIME_TYPE_ERROR": "The MIME type '{ mimeType }' is not permitted.", + "MISSING_PASSWORD_ERROR": "A password must be provided.", + "NEGATIVE_QUANTITY_ERROR": "The quantity for an OrderItem cannot be negative", + "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", + "ORDER_STATE_TRANSITION_ERROR": "Cannot transition Order from \"{ fromState }\" to \"{ toState }\"", + "PASSWORD_ALREADY_SET_ERROR": "A password has already been set during registration", + "PASSWORD_RESET_TOKEN_EXPIRED_ERROR": "Password reset token has expired", + "PASSWORD_RESET_TOKEN_INVALID_ERROR": "Password reset token not recognized", + "PAYMENT_DECLINED_ERROR": "The payment was declined", + "PAYMENT_FAILED_ERROR": "The payment failed", + "VERIFICATION_TOKEN_EXPIRED_ERROR": "Verification token has expired. Use refreshCustomerVerification to send a new token.", + "VERIFICATION_TOKEN_INVALID_ERROR": "Verification token not recognized" + }, "message": { "asset-to-be-deleted-is-featured": "The selected {assetCount, plural, one {Asset is} other {Assets are}} featured by {products, plural, =0 {} one {1 Product} other {# Products}} {variants, plural, =0 {} one { 1 ProductVariant} other { # ProductVariants}} {collections, plural, =0 {} one { 1 Collection} other { # Collections}}", + "cannot-transition-order-from-to": "Cannot transition Order from \"{ fromState }\" to \"{ toState }\"", + "cannot-transition-to-shipping-when-order-is-empty": "Cannot transition Order to the \"ArrangingShipping\" state when it is empty", + "cannot-transition-to-payment-without-customer": "Cannot transition Order to the \"ArrangingPayment\" state without Customer details", + "cannot-transition-unless-all-cancelled": "Cannot transition Order to the \"Cancelled\" state unless all OrderItems are cancelled", + "cannot-transition-unless-all-order-items-delivered": "Cannot transition Order to the \"Delivered\" state unless all OrderItems are delivered", + "cannot-transition-unless-some-order-items-delivered": "Cannot transition Order to the \"PartiallyDelivered\" state unless some OrderItems are delivered", + "cannot-transition-unless-some-order-items-shipped": "Cannot transition Order to the \"PartiallyShipped\" state unless some OrderItems are shipped", + "cannot-transition-unless-all-order-items-shipped": "Cannot transition Order to the \"Shipped\" state unless all OrderItems are shipped", + "cannot-transition-without-authorized-payments": "Cannot transition Order to the \"PaymentAuthorized\" state when the total is not covered by authorized Payments", + "cannot-transition-without-settled-payments": "Cannot transition Order to the \"PaymentSettled\" state when the total is not covered by settled Payments", "country-used-in-addresses": "The selected Country cannot be deleted as it is used in {count, plural, one {1 Address} other {# Addresses}}", "facet-force-deleted": "The Facet was deleted and its FacetValues were removed from {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both { , } single {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}", "facet-used": "The selected Facet includes FacetValues which are assigned to {products, plural, =0 {} one {1 Product} other {# Products}}{both, select, both { , } single {}}{variants, plural, =0 {} one {1 ProductVariant} other {# ProductVariants}}", diff --git a/packages/core/src/i18n/messages/es.json b/packages/core/src/i18n/messages/es.json index 7a53b0e6a3..14f79aa7ec 100644 --- a/packages/core/src/i18n/messages/es.json +++ b/packages/core/src/i18n/messages/es.json @@ -17,7 +17,7 @@ "no-valid-channel-specified": "No se ha especificado ningún canal válido (asegúrate de que el encabezado 'vendure-token' sea especificado en el requisito)", "order-contents-may-only-be-modified-in-addingitems-state": "Los contenidos de un pedido solo pueden ser modificados durante el \"AddingItems\" estado ", "order-does-not-contain-line-with-id": "Este pedido no contiene una línea de pedido con el id { id }", - "order-item-quantity-must-be-positive": "{ quantity } no es una cantidad válida para una linea de pedido", + "order-item-quantity-must-be-positive": "no es una cantidad válida para una linea de pedido", "order-items-limit-exceeded": "No es posible añadir artículos, Un pedido puede consistir de un máximo de { maxItems } artículos ", "payment-may-only-be-added-in-arrangingpayment-state": "Un pago sólo puede ser añadido cuando el pedido se encuentra en el estado de \"ArrangingPayment\"", "password-reset-token-has-expired": "Este token de restablecimiento de contraseña ha expirado.", diff --git a/packages/core/src/i18n/messages/pt_BR.json b/packages/core/src/i18n/messages/pt_BR.json index 3c217fd782..4c970ebc0d 100644 --- a/packages/core/src/i18n/messages/pt_BR.json +++ b/packages/core/src/i18n/messages/pt_BR.json @@ -61,7 +61,7 @@ "no-valid-channel-specified": "Nenhum canal válido foi especificado (verifique se o cabeçalho 'token' foi especificado na solicitação)", "order-contents-may-only-be-modified-in-addingitems-state": "O conteúdo do pedido pode ser modificado apenas no estado \"AddingItems\"", "order-does-not-contain-line-with-id": "Este pedido não contém um OrderLine com o ID { id }", - "order-item-quantity-must-be-positive": "{ quantity } não é uma quantidade válida para um OrderItem", + "order-item-quantity-must-be-positive": "não é uma quantidade válida para um OrderItem", "order-items-limit-exceeded": "Não é possível adicionar itens. Um pedido pode consistir em no máximo { maxItems } itens", "order-lines-must-belong-to-same-order": "Todos os OrderLines devem pertencer a um único pedido", "payment-may-only-be-added-in-arrangingpayment-state": "Um pagamento pode ser adicionado apenas quando o pedido estiver no estado \"ArrangingPayment\"", diff --git a/packages/core/src/service/helpers/order-state-machine/order-state-machine.ts b/packages/core/src/service/helpers/order-state-machine/order-state-machine.ts index 72ddf8fb08..b47f367ce7 100644 --- a/packages/core/src/service/helpers/order-state-machine/order-state-machine.ts +++ b/packages/core/src/service/helpers/order-state-machine/order-state-machine.ts @@ -72,45 +72,45 @@ export class OrderStateMachine { private async onTransitionStart(fromState: OrderState, toState: OrderState, data: OrderTransitionData) { if (toState === 'ArrangingPayment') { if (data.order.lines.length === 0) { - return `error.cannot-transition-to-payment-when-order-is-empty`; + return `message.cannot-transition-to-payment-when-order-is-empty`; } if (!data.order.customer) { - return `error.cannot-transition-to-payment-without-customer`; + return `message.cannot-transition-to-payment-without-customer`; } } if (toState === 'PaymentAuthorized' && !orderTotalIsCovered(data.order, 'Authorized')) { - return `error.cannot-transition-without-authorized-payments`; + return `message.cannot-transition-without-authorized-payments`; } if (toState === 'PaymentSettled' && !orderTotalIsCovered(data.order, 'Settled')) { - return `error.cannot-transition-without-settled-payments`; + return `message.cannot-transition-without-settled-payments`; } if (toState === 'Cancelled' && fromState !== 'AddingItems' && fromState !== 'ArrangingPayment') { if (!orderItemsAreAllCancelled(data.order)) { - return `error.cannot-transition-unless-all-cancelled`; + return `message.cannot-transition-unless-all-cancelled`; } } if (toState === 'PartiallyShipped') { const orderWithFulfillments = await this.findOrderWithFulfillments(data.ctx, data.order.id); if (!orderItemsArePartiallyShipped(orderWithFulfillments)) { - return `error.cannot-transition-unless-some-order-items-shipped`; + return `message.cannot-transition-unless-some-order-items-shipped`; } } if (toState === 'Shipped') { const orderWithFulfillments = await this.findOrderWithFulfillments(data.ctx, data.order.id); if (!orderItemsAreShipped(orderWithFulfillments)) { - return `error.cannot-transition-unless-all-order-items-shipped`; + return `message.cannot-transition-unless-all-order-items-shipped`; } } if (toState === 'PartiallyDelivered') { const orderWithFulfillments = await this.findOrderWithFulfillments(data.ctx, data.order.id); if (!orderItemsArePartiallyDelivered(orderWithFulfillments)) { - return `error.cannot-transition-unless-some-order-items-delivered`; + return `message.cannot-transition-unless-some-order-items-delivered`; } } if (toState === 'Delivered') { const orderWithFulfillments = await this.findOrderWithFulfillments(data.ctx, data.order.id); if (!orderItemsAreDelivered(orderWithFulfillments)) { - return `error.cannot-transition-unless-all-order-items-delivered`; + return `message.cannot-transition-unless-all-order-items-delivered`; } } } @@ -181,7 +181,7 @@ export class OrderStateMachine { ); } } - throw new IllegalOperationError(message || 'error.cannot-transition-order-from-to', { + throw new IllegalOperationError(message || 'message.cannot-transition-order-from-to', { fromState, toState, }); diff --git a/packages/core/src/service/services/asset.service.ts b/packages/core/src/service/services/asset.service.ts index 395ea69d2f..6bb6ac46d7 100644 --- a/packages/core/src/service/services/asset.service.ts +++ b/packages/core/src/service/services/asset.service.ts @@ -5,7 +5,6 @@ import { CreateAssetResult, DeletionResponse, DeletionResult, - ErrorResult, UpdateAssetInput, } from '@vendure/common/lib/generated-types'; import { ID, PaginatedList, Type } from '@vendure/common/lib/shared-types'; @@ -16,8 +15,9 @@ import path from 'path'; import { Stream } from 'stream'; import { RequestContext } from '../../api/common/request-context'; -import { InternalServerError, UserInputError } from '../../common/error/errors'; -import { isGraphQLError, MimeTypeError } from '../../common/error/generated-graphql-admin-errors'; +import { isGraphQlErrorResult } from '../../common/error/error-result'; +import { InternalServerError } from '../../common/error/errors'; +import { MimeTypeError } from '../../common/error/generated-graphql-admin-errors'; import { ListQueryOptions } from '../../common/types/common-types'; import { getAssetType, idsAreEqual } from '../../common/utils'; import { ConfigService } from '../../config/config.service'; @@ -152,27 +152,18 @@ export class AssetService { return entity; } - async validateInputMimeTypes(inputs: CreateAssetInput[]): Promise { - for (const input of inputs) { - const { mimetype } = await input.file; - if (!this.validateMimeType(mimetype)) { - throw new UserInputError('error.mime-type-not-permitted', { mimetype }); - } - } - } - /** * Create an Asset based on a file uploaded via the GraphQL API. */ async create(ctx: RequestContext, input: CreateAssetInput): Promise { const { createReadStream, filename, mimetype } = await input.file; const stream = createReadStream(); - const asset = await this.createAssetInternal(ctx, stream, filename, mimetype); - if (isGraphQLError(asset)) { - return asset; + const result = await this.createAssetInternal(ctx, stream, filename, mimetype); + if (isGraphQlErrorResult(result)) { + return result; } - this.eventBus.publish(new AssetEvent(ctx, asset, 'created')); - return asset; + this.eventBus.publish(new AssetEvent(ctx, result, 'created')); + return result; } async update(ctx: RequestContext, input: UpdateAssetInput): Promise { @@ -253,7 +244,7 @@ export class AssetService { ): Promise { const { assetOptions } = this.configService; if (!this.validateMimeType(mimetype)) { - return new MimeTypeError('error.mime-type-not-permitted', filename, mimetype); + return new MimeTypeError(filename, mimetype); } const { assetPreviewStrategy, assetStorageStrategy } = assetOptions; const sourceFileName = await this.getSourceFileName(filename); diff --git a/packages/core/src/service/services/auth.service.ts b/packages/core/src/service/services/auth.service.ts index c576080fe8..4247111124 100644 --- a/packages/core/src/service/services/auth.service.ts +++ b/packages/core/src/service/services/auth.service.ts @@ -4,6 +4,7 @@ import { ID } from '@vendure/common/lib/shared-types'; import { ApiType } from '../../api/common/get-api-type'; import { RequestContext } from '../../api/common/request-context'; import { InternalServerError, NotVerifiedError, UnauthorizedError } from '../../common/error/errors'; +import { InvalidCredentialsError } from '../../common/error/generated-graphql-shop-errors'; import { AuthenticationStrategy } from '../../config/auth/authentication-strategy'; import { NATIVE_AUTH_STRATEGY_NAME, @@ -95,14 +96,18 @@ export class AuthService { /** * Verify the provided password against the one we have for the given user. */ - async verifyUserPassword(ctx: RequestContext, userId: ID, password: string): Promise { + async verifyUserPassword( + ctx: RequestContext, + userId: ID, + password: string, + ): Promise { const nativeAuthenticationStrategy = this.getAuthenticationStrategy( 'shop', NATIVE_AUTH_STRATEGY_NAME, ); const passwordMatches = await nativeAuthenticationStrategy.verifyUserPassword(ctx, userId, password); if (!passwordMatches) { - throw new UnauthorizedError(); + return new InvalidCredentialsError(); } return true; } diff --git a/packages/core/src/service/services/customer.service.ts b/packages/core/src/service/services/customer.service.ts index c9beed92f1..45a2fbd90f 100644 --- a/packages/core/src/service/services/customer.service.ts +++ b/packages/core/src/service/services/customer.service.ts @@ -1,5 +1,9 @@ import { Injectable } from '@nestjs/common'; -import { RegisterCustomerInput } from '@vendure/common/lib/generated-shop-types'; +import { + RegisterCustomerAccountResult, + RegisterCustomerInput, + VerifyCustomerAccountResult, +} from '@vendure/common/lib/generated-shop-types'; import { AddNoteToCustomerInput, CreateAddressInput, @@ -14,12 +18,22 @@ import { import { ID, PaginatedList } from '@vendure/common/lib/shared-types'; import { RequestContext } from '../../api/common/request-context'; +import { ErrorResultUnion, isGraphQlErrorResult } from '../../common/error/error-result'; import { EntityNotFoundError, IllegalOperationError, InternalServerError, UserInputError, } from '../../common/error/errors'; +import { + EmailAddressConflictError, + IdentifierChangeTokenExpiredError, + IdentifierChangeTokenInvalidError, + MissingPasswordError, + PasswordResetTokenExpiredError, + PasswordResetTokenInvalidError, + VerificationTokenInvalidError, +} from '../../common/error/generated-graphql-shop-errors'; import { ListQueryOptions } from '../../common/types/common-types'; import { assertFound, idsAreEqual, normalizeEmailAddress } from '../../common/utils'; import { NATIVE_AUTH_STRATEGY_NAME } from '../../config/auth/native-authentication-strategy'; @@ -176,7 +190,12 @@ export class CustomerService { if (password && password !== '') { const verificationToken = customer.user.getNativeAuthenticationMethod().verificationToken; if (verificationToken) { - customer.user = await this.userService.verifyUserByToken(ctx, verificationToken); + const result = await this.userService.verifyUserByToken(ctx, verificationToken); + if (isGraphQlErrorResult(result)) { + // TODO: what to do with an error result here? + } else { + customer.user = result; + } } } else { this.eventBus.publish(new AccountRegistrationEvent(ctx, customer.user)); @@ -206,10 +225,13 @@ export class CustomerService { return createdCustomer; } - async registerCustomerAccount(ctx: RequestContext, input: RegisterCustomerInput): Promise { + async registerCustomerAccount( + ctx: RequestContext, + input: RegisterCustomerInput, + ): Promise { if (!this.configService.authOptions.requireVerification) { if (!input.password) { - throw new UserInputError(`error.missing-password-on-registration`); + return new MissingPasswordError(); } } let user = await this.userService.getUserByEmailAddress(ctx, input.emailAddress); @@ -220,7 +242,7 @@ export class CustomerService { if (hasNativeAuthMethod) { // If the user has already been verified and has already // registered with the native authentication strategy, do nothing. - return false; + return { success: true }; } } const customFields = (input as any).customFields; @@ -232,6 +254,9 @@ export class CustomerService { phoneNumber: input.phoneNumber || '', ...(customFields ? { customFields } : {}), }); + if (isGraphQlErrorResult(customer)) { + return customer; + } await this.historyService.createHistoryEntryForCustomer({ customerId: customer.id, ctx, @@ -272,7 +297,7 @@ export class CustomerService { }, }); } - return true; + return { success: true }; } async refreshVerificationToken(ctx: RequestContext, emailAddress: string): Promise { @@ -289,23 +314,24 @@ export class CustomerService { ctx: RequestContext, verificationToken: string, password?: string, - ): Promise { - const user = await this.userService.verifyUserByToken(ctx, verificationToken, password); - if (user) { - const customer = await this.findOneByUserId(ctx, user.id); - if (!customer) { - throw new InternalServerError('error.cannot-locate-customer-for-user'); - } - await this.historyService.createHistoryEntryForCustomer({ - customerId: customer.id, - ctx, - type: HistoryEntryType.CUSTOMER_VERIFIED, - data: { - strategy: NATIVE_AUTH_STRATEGY_NAME, - }, - }); - return this.findOneByUserId(ctx, user.id); + ): Promise> { + const result = await this.userService.verifyUserByToken(ctx, verificationToken, password); + if (isGraphQlErrorResult(result)) { + return result; + } + const customer = await this.findOneByUserId(ctx, result.id); + if (!customer) { + throw new InternalServerError('error.cannot-locate-customer-for-user'); } + await this.historyService.createHistoryEntryForCustomer({ + customerId: customer.id, + ctx, + type: HistoryEntryType.CUSTOMER_VERIFIED, + data: { + strategy: NATIVE_AUTH_STRATEGY_NAME, + }, + }); + return assertFound(this.findOneByUserId(ctx, result.id)); } async requestPasswordReset(ctx: RequestContext, emailAddress: string): Promise { @@ -329,34 +355,35 @@ export class CustomerService { ctx: RequestContext, passwordResetToken: string, password: string, - ): Promise { - const user = await this.userService.resetPasswordByToken(ctx, passwordResetToken, password); - if (user) { - const customer = await this.findOneByUserId(ctx, user.id); - if (!customer) { - throw new InternalServerError('error.cannot-locate-customer-for-user'); - } - await this.historyService.createHistoryEntryForCustomer({ - customerId: customer.id, - ctx, - type: HistoryEntryType.CUSTOMER_PASSWORD_RESET_VERIFIED, - data: {}, - }); - return customer; + ): Promise { + const result = await this.userService.resetPasswordByToken(ctx, passwordResetToken, password); + if (isGraphQlErrorResult(result)) { + return result; + } + const customer = await this.findOneByUserId(ctx, result.id); + if (!customer) { + throw new InternalServerError('error.cannot-locate-customer-for-user'); } + await this.historyService.createHistoryEntryForCustomer({ + customerId: customer.id, + ctx, + type: HistoryEntryType.CUSTOMER_PASSWORD_RESET_VERIFIED, + data: {}, + }); + return result; } async requestUpdateEmailAddress( ctx: RequestContext, userId: ID, newEmailAddress: string, - ): Promise { + ): Promise { const userWithConflictingIdentifier = await this.userService.getUserByEmailAddress( ctx, newEmailAddress, ); if (userWithConflictingIdentifier) { - throw new UserInputError('error.email-address-not-available'); + return new EmailAddressConflictError(); } const user = await this.userService.getUserById(ctx, userId); if (!user) { @@ -401,8 +428,15 @@ export class CustomerService { } } - async updateEmailAddress(ctx: RequestContext, token: string): Promise { - const { user, oldIdentifier } = await this.userService.changeIdentifierByToken(ctx, token); + async updateEmailAddress( + ctx: RequestContext, + token: string, + ): Promise { + const result = await this.userService.changeIdentifierByToken(ctx, token); + if (isGraphQlErrorResult(result)) { + return result; + } + const { user, oldIdentifier } = result; if (!user) { return false; } @@ -448,8 +482,8 @@ export class CustomerService { async createOrUpdate( ctx: RequestContext, input: Partial & { emailAddress: string }, - throwOnExistingUser: boolean = false, - ): Promise { + errorOnExistingUser: boolean = false, + ): Promise { input.emailAddress = normalizeEmailAddress(input.emailAddress); let customer: Customer; const existing = await this.connection.getRepository(ctx, Customer).findOne({ @@ -460,9 +494,9 @@ export class CustomerService { }, }); if (existing) { - if (existing.user && throwOnExistingUser) { + if (existing.user && errorOnExistingUser) { // It is not permitted to modify an existing *registered* Customer - throw new IllegalOperationError('error.cannot-use-registered-email-address-for-guest-order'); + return new EmailAddressConflictError(); } customer = patchEntity(existing, input); customer.channels.push(await this.connection.getEntityOrThrow(ctx, Channel, ctx.channelId)); diff --git a/packages/core/src/service/services/order.service.ts b/packages/core/src/service/services/order.service.ts index 037439b6a6..0f64f8ec6c 100644 --- a/packages/core/src/service/services/order.service.ts +++ b/packages/core/src/service/services/order.service.ts @@ -1,5 +1,12 @@ import { Injectable } from '@nestjs/common'; -import { PaymentInput } from '@vendure/common/lib/generated-shop-types'; +import { + AddPaymentToOrderResult, + ApplyCouponCodeResult, + PaymentInput, + RemoveOrderItemsResult, + SetOrderShippingMethodResult, + UpdateOrderItemsResult, +} from '@vendure/common/lib/generated-shop-types'; import { AddNoteToOrderInput, CancelOrderInput, @@ -20,13 +27,22 @@ import { notNullOrUndefined } from '@vendure/common/lib/shared-utils'; import { unique } from '@vendure/common/lib/unique'; import { RequestContext } from '../../api/common/request-context'; +import { ErrorResultUnion, isGraphQlErrorResult } from '../../common/error/error-result'; import { EntityNotFoundError, IllegalOperationError, InternalServerError, - OrderItemsLimitError, UserInputError, } from '../../common/error/errors'; +import { + NegativeQuantityError, + OrderLimitError, + OrderModificationError, + OrderPaymentStateError, + OrderStateTransitionError, + PaymentDeclinedError, + PaymentFailedError, +} from '../../common/error/generated-graphql-shop-errors'; import { ListQueryOptions } from '../../common/types/common-types'; import { assertFound, idsAreEqual } from '../../common/utils'; import { ConfigService } from '../../config/config.service'; @@ -276,11 +292,15 @@ export class OrderService { productVariantId: ID, quantity: number, customFields?: { [key: string]: any }, - ): Promise { - this.assertQuantityIsPositive(quantity); + ): Promise> { const order = await this.getOrderOrThrow(ctx, orderId); - this.assertAddingItemsState(order); - this.assertNotOverOrderItemsLimit(order, quantity); + const validationError = + this.assertQuantityIsPositive(quantity) || + this.assertAddingItemsState(order) || + this.assertNotOverOrderItemsLimit(order, quantity); + if (validationError) { + return validationError; + } const productVariant = await this.getProductVariantOrThrow(ctx, productVariantId); let orderLine = order.lines.find(line => { return ( @@ -304,7 +324,7 @@ export class OrderService { orderLineId: ID, quantity?: number | null, customFields?: { [key: string]: any }, - ): Promise { + ): Promise> { const { priceCalculationStrategy } = this.configService.orderOptions; const order = orderIdOrOrder instanceof Order @@ -314,11 +334,15 @@ export class OrderService { if (customFields != null) { orderLine.customFields = customFields; } - this.assertAddingItemsState(order); if (quantity != null) { - this.assertQuantityIsPositive(quantity); const currentQuantity = orderLine.quantity; - this.assertNotOverOrderItemsLimit(order, quantity - currentQuantity); + const validationError = + this.assertAddingItemsState(order) || + this.assertQuantityIsPositive(quantity) || + this.assertNotOverOrderItemsLimit(order, quantity - currentQuantity); + if (validationError) { + return validationError; + } if (currentQuantity < quantity) { if (!orderLine.items) { orderLine.items = []; @@ -349,9 +373,16 @@ export class OrderService { return this.applyPriceAdjustments(ctx, order, orderLine); } - async removeItemFromOrder(ctx: RequestContext, orderId: ID, orderLineId: ID): Promise { + async removeItemFromOrder( + ctx: RequestContext, + orderId: ID, + orderLineId: ID, + ): Promise> { const order = await this.getOrderOrThrow(ctx, orderId); - this.assertAddingItemsState(order); + const validationError = this.assertAddingItemsState(order); + if (validationError) { + return validationError; + } const orderLine = this.getOrderLineOrThrow(order, orderLineId); order.lines = order.lines.filter(line => !idsAreEqual(line.id, orderLineId)); const updatedOrder = await this.applyPriceAdjustments(ctx, order); @@ -359,31 +390,44 @@ export class OrderService { return updatedOrder; } - async removeAllItemsFromOrder(ctx: RequestContext, orderId: ID): Promise { + async removeAllItemsFromOrder( + ctx: RequestContext, + orderId: ID, + ): Promise> { const order = await this.getOrderOrThrow(ctx, orderId); - this.assertAddingItemsState(order); + const validationError = this.assertAddingItemsState(order); + if (validationError) { + return validationError; + } await this.connection.getRepository(ctx, OrderLine).remove(order.lines); order.lines = []; const updatedOrder = await this.applyPriceAdjustments(ctx, order); return updatedOrder; } - async applyCouponCode(ctx: RequestContext, orderId: ID, couponCode: string) { + async applyCouponCode( + ctx: RequestContext, + orderId: ID, + couponCode: string, + ): Promise> { const order = await this.getOrderOrThrow(ctx, orderId); if (order.couponCodes.includes(couponCode)) { return order; } - const promotion = await this.promotionService.validateCouponCode( + const validationResult = await this.promotionService.validateCouponCode( ctx, couponCode, order.customer && order.customer.id, ); + if (isGraphQlErrorResult(validationResult)) { + return validationResult; + } order.couponCodes.push(couponCode); await this.historyService.createHistoryEntryForOrder({ ctx, orderId: order.id, type: HistoryEntryType.ORDER_COUPON_APPLIED, - data: { couponCode, promotionId: promotion.id }, + data: { couponCode, promotionId: validationResult.id }, }); return this.applyPriceAdjustments(ctx, order); } @@ -442,9 +486,16 @@ export class OrderService { })); } - async setShippingMethod(ctx: RequestContext, orderId: ID, shippingMethodId: ID): Promise { + async setShippingMethod( + ctx: RequestContext, + orderId: ID, + shippingMethodId: ID, + ): Promise> { const order = await this.getOrderOrThrow(ctx, orderId); - this.assertAddingItemsState(order); + const validationError = this.assertAddingItemsState(order); + if (validationError) { + return validationError; + } const eligibleMethods = await this.shippingCalculator.getEligibleShippingMethods(ctx, order); const selectedMethod = eligibleMethods.find(m => idsAreEqual(m.method.id, shippingMethodId)); if (!selectedMethod) { @@ -456,11 +507,20 @@ export class OrderService { return this.connection.getRepository(ctx, Order).save(order); } - async transitionToState(ctx: RequestContext, orderId: ID, state: OrderState): Promise { + async transitionToState( + ctx: RequestContext, + orderId: ID, + state: OrderState, + ): Promise { const order = await this.getOrderOrThrow(ctx, orderId); order.payments = await this.getOrderPayments(ctx, orderId); const fromState = order.state; - await this.orderStateMachine.transition(ctx, order, state); + try { + await this.orderStateMachine.transition(ctx, order, state); + } catch (e) { + const transitionError = ctx.translate(e.message, { fromState, toState: state }); + return new OrderStateTransitionError(transitionError, fromState, state); + } await this.connection.getRepository(ctx, Order).save(order, { reload: false }); this.eventBus.publish(new OrderStateTransitionEvent(fromState, state, ctx, order)); return order; @@ -511,10 +571,14 @@ export class OrderService { } } - async addPaymentToOrder(ctx: RequestContext, orderId: ID, input: PaymentInput): Promise { + async addPaymentToOrder( + ctx: RequestContext, + orderId: ID, + input: PaymentInput, + ): Promise> { const order = await this.getOrderOrThrow(ctx, orderId); if (order.state !== 'ArrangingPayment') { - throw new IllegalOperationError(`error.payment-may-only-be-added-in-arrangingpayment-state`); + return new OrderPaymentStateError(); } const payment = await this.paymentMethodService.createPayment( ctx, @@ -528,10 +592,10 @@ export class OrderService { await this.connection.getRepository(ctx, Order).save(order, { reload: false }); if (payment.state === 'Error') { - // TODO: we need to return an Error response as per - // https://github.com/vendure-ecommerce/vendure/issues/437 - // Throwing an error rolls back all changes, which we do not want. - // throw new InternalServerError(payment.errorMessage); + return new PaymentFailedError(payment.errorMessage); + } + if (payment.state === 'Declined') { + return new PaymentDeclinedError(payment.errorMessage); } if (orderTotalIsCovered(order, 'Settled')) { @@ -768,9 +832,12 @@ export class OrderService { if (order.couponCodes) { let codesRemoved = false; for (const couponCode of order.couponCodes.slice()) { - try { - await this.promotionService.validateCouponCode(ctx, couponCode, customer.id); - } catch (err) { + const validationResult = await this.promotionService.validateCouponCode( + ctx, + couponCode, + customer.id, + ); + if (isGraphQlErrorResult(validationResult)) { order.couponCodes = order.couponCodes.filter(c => c !== couponCode); codesRemoved = true; } @@ -844,8 +911,12 @@ export class OrderService { await this.connection.getRepository(ctx, Order).delete(orderToDelete.id); } if (order && linesToInsert) { + const orderId = order.id; for (const line of linesToInsert) { - order = await this.addItemToOrder(ctx, order.id, line.productVariantId, line.quantity); + const result = await this.addItemToOrder(ctx, orderId, line.productVariantId, line.quantity); + if (!isGraphQlErrorResult(result)) { + order = result; + } } } const customer = await this.customerService.findOneByUserId(ctx, user.id); @@ -896,20 +967,20 @@ export class OrderService { } /** - * Throws if quantity is negative. + * Returns error if quantity is negative. */ private assertQuantityIsPositive(quantity: number) { if (quantity < 0) { - throw new IllegalOperationError(`error.order-item-quantity-must-be-positive`, { quantity }); + return new NegativeQuantityError(); } } /** - * Throws if the Order is not in the "AddingItems" state. + * Returns error if the Order is not in the "AddingItems" state. */ private assertAddingItemsState(order: Order) { if (order.state !== 'AddingItems') { - throw new IllegalOperationError(`error.order-contents-may-only-be-modified-in-addingitems-state`); + return new OrderModificationError(); } } @@ -921,7 +992,7 @@ export class OrderService { const currentItemsCount = order.lines.reduce((count, line) => count + line.quantity, 0); const { orderItemsLimit } = this.configService.orderOptions; if (orderItemsLimit < currentItemsCount + quantityToAdd) { - throw new OrderItemsLimitError(orderItemsLimit); + return new OrderLimitError(orderItemsLimit); } } diff --git a/packages/core/src/service/services/promotion.service.ts b/packages/core/src/service/services/promotion.service.ts index 50b1c4aab1..8c351a4dfd 100644 --- a/packages/core/src/service/services/promotion.service.ts +++ b/packages/core/src/service/services/promotion.service.ts @@ -1,4 +1,5 @@ import { Injectable } from '@nestjs/common'; +import { ApplyCouponCodeResult } from '@vendure/common/lib/generated-shop-types'; import { Adjustment, AdjustmentType, @@ -15,12 +16,13 @@ import { ID, PaginatedList } from '@vendure/common/lib/shared-types'; import { unique } from '@vendure/common/lib/unique'; import { RequestContext } from '../../api/common/request-context'; +import { JustErrorResults } from '../../common/error/error-result'; +import { UserInputError } from '../../common/error/errors'; import { CouponCodeExpiredError, CouponCodeInvalidError, CouponCodeLimitError, - UserInputError, -} from '../../common/error/errors'; +} from '../../common/error/generated-graphql-shop-errors'; import { AdjustmentSource } from '../../common/types/adjustment-source'; import { ListQueryOptions } from '../../common/types/common-types'; import { assertFound } from '../../common/utils'; @@ -142,7 +144,11 @@ export class PromotionService { }; } - async validateCouponCode(ctx: RequestContext, couponCode: string, customerId?: ID): Promise { + async validateCouponCode( + ctx: RequestContext, + couponCode: string, + customerId?: ID, + ): Promise | Promotion> { const promotion = await this.connection.getRepository(ctx, Promotion).findOne({ where: { couponCode, @@ -151,15 +157,15 @@ export class PromotionService { }, }); if (!promotion) { - throw new CouponCodeInvalidError(couponCode); + return new CouponCodeInvalidError(couponCode); } if (promotion.endsAt && +promotion.endsAt < +new Date()) { - throw new CouponCodeExpiredError(couponCode); + return new CouponCodeExpiredError(couponCode); } if (customerId && promotion.perCustomerUsageLimit != null) { const usageCount = await this.countPromotionUsagesForCustomer(ctx, promotion.id, customerId); if (promotion.perCustomerUsageLimit <= usageCount) { - throw new CouponCodeLimitError(promotion.perCustomerUsageLimit); + return new CouponCodeLimitError(couponCode, promotion.perCustomerUsageLimit); } } return promotion; diff --git a/packages/core/src/service/services/user.service.ts b/packages/core/src/service/services/user.service.ts index 2576ea92d3..e8312da46f 100644 --- a/packages/core/src/service/services/user.service.ts +++ b/packages/core/src/service/services/user.service.ts @@ -1,16 +1,21 @@ import { Injectable } from '@nestjs/common'; +import { VerifyCustomerAccountResult } from '@vendure/common/lib/generated-shop-types'; import { ID } from '@vendure/common/lib/shared-types'; import { RequestContext } from '../../api/common/request-context'; +import { ErrorResultUnion } from '../../common/error/error-result'; +import { EntityNotFoundError, InternalServerError } from '../../common/error/errors'; import { - IdentifierChangeTokenError, IdentifierChangeTokenExpiredError, - InternalServerError, + IdentifierChangeTokenInvalidError, + InvalidCredentialsError, + MissingPasswordError, + PasswordAlreadySetError, PasswordResetTokenExpiredError, - UnauthorizedError, - UserInputError, + PasswordResetTokenInvalidError, VerificationTokenExpiredError, -} from '../../common/error/errors'; + VerificationTokenInvalidError, +} from '../../common/error/generated-graphql-shop-errors'; import { ConfigService } from '../../config/config.service'; import { NativeAuthenticationMethod } from '../../entity/authentication-method/native-authentication-method.entity'; import { User } from '../../entity/user/user.entity'; @@ -114,7 +119,7 @@ export class UserService { ctx: RequestContext, verificationToken: string, password?: string, - ): Promise { + ): Promise> { const user = await this.connection .getRepository(ctx, User) .createQueryBuilder('user') @@ -127,11 +132,11 @@ export class UserService { const nativeAuthMethod = user.getNativeAuthenticationMethod(); if (!password) { if (!nativeAuthMethod.passwordHash) { - throw new UserInputError(`error.password-required-for-verification`); + return new MissingPasswordError(); } } else { if (!!nativeAuthMethod.passwordHash) { - throw new UserInputError(`error.password-already-set-during-registration`); + return new PasswordAlreadySetError(); } nativeAuthMethod.passwordHash = await this.passwordCipher.hash(password); } @@ -140,8 +145,10 @@ export class UserService { await this.connection.getRepository(ctx, NativeAuthenticationMethod).save(nativeAuthMethod); return this.connection.getRepository(ctx, User).save(user); } else { - throw new VerificationTokenExpiredError(); + return new VerificationTokenExpiredError(); } + } else { + return new VerificationTokenInvalidError(); } } @@ -160,30 +167,35 @@ export class UserService { ctx: RequestContext, passwordResetToken: string, password: string, - ): Promise { + ): Promise { const user = await this.connection .getRepository(ctx, User) .createQueryBuilder('user') .leftJoinAndSelect('user.authenticationMethods', 'authenticationMethod') .where('authenticationMethod.passwordResetToken = :passwordResetToken', { passwordResetToken }) .getOne(); - if (user) { - if (this.verificationTokenGenerator.verifyVerificationToken(passwordResetToken)) { - const nativeAuthMethod = user.getNativeAuthenticationMethod(); - nativeAuthMethod.passwordHash = await this.passwordCipher.hash(password); - nativeAuthMethod.passwordResetToken = null; - await this.connection.getRepository(ctx, NativeAuthenticationMethod).save(nativeAuthMethod); - return this.connection.getRepository(ctx, User).save(user); - } else { - throw new PasswordResetTokenExpiredError(); - } + if (!user) { + return new PasswordResetTokenInvalidError(); + } + if (this.verificationTokenGenerator.verifyVerificationToken(passwordResetToken)) { + const nativeAuthMethod = user.getNativeAuthenticationMethod(); + nativeAuthMethod.passwordHash = await this.passwordCipher.hash(password); + nativeAuthMethod.passwordResetToken = null; + await this.connection.getRepository(ctx, NativeAuthenticationMethod).save(nativeAuthMethod); + return this.connection.getRepository(ctx, User).save(user); + } else { + return new PasswordResetTokenExpiredError(); } } async changeIdentifierByToken( ctx: RequestContext, token: string, - ): Promise<{ user: User; oldIdentifier: string }> { + ): Promise< + | { user: User; oldIdentifier: string } + | IdentifierChangeTokenInvalidError + | IdentifierChangeTokenExpiredError + > { const user = await this.connection .getRepository(ctx, User) .createQueryBuilder('user') @@ -193,10 +205,10 @@ export class UserService { }) .getOne(); if (!user) { - throw new IdentifierChangeTokenError(); + return new IdentifierChangeTokenInvalidError(); } if (!this.verificationTokenGenerator.verifyVerificationToken(token)) { - throw new IdentifierChangeTokenExpiredError(); + return new IdentifierChangeTokenExpiredError(); } const nativeAuthMethod = user.getNativeAuthenticationMethod(); const pendingIdentifier = nativeAuthMethod.pendingIdentifier; @@ -220,7 +232,7 @@ export class UserService { userId: ID, currentPassword: string, newPassword: string, - ): Promise { + ): Promise { const user = await this.connection .getRepository(ctx, User) .createQueryBuilder('user') @@ -229,12 +241,12 @@ export class UserService { .where('user.id = :id', { id: userId }) .getOne(); if (!user) { - throw new InternalServerError(`error.no-active-user-id`); + throw new EntityNotFoundError('User', userId); } const nativeAuthMethod = user.getNativeAuthenticationMethod(); const matches = await this.passwordCipher.check(currentPassword, nativeAuthMethod.passwordHash); if (!matches) { - throw new UnauthorizedError(); + return new InvalidCredentialsError(); } nativeAuthMethod.passwordHash = await this.passwordCipher.hash(newPassword); await this.connection diff --git a/packages/dev-server/dev-config.ts b/packages/dev-server/dev-config.ts index 80ae86b8c4..7a64d38612 100644 --- a/packages/dev-server/dev-config.ts +++ b/packages/dev-server/dev-config.ts @@ -120,7 +120,7 @@ function getDbConfig(): ConnectionOptions { default: console.log('Using mysql connection'); return { - synchronize: true, + synchronize: false, type: 'mysql', host: '127.0.0.1', port: 3306, 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 734889843f..f6bcf4784b 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 @@ -29,7 +29,6 @@ export type AddNoteToOrderInput = { }; export type Address = Node & { - __typename?: 'Address'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -48,7 +47,6 @@ export type Address = Node & { }; export type Adjustment = { - __typename?: 'Adjustment'; adjustmentSource: Scalars['String']; type: AdjustmentType; description: Scalars['String']; @@ -66,7 +64,6 @@ export enum AdjustmentType { } export type Administrator = Node & { - __typename?: 'Administrator'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -85,7 +82,6 @@ export type AdministratorFilterParameter = { }; export type AdministratorList = PaginatedList & { - __typename?: 'AdministratorList'; items: Array; totalItems: Scalars['Int']; }; @@ -107,7 +103,6 @@ export type AdministratorSortParameter = { }; export type Asset = Node & { - __typename?: 'Asset'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -136,7 +131,6 @@ export type AssetFilterParameter = { }; export type AssetList = PaginatedList & { - __typename?: 'AssetList'; items: Array; totalItems: Scalars['Int']; }; @@ -178,7 +172,6 @@ export type AuthenticationInput = { }; export type AuthenticationMethod = Node & { - __typename?: 'AuthenticationMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -186,7 +179,6 @@ export type AuthenticationMethod = Node & { }; export type BooleanCustomFieldConfig = CustomField & { - __typename?: 'BooleanCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -202,7 +194,6 @@ export type BooleanOperators = { export type Cancellation = Node & StockMovement & { - __typename?: 'Cancellation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -221,7 +212,6 @@ export type CancelOrderInput = { }; export type Channel = Node & { - __typename?: 'Channel'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -235,7 +225,6 @@ export type Channel = Node & { }; export type Collection = Node & { - __typename?: 'Collection'; isPrivate: Scalars['Boolean']; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -261,7 +250,6 @@ export type CollectionProductVariantsArgs = { }; export type CollectionBreadcrumb = { - __typename?: 'CollectionBreadcrumb'; id: Scalars['ID']; name: Scalars['String']; slug: Scalars['String']; @@ -279,7 +267,6 @@ export type CollectionFilterParameter = { }; export type CollectionList = PaginatedList & { - __typename?: 'CollectionList'; items: Array; totalItems: Scalars['Int']; }; @@ -302,7 +289,6 @@ export type CollectionSortParameter = { }; export type CollectionTranslation = { - __typename?: 'CollectionTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -313,13 +299,11 @@ export type CollectionTranslation = { }; export type ConfigArg = { - __typename?: 'ConfigArg'; name: Scalars['String']; value: Scalars['String']; }; export type ConfigArgDefinition = { - __typename?: 'ConfigArgDefinition'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -334,13 +318,11 @@ export type ConfigArgInput = { }; export type ConfigurableOperation = { - __typename?: 'ConfigurableOperation'; code: Scalars['String']; args: Array; }; export type ConfigurableOperationDefinition = { - __typename?: 'ConfigurableOperationDefinition'; code: Scalars['String']; args: Array; description: Scalars['String']; @@ -352,7 +334,6 @@ export type ConfigurableOperationInput = { }; export type Coordinate = { - __typename?: 'Coordinate'; x: Scalars['Float']; y: Scalars['Float']; }; @@ -363,7 +344,6 @@ export type CoordinateInput = { }; export type Country = Node & { - __typename?: 'Country'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -384,7 +364,6 @@ export type CountryFilterParameter = { }; export type CountryList = PaginatedList & { - __typename?: 'CountryList'; items: Array; totalItems: Scalars['Int']; }; @@ -405,7 +384,6 @@ export type CountrySortParameter = { }; export type CountryTranslation = { - __typename?: 'CountryTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -932,14 +910,12 @@ export enum CurrencyCode { } export type CurrentUser = { - __typename?: 'CurrentUser'; id: Scalars['ID']; identifier: Scalars['String']; channels: Array; }; export type CurrentUserChannel = { - __typename?: 'CurrentUserChannel'; id: Scalars['ID']; token: Scalars['String']; code: Scalars['String']; @@ -947,7 +923,6 @@ export type CurrentUserChannel = { }; export type Customer = Node & { - __typename?: 'Customer'; groups: Array; history: HistoryEntryList; id: Scalars['ID']; @@ -983,7 +958,6 @@ export type CustomerFilterParameter = { }; export type CustomerGroup = Node & { - __typename?: 'CustomerGroup'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1002,7 +976,6 @@ export type CustomerGroupFilterParameter = { }; export type CustomerGroupList = PaginatedList & { - __typename?: 'CustomerGroupList'; items: Array; totalItems: Scalars['Int']; }; @@ -1022,7 +995,6 @@ export type CustomerGroupSortParameter = { }; export type CustomerList = PaginatedList & { - __typename?: 'CustomerList'; items: Array; totalItems: Scalars['Int']; }; @@ -1064,7 +1036,6 @@ export type CustomFieldConfig = | DateTimeCustomFieldConfig; export type CustomFields = { - __typename?: 'CustomFields'; Address: Array; Collection: Array; Customer: Array; @@ -1098,7 +1069,6 @@ 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'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1112,7 +1082,6 @@ export type DateTimeCustomFieldConfig = CustomField & { }; export type DeletionResponse = { - __typename?: 'DeletionResponse'; result: DeletionResult; message?: Maybe; }; @@ -1125,8 +1094,9 @@ export enum DeletionResult { } export enum ErrorCode { - UnknownError = 'UnknownError', - MimeTypeError = 'MimeTypeError', + UNKNOWN_ERROR = 'UNKNOWN_ERROR', + MIME_TYPE_ERROR = 'MIME_TYPE_ERROR', + ORDER_STATE_TRANSITION_ERROR = 'ORDER_STATE_TRANSITION_ERROR', } export type ErrorResult = { @@ -1135,7 +1105,6 @@ export type ErrorResult = { }; export type Facet = Node & { - __typename?: 'Facet'; isPrivate: Scalars['Boolean']; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -1158,7 +1127,6 @@ export type FacetFilterParameter = { }; export type FacetList = PaginatedList & { - __typename?: 'FacetList'; items: Array; totalItems: Scalars['Int']; }; @@ -1179,7 +1147,6 @@ export type FacetSortParameter = { }; export type FacetTranslation = { - __typename?: 'FacetTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1195,7 +1162,6 @@ export type FacetTranslationInput = { }; export type FacetValue = Node & { - __typename?: 'FacetValue'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1212,13 +1178,11 @@ export type FacetValue = Node & { * by the search, and in what quantity. */ export type FacetValueResult = { - __typename?: 'FacetValueResult'; facetValue: FacetValue; count: Scalars['Int']; }; export type FacetValueTranslation = { - __typename?: 'FacetValueTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1234,7 +1198,6 @@ export type FacetValueTranslationInput = { }; export type FloatCustomFieldConfig = CustomField & { - __typename?: 'FloatCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1248,7 +1211,6 @@ export type FloatCustomFieldConfig = CustomField & { }; export type Fulfillment = Node & { - __typename?: 'Fulfillment'; nextStates: Array; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -1266,7 +1228,6 @@ export type FulfillOrderInput = { }; export type GlobalSettings = { - __typename?: 'GlobalSettings'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1277,7 +1238,6 @@ export type GlobalSettings = { }; export type HistoryEntry = Node & { - __typename?: 'HistoryEntry'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -1295,7 +1255,6 @@ export type HistoryEntryFilterParameter = { }; export type HistoryEntryList = PaginatedList & { - __typename?: 'HistoryEntryList'; items: Array; totalItems: Scalars['Int']; }; @@ -1340,14 +1299,12 @@ export enum HistoryEntryType { } export type ImportInfo = { - __typename?: 'ImportInfo'; errors?: Maybe>; processed: Scalars['Int']; imported: Scalars['Int']; }; export type IntCustomFieldConfig = CustomField & { - __typename?: 'IntCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1361,7 +1318,6 @@ export type IntCustomFieldConfig = CustomField & { }; export type Job = Node & { - __typename?: 'Job'; id: Scalars['ID']; createdAt: Scalars['DateTime']; startedAt?: Maybe; @@ -1388,7 +1344,6 @@ export type JobFilterParameter = { }; export type JobList = PaginatedList & { - __typename?: 'JobList'; items: Array; totalItems: Scalars['Int']; }; @@ -1401,7 +1356,6 @@ export type JobListOptions = { }; export type JobQueue = { - __typename?: 'JobQueue'; name: Scalars['String']; running: Scalars['Boolean']; }; @@ -1757,7 +1711,6 @@ export enum LanguageCode { } export type LocaleStringCustomFieldConfig = CustomField & { - __typename?: 'LocaleStringCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -1770,7 +1723,6 @@ export type LocaleStringCustomFieldConfig = CustomField & { }; export type LocalizedString = { - __typename?: 'LocalizedString'; languageCode: LanguageCode; value: Scalars['String']; }; @@ -1781,12 +1733,10 @@ export enum LogicalOperator { } export type LoginResult = { - __typename?: 'LoginResult'; user: CurrentUser; }; export type MimeTypeError = ErrorResult & { - __typename?: 'MimeTypeError'; code: ErrorCode; message: Scalars['String']; fileName: Scalars['String']; @@ -1800,7 +1750,6 @@ export type MoveCollectionInput = { }; export type Mutation = { - __typename?: 'Mutation'; /** Create a new Administrator */ createAdministrator: Administrator; /** Update an existing Administrator */ @@ -1866,7 +1815,7 @@ export type Mutation = { /** Update an existing Address */ updateCustomerAddress: Address; /** Update an existing Address */ - deleteCustomerAddress: Scalars['Boolean']; + deleteCustomerAddress: Success; addNoteToCustomer: Customer; updateCustomerNote: HistoryEntry; deleteCustomerNote: DeletionResponse; @@ -1894,7 +1843,7 @@ export type Mutation = { addNoteToOrder: Order; updateOrderNote: HistoryEntry; deleteOrderNote: DeletionResponse; - transitionOrderToState?: Maybe; + transitionOrderToState?: Maybe; transitionFulfillmentToState: Fulfillment; setOrderCustomFields?: Maybe; /** Update an existing PaymentMethod */ @@ -2366,7 +2315,6 @@ export type NumberRange = { }; export type Order = Node & { - __typename?: 'Order'; nextStates: Array; id: Scalars['ID']; createdAt: Scalars['DateTime']; @@ -2405,7 +2353,6 @@ export type OrderHistoryArgs = { }; export type OrderAddress = { - __typename?: 'OrderAddress'; fullName?: Maybe; company?: Maybe; streetLine1?: Maybe; @@ -2434,7 +2381,6 @@ export type OrderFilterParameter = { }; export type OrderItem = Node & { - __typename?: 'OrderItem'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2449,7 +2395,6 @@ export type OrderItem = Node & { }; export type OrderLine = Node & { - __typename?: 'OrderLine'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2471,7 +2416,6 @@ export type OrderLineInput = { }; export type OrderList = PaginatedList & { - __typename?: 'OrderList'; items: Array; totalItems: Scalars['Int']; }; @@ -2484,7 +2428,6 @@ export type OrderListOptions = { }; export type OrderProcessState = { - __typename?: 'OrderProcessState'; name: Scalars['String']; to: Array; }; @@ -2503,13 +2446,21 @@ export type OrderSortParameter = { total?: Maybe; }; +/** Returned if there is an error in transitioning the Order state */ +export type OrderStateTransitionError = ErrorResult & { + code: ErrorCode; + message: Scalars['String']; + transitionError: Scalars['String']; + fromState: Scalars['String']; + toState: Scalars['String']; +}; + export type PaginatedList = { items: Array; totalItems: Scalars['Int']; }; export type Payment = Node & { - __typename?: 'Payment'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2523,7 +2474,6 @@ export type Payment = Node & { }; export type PaymentMethod = Node & { - __typename?: 'PaymentMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2541,7 +2491,6 @@ export type PaymentMethodFilterParameter = { }; export type PaymentMethodList = PaginatedList & { - __typename?: 'PaymentMethodList'; items: Array; totalItems: Scalars['Int']; }; @@ -2605,13 +2554,11 @@ export enum Permission { /** The price range where the result has more than one price */ export type PriceRange = { - __typename?: 'PriceRange'; min: Scalars['Int']; max: Scalars['Int']; }; export type Product = Node & { - __typename?: 'Product'; enabled: Scalars['Boolean']; channels: Array; id: Scalars['ID']; @@ -2642,7 +2589,6 @@ export type ProductFilterParameter = { }; export type ProductList = PaginatedList & { - __typename?: 'ProductList'; items: Array; totalItems: Scalars['Int']; }; @@ -2655,7 +2601,6 @@ export type ProductListOptions = { }; export type ProductOption = Node & { - __typename?: 'ProductOption'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2669,7 +2614,6 @@ export type ProductOption = Node & { }; export type ProductOptionGroup = Node & { - __typename?: 'ProductOptionGroup'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2682,7 +2626,6 @@ export type ProductOptionGroup = Node & { }; export type ProductOptionGroupTranslation = { - __typename?: 'ProductOptionGroupTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2698,7 +2641,6 @@ export type ProductOptionGroupTranslationInput = { }; export type ProductOptionTranslation = { - __typename?: 'ProductOptionTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2723,7 +2665,6 @@ export type ProductSortParameter = { }; export type ProductTranslation = { - __typename?: 'ProductTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2743,7 +2684,6 @@ export type ProductTranslationInput = { }; export type ProductVariant = Node & { - __typename?: 'ProductVariant'; enabled: Scalars['Boolean']; stockOnHand: Scalars['Int']; trackInventory: Scalars['Boolean']; @@ -2790,7 +2730,6 @@ export type ProductVariantFilterParameter = { }; export type ProductVariantList = PaginatedList & { - __typename?: 'ProductVariantList'; items: Array; totalItems: Scalars['Int']; }; @@ -2815,7 +2754,6 @@ export type ProductVariantSortParameter = { }; export type ProductVariantTranslation = { - __typename?: 'ProductVariantTranslation'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2831,7 +2769,6 @@ export type ProductVariantTranslationInput = { }; export type Promotion = Node & { - __typename?: 'Promotion'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -2857,7 +2794,6 @@ export type PromotionFilterParameter = { }; export type PromotionList = PaginatedList & { - __typename?: 'PromotionList'; items: Array; totalItems: Scalars['Int']; }; @@ -2881,7 +2817,6 @@ export type PromotionSortParameter = { }; export type Query = { - __typename?: 'Query'; administrators: AdministratorList; administrator?: Maybe; /** Get a list of Assets */ @@ -3104,7 +3039,6 @@ export type QueryZoneArgs = { }; export type Refund = Node & { - __typename?: 'Refund'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3136,7 +3070,6 @@ export type RemoveProductsFromChannelInput = { export type Return = Node & StockMovement & { - __typename?: 'Return'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3147,7 +3080,6 @@ export type Return = Node & }; export type Role = Node & { - __typename?: 'Role'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3165,7 +3097,6 @@ export type RoleFilterParameter = { }; export type RoleList = PaginatedList & { - __typename?: 'RoleList'; items: Array; totalItems: Scalars['Int']; }; @@ -3187,7 +3118,6 @@ export type RoleSortParameter = { export type Sale = Node & StockMovement & { - __typename?: 'Sale'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3210,19 +3140,16 @@ export type SearchInput = { }; export type SearchReindexResponse = { - __typename?: 'SearchReindexResponse'; success: Scalars['Boolean']; }; export type SearchResponse = { - __typename?: 'SearchResponse'; items: Array; totalItems: Scalars['Int']; facetValues: Array; }; export type SearchResult = { - __typename?: 'SearchResult'; enabled: Scalars['Boolean']; /** An array of ids of the Collections in which this result appears */ channelIds: Array; @@ -3251,7 +3178,6 @@ export type SearchResult = { }; export type SearchResultAsset = { - __typename?: 'SearchResultAsset'; id: Scalars['ID']; preview: Scalars['String']; focalPoint?: Maybe; @@ -3266,7 +3192,6 @@ export type SearchResultSortParameter = { }; export type ServerConfig = { - __typename?: 'ServerConfig'; orderProcess: Array; permittedAssetTypes: Array; customFieldConfig: CustomFields; @@ -3278,7 +3203,6 @@ export type SettleRefundInput = { }; export type ShippingMethod = Node & { - __typename?: 'ShippingMethod'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3297,7 +3221,6 @@ export type ShippingMethodFilterParameter = { }; export type ShippingMethodList = PaginatedList & { - __typename?: 'ShippingMethodList'; items: Array; totalItems: Scalars['Int']; }; @@ -3310,7 +3233,6 @@ export type ShippingMethodListOptions = { }; export type ShippingMethodQuote = { - __typename?: 'ShippingMethodQuote'; id: Scalars['ID']; price: Scalars['Int']; priceWithTax: Scalars['Int']; @@ -3328,7 +3250,6 @@ export type ShippingMethodSortParameter = { /** The price value where the result has a single price */ export type SinglePrice = { - __typename?: 'SinglePrice'; value: Scalars['Int']; }; @@ -3339,7 +3260,6 @@ export enum SortOrder { export type StockAdjustment = Node & StockMovement & { - __typename?: 'StockAdjustment'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3360,7 +3280,6 @@ export type StockMovement = { export type StockMovementItem = StockAdjustment | Sale | Cancellation | Return; export type StockMovementList = { - __typename?: 'StockMovementList'; items: Array; totalItems: Scalars['Int']; }; @@ -3379,7 +3298,6 @@ export enum StockMovementType { } export type StringCustomFieldConfig = CustomField & { - __typename?: 'StringCustomFieldConfig'; name: Scalars['String']; type: Scalars['String']; list: Scalars['Boolean']; @@ -3393,7 +3311,6 @@ export type StringCustomFieldConfig = CustomField & { }; export type StringFieldOption = { - __typename?: 'StringFieldOption'; value: Scalars['String']; label?: Maybe>; }; @@ -3403,8 +3320,12 @@ export type StringOperators = { contains?: Maybe; }; +/** Indicates that an operation succeeded, where we do not want to return any more specific information. */ +export type Success = { + success: Scalars['Boolean']; +}; + export type TaxCategory = Node & { - __typename?: 'TaxCategory'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3412,7 +3333,6 @@ export type TaxCategory = Node & { }; export type TaxRate = Node & { - __typename?: 'TaxRate'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3433,7 +3353,6 @@ export type TaxRateFilterParameter = { }; export type TaxRateList = PaginatedList & { - __typename?: 'TaxRateList'; items: Array; totalItems: Scalars['Int']; }; @@ -3471,7 +3390,6 @@ export type TestShippingMethodOrderLineInput = { }; export type TestShippingMethodQuote = { - __typename?: 'TestShippingMethodQuote'; price: Scalars['Int']; priceWithTax: Scalars['Int']; description: Scalars['String']; @@ -3479,11 +3397,12 @@ export type TestShippingMethodQuote = { }; export type TestShippingMethodResult = { - __typename?: 'TestShippingMethodResult'; eligible: Scalars['Boolean']; quote?: Maybe; }; +export type TransitionOrderToStateResult = Order | OrderStateTransitionError; + export type UpdateAddressInput = { id: Scalars['ID']; fullName?: Maybe; @@ -3701,7 +3620,6 @@ export type UpdateZoneInput = { }; export type User = Node & { - __typename?: 'User'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3714,7 +3632,6 @@ export type User = Node & { }; export type Zone = Node & { - __typename?: 'Zone'; id: Scalars['ID']; createdAt: Scalars['DateTime']; updatedAt: Scalars['DateTime']; @@ -3726,95 +3643,70 @@ export type SearchProductsAdminQueryVariables = Exact<{ input: SearchInput; }>; -export type SearchProductsAdminQuery = { __typename?: 'Query' } & { - search: { __typename?: 'SearchResponse' } & Pick & { - items: Array< - { __typename?: 'SearchResult' } & Pick< - SearchResult, - | 'enabled' - | 'productId' - | 'productName' - | 'productPreview' - | 'productVariantId' - | 'productVariantName' - | 'productVariantPreview' - | 'sku' - > & { - productAsset?: Maybe< - { __typename?: 'SearchResultAsset' } & Pick< - SearchResultAsset, - 'id' | 'preview' - > & { - focalPoint?: Maybe< - { __typename?: 'Coordinate' } & Pick - >; - } - >; - productVariantAsset?: Maybe< - { __typename?: 'SearchResultAsset' } & Pick< - SearchResultAsset, - 'id' | 'preview' - > & { - focalPoint?: Maybe< - { __typename?: 'Coordinate' } & Pick - >; - } - >; +export type SearchProductsAdminQuery = { + search: Pick & { + items: Array< + Pick< + SearchResult, + | 'enabled' + | 'productId' + | 'productName' + | 'productPreview' + | 'productVariantId' + | 'productVariantName' + | 'productVariantPreview' + | 'sku' + > & { + productAsset?: Maybe< + Pick & { + focalPoint?: Maybe>; + } + >; + productVariantAsset?: Maybe< + Pick & { + focalPoint?: Maybe>; } - >; - }; + >; + } + >; + }; }; export type SearchFacetValuesQueryVariables = Exact<{ input: SearchInput; }>; -export type SearchFacetValuesQuery = { __typename?: 'Query' } & { - search: { __typename?: 'SearchResponse' } & Pick & { - facetValues: Array< - { __typename?: 'FacetValueResult' } & Pick & { - facetValue: { __typename?: 'FacetValue' } & Pick; - } - >; - }; +export type SearchFacetValuesQuery = { + search: Pick & { + facetValues: Array & { facetValue: Pick }>; + }; }; export type SearchGetPricesQueryVariables = Exact<{ input: SearchInput; }>; -export type SearchGetPricesQuery = { __typename?: 'Query' } & { - search: { __typename?: 'SearchResponse' } & { - items: Array< - { __typename?: 'SearchResult' } & { - price: - | ({ __typename?: 'PriceRange' } & Pick) - | ({ __typename?: 'SinglePrice' } & Pick); - priceWithTax: - | ({ __typename?: 'PriceRange' } & Pick) - | ({ __typename?: 'SinglePrice' } & Pick); - } - >; +export type SearchGetPricesQuery = { + search: { + items: Array<{ + price: Pick | Pick; + priceWithTax: Pick | Pick; + }>; }; }; export type ReindexMutationVariables = Exact<{ [key: string]: never }>; -export type ReindexMutation = { __typename?: 'Mutation' } & { - reindex: { __typename?: 'Job' } & Pick< - Job, - 'id' | 'queueName' | 'state' | 'progress' | 'duration' | 'result' - >; +export type ReindexMutation = { + reindex: Pick; }; export type GetJobInfoQueryVariables = Exact<{ id: Scalars['ID']; }>; -export type GetJobInfoQuery = { __typename?: 'Query' } & { - job?: Maybe< - { __typename?: 'Job' } & Pick - >; +export type GetJobInfoQuery = { + job?: Maybe>; }; type DiscriminateUnion = T extends U ? T : never; diff --git a/schema-admin.json b/schema-admin.json index 33ffc361fc..af7a2525b1 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}],"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}],"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}],"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}],"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":[],"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":"channel","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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}],"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 speicified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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":"countries","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryListOptions","ofType":null},"defaultValue":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}],"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}],"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}],"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}],"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}],"type":{"kind":"OBJECT","name":"Customer","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}],"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}],"type":{"kind":"OBJECT","name":"Facet","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}],"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}],"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}],"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":"order","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderList","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}],"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}],"type":{"kind":"OBJECT","name":"PaymentMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productOptionGroups","description":null,"args":[{"name":"filterTerm","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductListOptions","ofType":null},"defaultValue":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 speicified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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}],"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}],"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}],"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":"roles","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleListOptions","ofType":null},"defaultValue":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}],"type":{"kind":"OBJECT","name":"Role","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}],"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}],"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":"testShippingMethod","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestShippingMethodInput","ofType":null}},"defaultValue":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}],"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":"taxCategories","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":"taxCategory","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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}],"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}],"type":{"kind":"OBJECT","name":"TaxRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zones","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":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":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":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":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":"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},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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":"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":"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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CollectionList","ofType":null},{"kind":"OBJECT","name":"ProductVariantList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerGroupList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"JobList","ofType":null},{"kind":"OBJECT","name":"PaymentMethodList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"PromotionList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null},{"kind":"OBJECT","name":"ShippingMethodList","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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"Job","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"ENUM","name":"Permission","description":"\"\n@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks","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":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":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":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","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}],"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":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","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":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"CountryTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":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":"OBJECT","name":"CountryTranslation","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":"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":"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":"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":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"fileSize","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"mimeType","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"width","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"height","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"source","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"preview","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"fileSize","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"mimeType","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"width","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"height","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"source","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"preview","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":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":"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},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"INPUT_OBJECT","name":"CollectionListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"position","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"position","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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":"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":"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}],"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":"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":"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":"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":"INPUT_OBJECT","name":"ProductVariantListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null},"defaultValue":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},{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"productId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"priceWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"stockOnHand","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"priceIncludesTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"priceWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":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":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockMovementList","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":"Int","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":"priceIncludesTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"StockMovementListOptions","description":null,"fields":null,"inputFields":[{"name":"type","description":null,"type":{"kind":"ENUM","name":"StockMovementType","ofType":null},"defaultValue":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":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":"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":"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":"UNION","name":"StockMovementItem","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","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":"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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":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},{"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":"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":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"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":"OrderItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","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":"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":"OrderItem","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":"cancelled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceIncludesTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":null,"args":[],"type":{"kind":"OBJECT","name":"Fulfillment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TAX","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TAX_REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROMOTION_REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING_REFUND","description":null,"isDeprecated":false,"deprecationReason":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":"orderItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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":"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":"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":"adjustments","description":"Order-level adjustments to the order total, such as discounts from promotions","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","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":"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":"subTotalBeforeTax","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 the OrderLines, before order-level promotions and shipping has been applied.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[],"type":{"kind":"OBJECT","name":"ShippingMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalBeforeTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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}],"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":"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}],"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}],"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":"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","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":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"title","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"title","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":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":"INPUT_OBJECT","name":"HistoryEntryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"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":"isPublic","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"administrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","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}],"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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"subTotalBeforeTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"subTotal","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"shipping","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"shippingWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"totalBeforeTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"total","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"active","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"subTotalBeforeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"subTotal","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"shipping","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"shippingWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"totalBeforeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"total","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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}],"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":"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":"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}],"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":"Int","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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"orderItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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":"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":"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":"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":"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},{"name":"orderItem","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"Product","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":"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":"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":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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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}],"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":"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":"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":"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":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":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":"INPUT_OBJECT","name":"CustomerGroupListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerGroupSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":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":"FacetListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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":"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":"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":"customFieldConfig","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomFields","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":"CustomFields","description":null,"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":"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":"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":"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":"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":"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":"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}],"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":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}],"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":"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":"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":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","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":"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}],"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":"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}],"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}],"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"JobSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"JobFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"startedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"settledAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"queueName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"progress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"duration","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"startedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"settledAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"queueName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"progress","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"isSettled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"duration","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":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":"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":"INPUT_OBJECT","name":"PaymentMethodListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaymentMethodSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":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":"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":"code","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":"configArgs","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},{"name":"definition","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":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},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null},{"name":"facetValueOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null},{"name":"collectionId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"collectionSlug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"groupByProduct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"INPUT_OBJECT","name":"SearchResultSortParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"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}],"inputFields":null,"interfaces":[],"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 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":"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":"productPreview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `productAsset.preview` instead"},{"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":"productVariantPreview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `productVariantAsset.preview` instead"},{"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 relevence 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":"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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","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":"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":"Int","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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","description":null,"fields":null,"inputFields":[{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"INPUT_OBJECT","name":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"startsAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"endsAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"couponCode","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"startsAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"endsAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"couponCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":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":"INPUT_OBJECT","name":"ShippingMethodListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ShippingMethodSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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},{"name":"calculator","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null},{"name":"shippingAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":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}],"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},{"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}],"interfaces":null,"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},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAddressInput","description":null,"fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine1","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","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":"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":"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},{"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}],"interfaces":null,"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","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":"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":"TaxRateListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":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":"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}],"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}],"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}],"type":{"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},{"name":"roleId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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}],"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}],"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":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":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":"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},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":"Authenticates the user using the native authentication strategy. This mutation\nis an alias for `authenticate({ native: { ... }})`","args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","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},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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}],"type":{"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}],"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}],"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}],"type":{"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}],"type":{"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}],"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}],"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}],"type":{"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}],"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}],"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}],"type":{"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},{"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}],"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},{"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}],"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},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","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}],"type":{"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},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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}],"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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","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}],"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}],"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},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"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}],"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}],"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},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":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":"updateGlobalSettings","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateGlobalSettingsInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"GlobalSettings","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}],"type":{"kind":"OBJECT","name":"ImportInfo","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeSettledJobs","description":"Remove all settled jobs in the given queues olfer 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},{"name":"olderThan","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Payment","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FulfillOrderInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","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}],"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}],"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}],"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},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","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},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","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}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"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}],"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}],"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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","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":"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}],"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}],"type":{"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}],"type":{"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},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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}],"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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignProductsToChannel","description":"Assigns Products 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}],"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 Products 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}],"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":"createPromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","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}],"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}],"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}],"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}],"type":{"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}],"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}],"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}],"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}],"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}],"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}],"type":{"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}],"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}],"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}],"type":{"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}],"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}],"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}],"type":{"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},{"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}],"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},{"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}],"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":"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},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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}],"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},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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}],"interfaces":null,"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":"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":"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}],"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":"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":"OBJECT","name":"MimeTypeError","description":null,"fields":[{"name":"code","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":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"code","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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MimeTypeError","ofType":null}]},{"kind":"ENUM","name":"ErrorCode","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UnknownError","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MimeTypeError","description":null,"isDeprecated":false,"deprecationReason":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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"focalPoint","description":null,"type":{"kind":"INPUT_OBJECT","name":"CoordinateInput","ofType":null},"defaultValue":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},{"name":"y","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"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}],"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},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"defaultValue":null},{"name":"defaultTaxZoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"token","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null},{"name":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"parentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"index","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":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},{"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},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":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},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":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},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"isPrivate","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"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}],"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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":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},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":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":"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},{"name":"method","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"trackingCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":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},{"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},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"shipping","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"adjustment","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"paymentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"transactionId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":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},{"name":"note","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"configArgs","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigArgInput","ofType":null}}},"defaultValue":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},{"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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"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}],"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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"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},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"taxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"stockOnHand","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":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},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"taxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"stockOnHand","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"priceFactor","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":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},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreatePromotionInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"startsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"endsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"couponCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":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},{"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}],"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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"startsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"endsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"couponCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":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},{"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}],"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},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"channelIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"channelIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"checker","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null},{"name":"calculator","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"checker","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null},{"name":"calculator","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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}],"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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"categoryId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"categoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"zoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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":"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 and description, 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":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"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"}],"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":[],"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}],"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` 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":[],"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}],"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":"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":[],"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},{"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},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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}],"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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"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}],"directives":[{"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}]},{"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}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["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\""}]}]}}} +{"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}],"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}],"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}],"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}],"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":[],"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":"channel","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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}],"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 speicified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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":"countries","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryListOptions","ofType":null},"defaultValue":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}],"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}],"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}],"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}],"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}],"type":{"kind":"OBJECT","name":"Customer","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}],"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}],"type":{"kind":"OBJECT","name":"Facet","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}],"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}],"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}],"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":"order","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderList","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}],"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}],"type":{"kind":"OBJECT","name":"PaymentMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"productOptionGroups","description":null,"args":[{"name":"filterTerm","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"products","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductListOptions","ofType":null},"defaultValue":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 speicified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Product","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}],"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}],"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}],"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":"roles","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleListOptions","ofType":null},"defaultValue":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}],"type":{"kind":"OBJECT","name":"Role","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}],"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}],"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":"testShippingMethod","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"TestShippingMethodInput","ofType":null}},"defaultValue":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}],"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":"taxCategories","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":"taxCategory","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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}],"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}],"type":{"kind":"OBJECT","name":"TaxRate","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"zones","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":"zone","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AdministratorListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AdministratorFilterParameter","ofType":null},"defaultValue":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":"INPUT_OBJECT","name":"AdministratorSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"INPUT_OBJECT","name":"AdministratorFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":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":"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},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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":"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":"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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CollectionList","ofType":null},{"kind":"OBJECT","name":"ProductVariantList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerGroupList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"JobList","ofType":null},{"kind":"OBJECT","name":"PaymentMethodList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"PromotionList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null},{"kind":"OBJECT","name":"ShippingMethodList","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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"Job","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"ENUM","name":"Permission","description":"\"\n@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks","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":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":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":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","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}],"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":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","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":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"CountryTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":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":"OBJECT","name":"CountryTranslation","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":"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":"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":"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":"INPUT_OBJECT","name":"AssetListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"fileSize","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"mimeType","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"width","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"height","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"source","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"preview","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"AssetFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"fileSize","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"mimeType","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"width","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"height","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"source","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"preview","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":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":"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},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"INPUT_OBJECT","name":"CollectionListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"position","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"position","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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":"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":"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}],"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":"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":"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":"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":"INPUT_OBJECT","name":"ProductVariantListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null},"defaultValue":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},{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"productId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"priceWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"stockOnHand","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"priceIncludesTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"priceWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":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":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"StockMovementList","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":"Int","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":"priceIncludesTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"StockMovementListOptions","description":null,"fields":null,"inputFields":[{"name":"type","description":null,"type":{"kind":"ENUM","name":"StockMovementType","ofType":null},"defaultValue":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":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":"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":"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":"UNION","name":"StockMovementItem","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","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":"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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":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},{"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":"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":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"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":"OrderItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","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":"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":"OrderItem","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":"cancelled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceIncludesTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":null,"args":[],"type":{"kind":"OBJECT","name":"Fulfillment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TAX","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TAX_REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROMOTION_REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING_REFUND","description":null,"isDeprecated":false,"deprecationReason":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":"orderItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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":"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":"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":"adjustments","description":"Order-level adjustments to the order total, such as discounts from promotions","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","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":"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":"subTotalBeforeTax","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 the OrderLines, before order-level promotions and shipping has been applied.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[],"type":{"kind":"OBJECT","name":"ShippingMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalBeforeTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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}],"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":"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}],"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}],"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":"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","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":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"title","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"title","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":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":"INPUT_OBJECT","name":"HistoryEntryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"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":"isPublic","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"administrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","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}],"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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"subTotalBeforeTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"subTotal","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"shipping","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"shippingWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"totalBeforeTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"total","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"active","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"subTotalBeforeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"subTotal","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"shipping","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"shippingWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"totalBeforeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"total","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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}],"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":"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":"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}],"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":"Int","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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"orderItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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":"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":"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":"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":"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},{"name":"orderItem","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"Product","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":"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":"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":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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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}],"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":"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":"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":"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":"INPUT_OBJECT","name":"CountryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CountryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":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":"INPUT_OBJECT","name":"CustomerGroupListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerGroupSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerGroupFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":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":"FacetListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"FacetFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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":"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":"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":"customFieldConfig","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomFields","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":"CustomFields","description":null,"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":"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":"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":"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":"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":"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":"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}],"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":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}],"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":"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":"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":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","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":"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}],"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":"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}],"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}],"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"JobSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"JobFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"startedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"settledAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"queueName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"progress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"duration","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"JobFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"startedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"settledAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"queueName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"progress","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"isSettled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"duration","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":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":"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":"INPUT_OBJECT","name":"PaymentMethodListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaymentMethodSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PaymentMethodFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":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":"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":"code","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":"configArgs","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},{"name":"definition","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":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},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null},{"name":"facetValueOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null},{"name":"collectionId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"collectionSlug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"groupByProduct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"INPUT_OBJECT","name":"SearchResultSortParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"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}],"inputFields":null,"interfaces":[],"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 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":"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":"productPreview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `productAsset.preview` instead"},{"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":"productVariantPreview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `productVariantAsset.preview` instead"},{"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 relevence 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":"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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","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":"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":"Int","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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","description":null,"fields":null,"inputFields":[{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"INPUT_OBJECT","name":"PromotionListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"startsAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"endsAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"couponCode","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"PromotionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"startsAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"endsAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"couponCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"INPUT_OBJECT","name":"RoleListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"RoleFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":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":"INPUT_OBJECT","name":"ShippingMethodListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ShippingMethodSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ShippingMethodFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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},{"name":"calculator","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null},{"name":"shippingAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":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}],"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},{"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}],"interfaces":null,"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},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAddressInput","description":null,"fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine1","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","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":"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":"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},{"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}],"interfaces":null,"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","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":"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":"TaxRateListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TaxRateFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":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":"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}],"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}],"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}],"type":{"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},{"name":"roleId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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}],"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}],"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":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":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":"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},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":"Authenticates the user using the native authentication strategy. This mutation\nis an alias for `authenticate({ native: { ... }})`","args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","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},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","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}],"type":{"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}],"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}],"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}],"type":{"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}],"type":{"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}],"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}],"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}],"type":{"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}],"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}],"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}],"type":{"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},{"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}],"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},{"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}],"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},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","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}],"type":{"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},{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateAddressInput","ofType":null}},"defaultValue":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}],"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}],"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}],"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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","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}],"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}],"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},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"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}],"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}],"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},{"name":"force","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":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":"updateGlobalSettings","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateGlobalSettingsInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"GlobalSettings","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}],"type":{"kind":"OBJECT","name":"ImportInfo","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeSettledJobs","description":"Remove all settled jobs in the given queues olfer 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},{"name":"olderThan","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Payment","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FulfillOrderInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Refund","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}],"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}],"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}],"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},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"state","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Fulfillment","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}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"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}],"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}],"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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","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":"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}],"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}],"type":{"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}],"type":{"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},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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","args":[{"name":"productId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"optionGroupId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","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}],"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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"DeletionResponse","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignProductsToChannel","description":"Assigns Products 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}],"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 Products 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}],"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":"createPromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Promotion","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}],"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}],"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}],"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}],"type":{"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}],"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}],"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}],"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}],"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}],"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}],"type":{"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}],"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}],"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}],"type":{"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}],"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}],"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}],"type":{"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},{"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}],"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},{"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}],"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":"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},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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}],"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},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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}],"interfaces":null,"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":"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":"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}],"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":"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":"OBJECT","name":"MimeTypeError","description":null,"fields":[{"name":"code","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":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"code","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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MimeTypeError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":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":"ORDER_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"focalPoint","description":null,"type":{"kind":"INPUT_OBJECT","name":"CoordinateInput","ofType":null},"defaultValue":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},{"name":"y","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"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}],"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},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"token","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","ofType":null}},"defaultValue":null},{"name":"defaultTaxZoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"token","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultLanguageCode","description":null,"type":{"kind":"ENUM","name":"LanguageCode","ofType":null},"defaultValue":null},{"name":"pricesIncludeTax","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"ENUM","name":"CurrencyCode","ofType":null},"defaultValue":null},{"name":"defaultTaxZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"defaultShippingZoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"parentId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"parentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"index","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":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},{"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},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":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},{"name":"customerIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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":"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},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":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},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"isPrivate","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"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}],"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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"isPrivate","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":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},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":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":"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},{"name":"method","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"trackingCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":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},{"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},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"shipping","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"adjustment","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"paymentId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"reason","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"transactionId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"note","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":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},{"name":"note","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":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":"OBJECT","name":"OrderStateTransitionError","description":"Returned if there is an error in transitioning the Order state","fields":[{"name":"code","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":"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"configArgs","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigArgInput","ofType":null}}},"defaultValue":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},{"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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"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}],"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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"assetIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"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},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"taxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"stockOnHand","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":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},{"name":"facetValueIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"taxCategoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"featuredAssetId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"stockOnHand","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"priceFactor","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":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},{"name":"channelId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreatePromotionInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"startsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"endsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"couponCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":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},{"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}],"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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"startsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"endsAt","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"couponCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"perCustomerUsageLimit","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":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},{"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}],"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},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"channelIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"channelIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"description","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"checker","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null},{"name":"calculator","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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},{"name":"code","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"checker","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null},{"name":"calculator","description":null,"type":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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}],"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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"enabled","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null},{"name":"categoryId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"zoneId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"enabled","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"categoryId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"zoneId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"customerGroupId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":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},{"name":"memberIds","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}},"defaultValue":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},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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":"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 and description, 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":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"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"}],"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":[],"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}],"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` 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":[],"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}],"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":"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":[],"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},{"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},{"name":"code","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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}],"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},{"name":"languageCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"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}],"directives":[{"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}]},{"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}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["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\""}]}]}}} diff --git a/schema-shop.json b/schema-shop.json index cb776c6431..a551aee645 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 `PaymentApproved` 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}],"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 speicified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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":"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}],"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}],"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 speicified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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}],"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}],"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":"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":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":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":"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":"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":"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":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","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":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"CountryTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":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":"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":"CountryTranslation","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":"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":"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}],"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":"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":"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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":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":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"subTotalBeforeTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"subTotal","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"shipping","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"shippingWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"totalBeforeTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"total","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"active","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"subTotalBeforeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"subTotal","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"shipping","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"shippingWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"totalBeforeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"total","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":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},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":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":"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},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"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":"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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"ProductVariantList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"CollectionList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"PromotionList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null},{"kind":"OBJECT","name":"ShippingMethodList","ofType":null},{"kind":"OBJECT","name":"TaxRateList","ofType":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":"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":"adjustments","description":"Order-level adjustments to the order total, such as discounts from promotions","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","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":"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":"subTotalBeforeTax","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 the OrderLines, before order-level promotions and shipping has been applied.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[],"type":{"kind":"OBJECT","name":"ShippingMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalBeforeTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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}],"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":"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}],"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":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"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":"OrderItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","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":"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":"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":"Int","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":"priceIncludesTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"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":"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":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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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}],"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":"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":"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":"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":"INPUT_OBJECT","name":"ProductVariantListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null},"defaultValue":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},{"name":"productId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"priceWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"priceIncludesTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"priceWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","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":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"title","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"title","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":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":"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":"OrderItem","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":"cancelled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceIncludesTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":null,"args":[],"type":{"kind":"OBJECT","name":"Fulfillment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TAX","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TAX_REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROMOTION_REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING_REFUND","description":null,"isDeprecated":false,"deprecationReason":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":"orderItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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":"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":"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}],"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":"Int","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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"orderItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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":"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":"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":"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":"HistoryEntryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"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":"isPublic","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"administrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","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}],"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"ENUM","name":"Permission","description":"\"\n@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks","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":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":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":"INPUT_OBJECT","name":"CollectionListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"position","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"position","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","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":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"INPUT_OBJECT","name":"SearchInput","description":null,"fields":null,"inputFields":[{"name":"term","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"facetValueOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null},{"name":"collectionId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"collectionSlug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"groupByProduct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"INPUT_OBJECT","name":"SearchResultSortParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"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}],"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":"productPreview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `productAsset.preview` instead"},{"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":"productVariantPreview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `productVariantAsset.preview` instead"},{"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 relevence 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":"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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","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":"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":"Int","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":"Mutation","description":null,"fields":[{"name":"addItemToOrder","description":"Adds an item to the order. If custom fields are defined on the OrderLine\nentity, 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},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"removeAllOrderLines","description":"Remove all OrderLine from the Order","args":[],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"adjustOrderLine","description":"Adjusts an OrderLine. If custom fields are defined on the OrderLine entity, a\nthird 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},{"name":"quantity","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"OBJECT","name":"Order","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}],"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}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderShippingMethod","description":"Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query","args":[{"name":"shippingMethodId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":"Authenticates the user using the native authentication strategy. This mutation\nis an alias for `authenticate({ native: { ... }})`","args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","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},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":"End the current authenticated session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refreshCustomerVerification","description":"Regenerate and send a verification token for a new Customer registration. Only\napplicable 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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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\nbe created (and typically emailed to the Customer). That\n verificationToken would then be passed to the `verifyCustomerAccount`\nmutation _without_ a password. The Customer is then\n verified and authenticated in one step.\n2. **The Customer is registered _without_ a password**. A verificationToken\nwill be created (and typically emailed to the Customer). That\n verificationToken would then be passed to the `verifyCustomerAccount`\nmutation _with_ the chosed 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\nneeded - 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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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}],"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}],"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}],"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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verifyCustomerAccount","description":"Verify a Customer email address with the token sent to that address. Only\napplicable if `authOptions.requireVerification` is set to true.\n\nIf the Customer was not registered with a password in the `registerCustomerAccount` mutation, the a 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},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","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},{"name":"newPassword","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"SCALAR","name":"Boolean","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},{"name":"newEmailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"SCALAR","name":"Boolean","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}],"type":{"kind":"SCALAR","name":"Boolean","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}],"type":{"kind":"SCALAR","name":"Boolean","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},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CreateAddressInput","description":null,"fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine1","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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}],"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 PaymentMethodHandler.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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}],"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},{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"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}],"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},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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":"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 and description, 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":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"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"}],"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":[],"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}],"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` 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":[],"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}],"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":"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":[],"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},{"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":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}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"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":"DateTimeCustomFieldConfig","ofType":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":"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":"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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":null}]},{"kind":"ENUM","name":"StockMovementType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ADJUSTMENT","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":"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":"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":"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},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"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":"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},{"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}],"interfaces":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":"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":"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":"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}],"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":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","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":"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}],"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":"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}],"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomFields","description":null,"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":"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":"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":"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":"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":"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":"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}],"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":"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":"ErrorCode","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UnknownError","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"code","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":null,"enumValues":null,"possibleTypes":[]},{"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":"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":"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":"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":"customFieldConfig","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomFields","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":"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":"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":"code","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":"configArgs","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},{"name":"definition","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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":"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},{"name":"orderItem","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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":"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},{"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":"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":"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":"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":"UNION","name":"StockMovementItem","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","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":"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":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null}],"directives":[{"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}]},{"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}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["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\""}]}]}}} +{"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 `PaymentApproved` 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}],"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 speicified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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":"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}],"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}],"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 speicified, an error will result.","args":[{"name":"id","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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}],"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}],"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":"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":"currencyCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"CurrencyCode","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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":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":"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":"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":"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":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Country","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":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"CountryTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":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":"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":"CountryTranslation","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":"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":"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}],"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":"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":"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":"INPUT_OBJECT","name":"OrderListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"OrderFilterParameter","ofType":null},"defaultValue":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":"INPUT_OBJECT","name":"OrderSortParameter","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"subTotalBeforeTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"subTotal","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"shipping","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"shippingWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"totalBeforeTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"total","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"INPUT_OBJECT","name":"OrderFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"code","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"state","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"active","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"subTotalBeforeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"subTotal","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"shipping","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"shippingWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"totalBeforeTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"total","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"DateOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"before","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"after","description":null,"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateRange","ofType":null},"defaultValue":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},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"StringOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"contains","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"BooleanOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"NumberOperators","description":null,"fields":null,"inputFields":[{"name":"eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"between","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberRange","ofType":null},"defaultValue":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":"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},{"name":"end","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"defaultValue":null}],"interfaces":null,"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":"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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"OrderList","ofType":null},{"kind":"OBJECT","name":"ProductVariantList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"CollectionList","ofType":null},{"kind":"OBJECT","name":"ProductList","ofType":null},{"kind":"OBJECT","name":"AdministratorList","ofType":null},{"kind":"OBJECT","name":"AssetList","ofType":null},{"kind":"OBJECT","name":"CountryList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"PromotionList","ofType":null},{"kind":"OBJECT","name":"RoleList","ofType":null},{"kind":"OBJECT","name":"ShippingMethodList","ofType":null},{"kind":"OBJECT","name":"TaxRateList","ofType":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":"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":"adjustments","description":"Order-level adjustments to the order total, such as discounts from promotions","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"couponCodes","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":"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":"subTotalBeforeTax","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 the OrderLines, before order-level promotions and shipping has been applied.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shippingMethod","description":null,"args":[],"type":{"kind":"OBJECT","name":"ShippingMethod","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"totalBeforeTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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}],"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":"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}],"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":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"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":"OrderItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","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":"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":"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":"Int","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":"priceIncludesTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"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":"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":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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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}],"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":"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":"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":"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":"INPUT_OBJECT","name":"ProductVariantListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","ofType":null},"defaultValue":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},{"name":"productId","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"priceWithTax","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"sku","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"currencyCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"priceIncludesTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"priceWithTax","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null}],"interfaces":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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":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}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomerList","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":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"title","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CustomerFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"title","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":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":"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":"OrderItem","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":"cancelled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPrice","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceIncludesTax","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"adjustments","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Adjustment","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"fulfillment","description":null,"args":[],"type":{"kind":"OBJECT","name":"Fulfillment","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"SCALAR","name":"ID","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TAX","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROMOTION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"TAX_REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PROMOTION_REFUND","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SHIPPING_REFUND","description":null,"isDeprecated":false,"deprecationReason":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":"orderItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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":"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":"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}],"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":"Int","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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"shipping","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"adjustment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"total","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"orderItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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":"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":"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":"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":"HistoryEntryListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntrySortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"HistoryEntryFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"isPublic","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"type","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"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":"isPublic","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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":"administrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","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}],"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","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":"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":"ENUM","name":"Permission","description":"\"\n@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":" The Authenticated role means simply that the user is logged in ","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":" SuperAdmin can perform the most sensitive tasks","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":"CreateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":null,"isDeprecated":false,"deprecationReason":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":"INPUT_OBJECT","name":"CollectionListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"position","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"CollectionFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"position","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"priceWithTax","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":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":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":"INPUT_OBJECT","name":"ProductListOptions","description":null,"fields":null,"inputFields":[{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductSortParameter","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","ofType":null},"defaultValue":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},{"name":"createdAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ProductFilterParameter","description":null,"fields":null,"inputFields":[{"name":"createdAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"updatedAt","description":null,"type":{"kind":"INPUT_OBJECT","name":"DateOperators","ofType":null},"defaultValue":null},{"name":"languageCode","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"slug","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"description","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null}],"interfaces":null,"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":"INPUT_OBJECT","name":"SearchInput","description":null,"fields":null,"inputFields":[{"name":"term","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"facetValueOperator","description":null,"type":{"kind":"ENUM","name":"LogicalOperator","ofType":null},"defaultValue":null},{"name":"collectionId","description":null,"type":{"kind":"SCALAR","name":"ID","ofType":null},"defaultValue":null},{"name":"collectionSlug","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"groupByProduct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"take","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"skip","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"sort","description":null,"type":{"kind":"INPUT_OBJECT","name":"SearchResultSortParameter","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":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":"INPUT_OBJECT","name":"SearchResultSortParameter","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"price","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null}],"interfaces":null,"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}],"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":"productPreview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `productAsset.preview` instead"},{"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":"productVariantPreview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":true,"deprecationReason":"Use `productVariantAsset.preview` instead"},{"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 relevence 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":"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":"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":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","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":"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":"Int","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":"Mutation","description":null,"fields":[{"name":"addItemToOrder","description":"Adds an item to the order. If custom fields are defined on the OrderLine\nentity, 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},{"name":"quantity","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":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}],"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\nthird 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},{"name":"quantity","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":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}],"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}],"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}],"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}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"OBJECT","name":"Order","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}],"type":{"kind":"OBJECT","name":"Order","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"setOrderShippingMethod","description":"Sets the shipping method by id, which can be obtained with the `eligibleShippingMethods` query","args":[{"name":"shippingMethodId","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":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}],"type":{"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}],"type":{"kind":"UNION","name":"SetCustomerForOrderResult","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"login","description":"Authenticates the user using the native authentication strategy. This mutation\nis an alias for `authenticate({ native: { ... }})`","args":[{"name":"username","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","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},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":"End the current authenticated session","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","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\nbe created (and typically emailed to the Customer). That\n verificationToken would then be passed to the `verifyCustomerAccount`\nmutation _without_ a password. The Customer is then\n verified and authenticated in one step.\n2. **The Customer is registered _without_ a password**. A verificationToken\nwill be created (and typically emailed to the Customer). That\n verificationToken would then be passed to the `verifyCustomerAccount`\nmutation _with_ the chosed 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\nneeded - 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}],"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\napplicable 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}],"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}],"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}],"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}],"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}],"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\napplicable if `authOptions.requireVerification` is set to true.\n\nIf the Customer was not registered with a password in the `registerCustomerAccount` mutation, the a 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},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":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},{"name":"newPassword","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"newEmailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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}],"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}],"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},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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":"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":"OrderModificationError","description":"Returned when attempting to modify the contents of an Order that is not in the `AddingItems` state.","fields":[{"name":"code","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":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"code","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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"OrderModificationError","ofType":null},{"kind":"OBJECT","name":"OrderLimitError","ofType":null},{"kind":"OBJECT","name":"NegativeQuantityError","ofType":null},{"kind":"OBJECT","name":"CouponCodeExpiredError","ofType":null},{"kind":"OBJECT","name":"CouponCodeInvalidError","ofType":null},{"kind":"OBJECT","name":"CouponCodeLimitError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"OrderPaymentStateError","ofType":null},{"kind":"OBJECT","name":"PaymentFailedError","ofType":null},{"kind":"OBJECT","name":"PaymentDeclinedError","ofType":null},{"kind":"OBJECT","name":"AlreadyLoggedInError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null},{"kind":"OBJECT","name":"MissingPasswordError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null},{"kind":"OBJECT","name":"VerificationTokenInvalidError","ofType":null},{"kind":"OBJECT","name":"VerificationTokenExpiredError","ofType":null},{"kind":"OBJECT","name":"PasswordAlreadySetError","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","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":"ENUM","name":"ErrorCode","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UNKNOWN_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_MODIFICATION_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":"COUPON_CODE_EXPIRED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_INVALID_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"COUPON_CODE_LIMIT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_PAYMENT_STATE_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":"EMAIL_ADDRESS_CONFLICT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MISSING_PASSWORD_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NATIVE_AUTH_STRATEGY_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":"PASSWORD_ALREADY_SET_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVALID_CREDENTIALS_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}],"possibleTypes":null},{"kind":"OBJECT","name":"OrderLimitError","description":"Retured when the maximum order size limit has been reached.","fields":[{"name":"code","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":"Retured when attemting to set a negative OrderLine quantity.","fields":[{"name":"code","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":"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":"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":"OBJECT","name":"CouponCodeExpiredError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"code","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":"CouponCodeInvalidError","description":"Returned if the provided coupon code is invalid","fields":[{"name":"code","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":"code","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":"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":"OBJECT","name":"OrderStateTransitionError","description":"Returned if there is an error in transitioning the Order state","fields":[{"name":"code","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":"INPUT_OBJECT","name":"CreateAddressInput","description":null,"fields":null,"inputFields":[{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine1","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":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}],"interfaces":null,"enumValues":null,"possibleTypes":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":"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 PaymentMethodHandler.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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}],"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":"PaymentFailedError","ofType":null},{"kind":"OBJECT","name":"PaymentDeclinedError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":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":"code","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":"PaymentFailedError","description":"Returned when a Payment fails due to an error.","fields":[{"name":"code","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":"code","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":"INPUT_OBJECT","name":"CreateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"emailAddress","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":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":"AlreadyLoggedInError","description":"Retured when attemting to set the Customer for an Order when already logged in.","fields":[{"name":"code","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":"EmailAddressConflictError","description":"Retured when attemting to create a Customer with an email address already registered to an existing User.","fields":[{"name":"code","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":"LoginResult","description":null,"fields":[{"name":"user","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUser","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"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}],"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},{"name":"password","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":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},{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"password","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":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":"NativeAuthStrategyError","ofType":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":"MissingPasswordError","description":"Retured when attemting to register or verify a customer account without a password, when one is required.","fields":[{"name":"code","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":"NativeAuthStrategyError","description":"Retured when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured.","fields":[{"name":"code","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":"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":"INPUT_OBJECT","name":"UpdateCustomerInput","description":null,"fields":null,"inputFields":[{"name":"title","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"firstName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"lastName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"UpdateAddressInput","description":null,"fields":null,"inputFields":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null},{"name":"fullName","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"company","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine1","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"streetLine2","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"city","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"province","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"postalCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"countryCode","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"phoneNumber","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"defaultShippingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"defaultBillingAddress","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":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":"PasswordAlreadySetError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"OBJECT","name":"VerificationTokenInvalidError","description":"Retured if the verification token (used to verify a Customer's email address) is either\ninvalid or does not match any expected tokens.","fields":[{"name":"code","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":"code","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":"PasswordAlreadySetError","description":"Retured when attemting to verify a customer account with a password, when a password has already been set.","fields":[{"name":"code","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":"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":"NativeAuthStrategyError","ofType":null}]},{"kind":"OBJECT","name":"InvalidCredentialsError","description":"Returned if the user credentials are not valid","fields":[{"name":"code","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":"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":"OBJECT","name":"IdentifierChangeTokenInvalidError","description":"Retured if the token used to change a Customer's email address is either\ninvalid or does not match any expected tokens.","fields":[{"name":"code","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":"Retured 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":"code","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":"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":"NativeAuthStrategyError","ofType":null}]},{"kind":"OBJECT","name":"PasswordResetTokenInvalidError","description":"Retured if the token used to reset a Customer's password is either\ninvalid or does not match any expected tokens.","fields":[{"name":"code","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":"Retured 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":"code","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":"__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":"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 and description, 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":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"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"}],"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":[],"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}],"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` 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":[],"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}],"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":"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":[],"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},{"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":"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":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}],"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"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":"DateTimeCustomFieldConfig","ofType":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":"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":"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":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":null}]},{"kind":"ENUM","name":"StockMovementType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ADJUSTMENT","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":"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":"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":"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},{"name":"value","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"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":"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},{"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}],"interfaces":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":"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":"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":"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}],"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":"pattern","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","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":"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}],"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":"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}],"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":"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}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"CustomField","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CustomFields","description":null,"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":"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":"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":"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":"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":"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":"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}],"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":"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":"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":"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":"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":"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":"customFieldConfig","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CustomFields","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":"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":"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":"code","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":"configArgs","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},{"name":"definition","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperationDefinition","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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":"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},{"name":"orderItem","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderItem","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":"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":"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},{"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":"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":"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":"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":"UNION","name":"StockMovementItem","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","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":"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":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null}],"directives":[{"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}]},{"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}]},{"name":"deprecated","description":"Marks an element of a GraphQL schema as no longer supported.","locations":["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\""}]}]}}} diff --git a/scripts/codegen/generate-graphql-types.ts b/scripts/codegen/generate-graphql-types.ts index 0cc5dbe30c..cb0c030cae 100644 --- a/scripts/codegen/generate-graphql-types.ts +++ b/scripts/codegen/generate-graphql-types.ts @@ -50,6 +50,10 @@ Promise.all([ }, strict: true, }; + const e2eConfig = { + ...config, + skipTypename: true, + }; const disableTsLintPlugin = { add: { content: '// tslint:disable' } }; const graphQlErrorsPlugin = path.join(__dirname, './plugins/graphql-errors-plugin.js'); const commonPlugins = [disableTsLintPlugin, 'typescript']; @@ -72,17 +76,17 @@ Promise.all([ schema: [SHOP_SCHEMA_OUTPUT_FILE], plugins: [disableTsLintPlugin, graphQlErrorsPlugin], }, - /*[path.join(__dirname, '../../packages/core/e2e/graphql/generated-e2e-admin-types.ts')]: { + [path.join(__dirname, '../../packages/core/e2e/graphql/generated-e2e-admin-types.ts')]: { schema: [ADMIN_SCHEMA_OUTPUT_FILE], documents: E2E_ADMIN_QUERY_FILES, plugins: clientPlugins, - config, + config: e2eConfig, }, [path.join(__dirname, '../../packages/core/e2e/graphql/generated-e2e-shop-types.ts')]: { schema: [SHOP_SCHEMA_OUTPUT_FILE], documents: E2E_SHOP_QUERY_FILES, plugins: clientPlugins, - config, + config: e2eConfig, }, [path.join( __dirname, @@ -91,7 +95,7 @@ Promise.all([ schema: [ADMIN_SCHEMA_OUTPUT_FILE], documents: E2E_ELASTICSEARCH_PLUGIN_QUERY_FILES, plugins: clientPlugins, - config, + config: e2eConfig, }, [path.join( __dirname, @@ -100,26 +104,26 @@ Promise.all([ schema: [ADMIN_SCHEMA_OUTPUT_FILE], documents: E2E_ASSET_SERVER_PLUGIN_QUERY_FILES, plugins: clientPlugins, - config, - }, - [path.join( - __dirname, - '../../packages/admin-ui/src/lib/core/src/common/generated-types.ts', - )]: { - schema: [ADMIN_SCHEMA_OUTPUT_FILE, path.join(__dirname, 'client-schema.ts')], - documents: CLIENT_QUERY_FILES, - plugins: clientPlugins, - config, - }, - [path.join( - __dirname, - '../../packages/admin-ui/src/lib/core/src/common/introspection-result.ts', - )]: { - schema: [ADMIN_SCHEMA_OUTPUT_FILE, path.join(__dirname, 'client-schema.ts')], - documents: CLIENT_QUERY_FILES, - plugins: [disableTsLintPlugin, 'fragment-matcher'], - config, + config: e2eConfig, }, + // [path.join( + // __dirname, + // '../../packages/admin-ui/src/lib/core/src/common/generated-types.ts', + // )]: { + // schema: [ADMIN_SCHEMA_OUTPUT_FILE, path.join(__dirname, 'client-schema.ts')], + // documents: CLIENT_QUERY_FILES, + // plugins: clientPlugins, + // config, + // }, + // [path.join( + // __dirname, + // '../../packages/admin-ui/src/lib/core/src/common/introspection-result.ts', + // )]: { + // schema: [ADMIN_SCHEMA_OUTPUT_FILE, path.join(__dirname, 'client-schema.ts')], + // documents: CLIENT_QUERY_FILES, + // plugins: [disableTsLintPlugin, 'fragment-matcher'], + // config, + // }, [path.join(__dirname, '../../packages/common/src/generated-types.ts')]: { schema: [ADMIN_SCHEMA_OUTPUT_FILE], plugins: commonPlugins, @@ -141,7 +145,7 @@ Promise.all([ }, maybeValue: 'T', }, - },*/ + }, }, }); }) diff --git a/scripts/codegen/plugins/graphql-errors-plugin.ts b/scripts/codegen/plugins/graphql-errors-plugin.ts index 25b858c2b8..2d8a187b64 100644 --- a/scripts/codegen/plugins/graphql-errors-plugin.ts +++ b/scripts/codegen/plugins/graphql-errors-plugin.ts @@ -68,9 +68,12 @@ const errorsVisitor: Visitor = { return [ `export class ${node.name.value} extends ${ERROR_INTERFACE_NAME} {`, ` readonly __typename = '${node.name.value}';`, - ` readonly code = ErrorCode.${node.name.value};`, + ` readonly code = ErrorCode.${camelToUpperSnakeCase(node.name.value)};`, + ` readonly message = '${camelToUpperSnakeCase(node.name.value)}';`, ` constructor(`, - ...node.fields.filter(f => !(f as any).includes('code:')).map(f => ` public ${f},`), + ...node.fields + .filter(f => !(f as any).includes('code:') && !(f as any).includes('message:')) + .map(f => ` public ${f},`), ` ) {`, ` super();`, ` }`, @@ -83,11 +86,14 @@ export const plugin: PluginFunction = (schema, documents, config, info) => const printedSchema = printSchema(schema); // Returns a string representation of the schema const astNode = parse(printedSchema); // Transforms the string into ASTNode const result = visit(astNode, { leave: errorsVisitor }); - const defs = result.definitions.filter(d => !!d); + const defs = result.definitions + .filter(d => !!d) + // Ensure the ErrorResult base class is first + .sort((a, b) => (a.includes('class ErrorResult') ? -1 : 1)); return { content: [ `/** This file was generated by the graphql-errors-plugin, which is part of the "codegen" npm script. */`, - `import { ErrorCode } from '@vendure/common/lib/generated-types';`, + generateErrorCodeImport(schema), generateScalars(schema, config), ...defs, defs.length ? generateIsErrorFunction(schema) : '', @@ -96,6 +102,11 @@ export const plugin: PluginFunction = (schema, documents, config, info) => }; }; +function generateErrorCodeImport(schema: GraphQLSchema): string { + const typesFile = isAdminApi(schema) ? `generated-types` : `generated-shop-types`; + return `import { ErrorCode } from '@vendure/common/lib/${typesFile}';`; +} + function generateScalars(schema: GraphQLSchema, config: any): string { const scalarMap = buildScalars(schema, config.scalars); const allScalars = Object.keys(scalarMap) @@ -123,7 +134,7 @@ function generateIsErrorFunction(schema: GraphQLSchema) { .filter(node => inheritsFromErrorResult(node)); return ` const errorTypeNames = new Set([${errorNodes.map(n => `'${n.name.value}'`).join(', ')}]); -export function isGraphQLError(input: any): input is import('@vendure/common/lib/generated-types').${ERROR_INTERFACE_NAME} { +function isGraphQLError(input: any): input is import('@vendure/common/lib/generated-types').${ERROR_INTERFACE_NAME} { return input instanceof ${ERROR_INTERFACE_NAME} || errorTypeNames.has(input.__typename); }`; } @@ -132,20 +143,25 @@ function generateTypeResolvers(schema: GraphQLSchema) { const mutations = getOperationsThatReturnErrorUnions(schema, schema.getMutationType().getFields()); const queries = getOperationsThatReturnErrorUnions(schema, schema.getQueryType().getFields()); const operations = [...mutations, ...queries]; - const isAdminApi = !!schema.getType('UpdateGlobalSettingsInput'); - const varName = isAdminApi ? `adminErrorOperationTypeResolvers` : `shopErrorOperationTypeResolvers`; + const varName = isAdminApi(schema) + ? `adminErrorOperationTypeResolvers` + : `shopErrorOperationTypeResolvers`; const result = [`export const ${varName} = {`]; + const typesHandled = new Set(); for (const operation of operations) { const returnType = unwrapType(operation.type) as GraphQLUnionType; - const nonErrorResult = returnType.getTypes().find(t => !inheritsFromErrorResult(t)); - result.push( - ` ${returnType.name}: {`, - ` __resolveType(value: any) {`, - // tslint:disable-next-line:no-non-null-assertion - ` return isGraphQLError(value) ? (value as any).__typename : '${nonErrorResult!.name}';`, - ` },`, - ` },`, - ); + if (!typesHandled.has(returnType.name)) { + typesHandled.add(returnType.name); + const nonErrorResult = returnType.getTypes().find(t => !inheritsFromErrorResult(t)); + result.push( + ` ${returnType.name}: {`, + ` __resolveType(value: any) {`, + // tslint:disable-next-line:no-non-null-assertion + ` return isGraphQLError(value) ? (value as any).__typename : '${nonErrorResult!.name}';`, + ` },`, + ` },`, + ); + } } result.push(`};`); return result.join('\n'); @@ -198,3 +214,11 @@ function unwrapType(type: GraphQLType): GraphQLNamedType { } return innerType; } + +function isAdminApi(schema: GraphQLSchema): boolean { + return !!schema.getType('UpdateGlobalSettingsInput'); +} + +function camelToUpperSnakeCase(input: string): string { + return input.replace(/([a-z])([A-Z])/g, '$1_$2').toUpperCase(); +}