From 4c1a2be7cbf1244adb6a9df7fadde649b53b720a Mon Sep 17 00:00:00 2001 From: hendrikdepauw Date: Wed, 18 Nov 2020 20:56:59 +0100 Subject: [PATCH 1/5] feat(core): ChannelAware ProductVariants --- .../__snapshots__/product.e2e-spec.ts.snap | 41 ++++- packages/core/e2e/product.e2e-spec.ts | 37 +++++ .../api/resolvers/admin/product.resolver.ts | 22 +++ .../entity/product-entity.resolver.ts | 6 +- .../entity/product-variant-entity.resolver.ts | 16 +- .../api/schema/admin-api/product.api.graphql | 40 ++++- .../importer/fast-importer.service.ts | 2 +- .../providers/importer/importer.ts | 1 + .../product-variant/product-variant.entity.ts | 11 +- .../core/src/entity/product/product.entity.ts | 24 ++- .../events/product-variant-channel-event.ts | 23 +++ .../indexer/indexer.controller.ts | 2 +- .../services/product-variant.service.ts | 147 ++++++++++++++---- .../src/service/services/product.service.ts | 131 ++++++++-------- .../transaction/transactional-connection.ts | 2 +- 15 files changed, 379 insertions(+), 126 deletions(-) create mode 100644 packages/core/src/event-bus/events/product-variant-channel-event.ts diff --git a/packages/core/e2e/__snapshots__/product.e2e-spec.ts.snap b/packages/core/e2e/__snapshots__/product.e2e-spec.ts.snap index 349d4a2132..f9e52691de 100644 --- a/packages/core/e2e/__snapshots__/product.e2e-spec.ts.snap +++ b/packages/core/e2e/__snapshots__/product.e2e-spec.ts.snap @@ -18,7 +18,46 @@ Object { "name": "en Baked Potato", "optionGroups": Array [], "slug": "en-baked-potato", - "variants": Array [], + "variants": Array [ + Object { + "assets": Array [], + "currencyCode": "USD", + "enabled": true, + "facetValues": Array [], + "featuredAsset": null, + "id": "T_35", + "languageCode": "en", + "name": "Small Baked Potato", + "options": Array [], + "price": 0, + "priceIncludesTax": false, + "priceWithTax": 0, + "sku": "PV0", + "stockOnHand": 0, + "taxCategory": Object { + "id": "T_1", + "name": "Standard Tax", + }, + "taxRateApplied": Object { + "id": "T_2", + "name": "Standard Tax Europe", + "value": 20, + }, + "trackInventory": "INHERIT", + "translations": Array [ + Object { + "id": "T_35", + "languageCode": "en", + "name": "Small Baked Potato", + }, + Object { + "id": "T_36", + "languageCode": "de", + "name": "Klein baked Erdapfel", + }, + ], + }, + ], } `; diff --git a/packages/core/e2e/product.e2e-spec.ts b/packages/core/e2e/product.e2e-spec.ts index 7713cf23f3..402c5046eb 100644 --- a/packages/core/e2e/product.e2e-spec.ts +++ b/packages/core/e2e/product.e2e-spec.ts @@ -368,6 +368,21 @@ describe('Product resolver', () => { description: 'Eine baked Erdapfel', }, ], + variants: [ + { + translations: [ + { + languageCode: LanguageCode.en, + name: 'Small Baked Potato', + }, + { + languageCode: LanguageCode.de, + name: 'Klein baked Erdapfel', + }, + ], + sku: 'PV0', + }, + ], }, }, ); @@ -400,6 +415,17 @@ describe('Product resolver', () => { description: 'A product with assets', }, ], + variants: [ + { + translations: [ + { + languageCode: LanguageCode.en, + name: 'A productVariant with assets', + }, + ], + sku: 'PV0', + }, + ], }, }, ); @@ -470,6 +496,17 @@ describe('Product resolver', () => { description: 'Another baked potato but a bit different', }, ], + variants: [ + { + translations: [ + { + languageCode: LanguageCode.en, + name: 'Another small Baked Potato', + }, + ], + sku: 'PV0', + }, + ], }, }, ); diff --git a/packages/core/src/api/resolvers/admin/product.resolver.ts b/packages/core/src/api/resolvers/admin/product.resolver.ts index 7394e87961..315ebd5eac 100644 --- a/packages/core/src/api/resolvers/admin/product.resolver.ts +++ b/packages/core/src/api/resolvers/admin/product.resolver.ts @@ -3,12 +3,14 @@ import { DeletionResponse, MutationAddOptionGroupToProductArgs, MutationAssignProductsToChannelArgs, + MutationAssignProductVariantsToChannelArgs, MutationCreateProductArgs, MutationCreateProductVariantsArgs, MutationDeleteProductArgs, MutationDeleteProductVariantArgs, MutationRemoveOptionGroupFromProductArgs, MutationRemoveProductsFromChannelArgs, + MutationRemoveProductVariantsFromChannelArgs, MutationUpdateProductArgs, MutationUpdateProductVariantsArgs, Permission, @@ -182,4 +184,24 @@ export class ProductResolver { ): Promise>> { return this.productService.removeProductsFromChannel(ctx, args.input); } + + @Transaction() + @Mutation() + @Allow(Permission.UpdateCatalog) + async assignProductVariantsToChannel( + @Ctx() ctx: RequestContext, + @Args() args: MutationAssignProductVariantsToChannelArgs, + ): Promise>> { + return this.productVariantService.assignProductVariantsToChannel(ctx, args.input); + } + + @Transaction() + @Mutation() + @Allow(Permission.UpdateCatalog) + async removeProductVariantsFromChannel( + @Ctx() ctx: RequestContext, + @Args() args: MutationRemoveProductVariantsFromChannelArgs, + ): Promise>> { + return this.productVariantService.removeProductVariantsFromChannel(ctx, args.input); + } } diff --git a/packages/core/src/api/resolvers/entity/product-entity.resolver.ts b/packages/core/src/api/resolvers/entity/product-entity.resolver.ts index aa716c1a34..090485ee6f 100644 --- a/packages/core/src/api/resolvers/entity/product-entity.resolver.ts +++ b/packages/core/src/api/resolvers/entity/product-entity.resolver.ts @@ -88,10 +88,6 @@ export class ProductAdminEntityResolver { @ResolveField() async channels(@Ctx() ctx: RequestContext, @Parent() product: Product): Promise { - if (product.channels) { - return product.channels; - } else { - return this.productService.getProductChannels(ctx, product.id); - } + return this.productService.getProductChannels(ctx, product.id); } } diff --git a/packages/core/src/api/resolvers/entity/product-variant-entity.resolver.ts b/packages/core/src/api/resolvers/entity/product-variant-entity.resolver.ts index ea94e3704d..44164884e6 100644 --- a/packages/core/src/api/resolvers/entity/product-variant-entity.resolver.ts +++ b/packages/core/src/api/resolvers/entity/product-variant-entity.resolver.ts @@ -3,7 +3,7 @@ import { StockMovementListOptions } from '@vendure/common/lib/generated-types'; import { PaginatedList } from '@vendure/common/lib/shared-types'; import { Translated } from '../../../common/types/locale-types'; -import { Asset, FacetValue, Product, ProductOption } from '../../../entity'; +import { Asset, Channel, FacetValue, Product, ProductOption } from '../../../entity'; import { ProductVariant } from '../../../entity/product-variant/product-variant.entity'; import { StockMovement } from '../../../entity/stock-movement/stock-movement.entity'; import { AssetService } from '../../../service/services/asset.service'; @@ -80,7 +80,10 @@ export class ProductVariantEntityResolver { @Resolver('ProductVariant') export class ProductVariantAdminEntityResolver { - constructor(private stockMovementService: StockMovementService) {} + constructor( + private productVariantService: ProductVariantService, + private stockMovementService: StockMovementService, + ) {} @ResolveField() async stockMovements( @@ -94,4 +97,13 @@ export class ProductVariantAdminEntityResolver { args.options, ); } + + @ResolveField() + async channels(@Ctx() ctx: RequestContext, @Parent() productVariant: ProductVariant): Promise { + if (productVariant.channels) { + return productVariant.channels; + } else { + return this.productVariantService.getProductVariantChannels(ctx, productVariant.id); + } + } } diff --git a/packages/core/src/api/schema/admin-api/product.api.graphql b/packages/core/src/api/schema/admin-api/product.api.graphql index f0d2387dc3..2de7b16aa3 100644 --- a/packages/core/src/api/schema/admin-api/product.api.graphql +++ b/packages/core/src/api/schema/admin-api/product.api.graphql @@ -7,7 +7,7 @@ type Query { } type Mutation { - "Create a new Product" + "Create a new Product. Must provide at least one ProductVariant" createProduct(input: CreateProductInput!): Product! "Update an existing Product" @@ -31,11 +31,17 @@ type Mutation { "Delete a ProductVariant" deleteProductVariant(id: ID!): DeletionResponse! - "Assigns Products to the specified Channel" + "Assigns all ProductVariants of Product to the specified Channel" assignProductsToChannel(input: AssignProductsToChannelInput!): [Product!]! - "Removes Products from the specified Channel" + "Removes all ProductVariants of Product from the specified Channel" removeProductsFromChannel(input: RemoveProductsFromChannelInput!): [Product!]! + + "Assigns ProductVariants to the specified Channel" + assignProductVariantsToChannel(input: AssignProductVariantsToChannelInput!): [ProductVariant!]! + + "Removes ProductVariants from the specified Channel" + removeProductVariantsFromChannel(input: RemoveProductVariantsFromChannelInput!): [ProductVariant!]! } type Product implements Node { @@ -51,6 +57,7 @@ type ProductVariant implements Node { outOfStockThreshold: Int! useGlobalOutOfStockThreshold: Boolean! stockMovements(options: StockMovementListOptions): StockMovementList! + channels: [Channel!]! } input StockMovementListOptions { @@ -75,6 +82,22 @@ input CreateProductInput { assetIds: [ID!] facetValueIds: [ID!] translations: [ProductTranslationInput!]! + variants: [CreateProductProductVariantInput!]! +} + +input CreateProductProductVariantInput { + translations: [ProductVariantTranslationInput!]! + facetValueIds: [ID!] + sku: String! + price: Int + taxCategoryId: ID + optionIds: [ID!] + featuredAssetId: ID + assetIds: [ID!] + stockOnHand: Int + outOfStockThreshold: Int + useGlobalOutOfStockThreshold: Boolean + trackInventory: GlobalFlag } input UpdateProductInput { @@ -147,6 +170,17 @@ input RemoveProductsFromChannelInput { channelId: ID! } +input AssignProductVariantsToChannelInput { + productVariantIds: [ID!]! + channelId: ID! + priceFactor: Float +} + +input RemoveProductVariantsFromChannelInput { + productVariantIds: [ID!]! + channelId: ID! +} + type ProductOptionInUseError implements ErrorResult { errorCode: ErrorCode! message: String! diff --git a/packages/core/src/data-import/providers/importer/fast-importer.service.ts b/packages/core/src/data-import/providers/importer/fast-importer.service.ts index c986030384..2023dde540 100644 --- a/packages/core/src/data-import/providers/importer/fast-importer.service.ts +++ b/packages/core/src/data-import/providers/importer/fast-importer.service.ts @@ -52,7 +52,6 @@ export class FastImporterService { entityType: Product, translationType: ProductTranslation, beforeSave: async p => { - p.channels = [this.defaultChannel]; if (input.facetValueIds) { p.facetValues = input.facetValueIds.map(id => ({ id } as any)); } @@ -119,6 +118,7 @@ export class FastImporterService { entityType: ProductVariant, translationType: ProductVariantTranslation, beforeSave: async variant => { + variant.channels = [this.defaultChannel]; const { optionIds } = input; if (optionIds && optionIds.length) { variant.options = optionIds.map(id => ({ id } as any)); diff --git a/packages/core/src/data-import/providers/importer/importer.ts b/packages/core/src/data-import/providers/importer/importer.ts index 37bdd21cce..f3a89942b2 100644 --- a/packages/core/src/data-import/providers/importer/importer.ts +++ b/packages/core/src/data-import/providers/importer/importer.ts @@ -161,6 +161,7 @@ export class Importer { }, ], customFields: product.customFields, + variants: [], }); const optionsMap: { [optionName: string]: ID } = {}; diff --git a/packages/core/src/entity/product-variant/product-variant.entity.ts b/packages/core/src/entity/product-variant/product-variant.entity.ts index 90ce8dff51..66fbc4861b 100644 --- a/packages/core/src/entity/product-variant/product-variant.entity.ts +++ b/packages/core/src/entity/product-variant/product-variant.entity.ts @@ -2,11 +2,12 @@ import { CurrencyCode, GlobalFlag } from '@vendure/common/lib/generated-types'; import { DeepPartial, ID } from '@vendure/common/lib/shared-types'; import { Column, Entity, JoinTable, ManyToMany, ManyToOne, OneToMany } from 'typeorm'; -import { SoftDeletable } from '../../common/types/common-types'; +import { ChannelAware, SoftDeletable } from '../../common/types/common-types'; import { LocaleString, Translatable, Translation } from '../../common/types/locale-types'; import { HasCustomFields } from '../../config/custom-field/custom-field-types'; import { Asset } from '../asset/asset.entity'; import { VendureEntity } from '../base/base.entity'; +import { Channel } from '../channel/channel.entity'; import { Collection } from '../collection/collection.entity'; import { CustomProductVariantFields } from '../custom-entity-fields'; import { EntityId } from '../entity-id.decorator'; @@ -31,7 +32,9 @@ import { ProductVariantTranslation } from './product-variant-translation.entity' * @docsCategory entities */ @Entity() -export class ProductVariant extends VendureEntity implements Translatable, HasCustomFields, SoftDeletable { +export class ProductVariant + extends VendureEntity + implements Translatable, HasCustomFields, SoftDeletable, ChannelAware { constructor(input?: DeepPartial) { super(input); } @@ -141,4 +144,8 @@ export class ProductVariant extends VendureEntity implements Translatable, HasCu @ManyToMany(type => Collection, collection => collection.productVariants) collections: Collection[]; + + @ManyToMany(type => Channel) + @JoinTable() + channels: Channel[]; } diff --git a/packages/core/src/entity/product/product.entity.ts b/packages/core/src/entity/product/product.entity.ts index dc178ca3b7..841ba1238e 100644 --- a/packages/core/src/entity/product/product.entity.ts +++ b/packages/core/src/entity/product/product.entity.ts @@ -1,12 +1,11 @@ import { DeepPartial } from '@vendure/common/lib/shared-types'; import { Column, Entity, JoinTable, ManyToMany, ManyToOne, OneToMany } from 'typeorm'; -import { ChannelAware, SoftDeletable } from '../../common/types/common-types'; +import { SoftDeletable } from '../../common/types/common-types'; import { LocaleString, Translatable, Translation } from '../../common/types/locale-types'; import { HasCustomFields } from '../../config/custom-field/custom-field-types'; import { Asset } from '../asset/asset.entity'; import { VendureEntity } from '../base/base.entity'; -import { Channel } from '../channel/channel.entity'; import { CustomProductFields } from '../custom-entity-fields'; import { FacetValue } from '../facet-value/facet-value.entity'; import { ProductOptionGroup } from '../product-option-group/product-option-group.entity'; @@ -23,8 +22,7 @@ import { ProductTranslation } from './product-translation.entity'; * @docsCategory entities */ @Entity() -export class Product extends VendureEntity - implements Translatable, HasCustomFields, ChannelAware, SoftDeletable { +export class Product extends VendureEntity implements Translatable, HasCustomFields, SoftDeletable { constructor(input?: DeepPartial) { super(input); } @@ -41,29 +39,25 @@ export class Product extends VendureEntity @Column({ default: true }) enabled: boolean; - @ManyToOne((type) => Asset, { onDelete: 'SET NULL' }) + @ManyToOne(type => Asset, { onDelete: 'SET NULL' }) featuredAsset: Asset; - @OneToMany((type) => ProductAsset, (productAsset) => productAsset.product) + @OneToMany(type => ProductAsset, productAsset => productAsset.product) assets: ProductAsset[]; - @OneToMany((type) => ProductTranslation, (translation) => translation.base, { eager: true }) + @OneToMany(type => ProductTranslation, translation => translation.base, { eager: true }) translations: Array>; - @OneToMany((type) => ProductVariant, (variant) => variant.product) + @OneToMany(type => ProductVariant, variant => variant.product) variants: ProductVariant[]; - @OneToMany((type) => ProductOptionGroup, (optionGroup) => optionGroup.product) + @OneToMany(type => ProductOptionGroup, optionGroup => optionGroup.product) optionGroups: ProductOptionGroup[]; - @ManyToMany((type) => FacetValue) + @ManyToMany(type => FacetValue) @JoinTable() facetValues: FacetValue[]; - @Column((type) => CustomProductFields) + @Column(type => CustomProductFields) customFields: CustomProductFields; - - @ManyToMany((type) => Channel) - @JoinTable() - channels: Channel[]; } diff --git a/packages/core/src/event-bus/events/product-variant-channel-event.ts b/packages/core/src/event-bus/events/product-variant-channel-event.ts new file mode 100644 index 0000000000..1614b15d5f --- /dev/null +++ b/packages/core/src/event-bus/events/product-variant-channel-event.ts @@ -0,0 +1,23 @@ +import { ID } from '@vendure/common/lib/shared-types'; + +import { RequestContext } from '../../api/common/request-context'; +import { ProductVariant } from '../../entity'; +import { VendureEvent } from '../vendure-event'; + +/** + * @description + * This event is fired whenever a {@link ProductVariant} is assigned or removed from a {@link Channel}. + * + * @docsCategory events + * @docsPage Event Types + */ +export class ProductVariantChannelEvent extends VendureEvent { + constructor( + public ctx: RequestContext, + public productVariant: ProductVariant, + public channelId: ID, + public type: 'assigned' | 'removed', + ) { + super(); + } +} diff --git a/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts b/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts index d40d8249fb..e14602780f 100644 --- a/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts +++ b/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts @@ -352,7 +352,7 @@ export class IndexerController { productVariantAssetId: v.featuredAsset ? v.featuredAsset.id : null, productPreview: v.product.featuredAsset ? v.product.featuredAsset.preview : '', productVariantPreview: v.featuredAsset ? v.featuredAsset.preview : '', - channelIds: v.product.channels.map(c => c.id as string), + channelIds: v.channels.map(c => c.id as string), facetIds: this.getFacetIds(v), facetValueIds: this.getFacetValueIds(v), collectionIds: v.collections.map(c => c.id.toString()), diff --git a/packages/core/src/service/services/product-variant.service.ts b/packages/core/src/service/services/product-variant.service.ts index f8edb5e3b6..f69ec4e49a 100644 --- a/packages/core/src/service/services/product-variant.service.ts +++ b/packages/core/src/service/services/product-variant.service.ts @@ -1,26 +1,31 @@ import { Injectable } from '@nestjs/common'; import { + AssignProductVariantsToChannelInput, CreateProductVariantInput, DeletionResponse, DeletionResult, GlobalFlag, + Permission, + RemoveProductVariantsFromChannelInput, UpdateProductVariantInput, } from '@vendure/common/lib/generated-types'; import { ID, PaginatedList } from '@vendure/common/lib/shared-types'; +import { FindOptionsUtils } from 'typeorm'; import { RequestContext } from '../../api/common/request-context'; -import { InternalServerError, UserInputError } from '../../common/error/errors'; +import { ForbiddenError, InternalServerError, UserInputError } from '../../common/error/errors'; import { ListQueryOptions } from '../../common/types/common-types'; import { Translated } from '../../common/types/locale-types'; import { idsAreEqual } from '../../common/utils'; import { ConfigService } from '../../config/config.service'; -import { OrderLine, ProductOptionGroup, ProductVariantPrice, TaxCategory } from '../../entity'; +import { Channel, OrderLine, ProductOptionGroup, ProductVariantPrice, TaxCategory } from '../../entity'; import { FacetValue } from '../../entity/facet-value/facet-value.entity'; import { ProductOption } from '../../entity/product-option/product-option.entity'; import { ProductVariantTranslation } from '../../entity/product-variant/product-variant-translation.entity'; import { ProductVariant } from '../../entity/product-variant/product-variant.entity'; import { Product } from '../../entity/product/product.entity'; import { EventBus } from '../../event-bus/event-bus'; +import { ProductVariantChannelEvent } from '../../event-bus/events/product-variant-channel-event'; import { ProductVariantEvent } from '../../event-bus/events/product-variant-event'; import { ListQueryBuilder } from '../helpers/list-query-builder/list-query-builder'; import { TaxCalculator } from '../helpers/tax-calculator/tax-calculator'; @@ -30,8 +35,10 @@ import { translateDeep } from '../helpers/utils/translate-entity'; import { TransactionalConnection } from '../transaction/transactional-connection'; import { AssetService } from './asset.service'; +import { ChannelService } from './channel.service'; import { FacetValueService } from './facet-value.service'; import { GlobalSettingsService } from './global-settings.service'; +import { RoleService } from './role.service'; import { StockMovementService } from './stock-movement.service'; import { TaxCategoryService } from './tax-category.service'; import { TaxRateService } from './tax-rate.service'; @@ -53,13 +60,14 @@ export class ProductVariantService { private listQueryBuilder: ListQueryBuilder, private globalSettingsService: GlobalSettingsService, private stockMovementService: StockMovementService, + private channelService: ChannelService, + private roleService: RoleService, ) {} findOne(ctx: RequestContext, productVariantId: ID): Promise | undefined> { const relations = ['product', 'product.featuredAsset', 'taxCategory']; return this.connection - .getRepository(ctx, ProductVariant) - .findOne(productVariantId, { relations }) + .findOneInChannel(ctx, ProductVariant, productVariantId, ctx.channelId, { relations }) .then(result => { if (result) { return translateDeep(this.applyChannelPriceAndTax(result, ctx), ctx.languageCode, [ @@ -71,8 +79,7 @@ export class ProductVariantService { findByIds(ctx: RequestContext, ids: ID[]): Promise>> { return this.connection - .getRepository(ctx, ProductVariant) - .findByIds(ids, { + .findByIdsInChannel(ctx, ProductVariant, ids, ctx.channelId, { relations: [ 'options', 'facetValues', @@ -94,25 +101,28 @@ export class ProductVariantService { } getVariantsByProductId(ctx: RequestContext, productId: ID): Promise>> { - return this.connection - .getRepository(ctx, ProductVariant) - .find({ - where: { - product: { id: productId } as any, - deletedAt: null, - }, - relations: [ - 'options', - 'facetValues', - 'facetValues.facet', - 'taxCategory', - 'assets', - 'featuredAsset', - ], - order: { - id: 'ASC', - }, + const qb = this.connection.getRepository(ctx, ProductVariant).createQueryBuilder('productVariant'); + const relations = [ + 'options', + 'facetValues', + 'facetValues.facet', + 'taxCategory', + 'assets', + 'featuredAsset', + ]; + FindOptionsUtils.applyFindManyOptionsOrConditionsToQueryBuilder(qb, { relations }); + // tslint:disable-next-line:no-non-null-assertion + FindOptionsUtils.joinEagerRelations(qb, qb.alias, qb.expressionMap.mainAlias!.metadata); + return qb + .innerJoinAndSelect('productVariant.channels', 'channel', 'channel.id = :channelId', { + channelId: ctx.channelId, }) + .innerJoinAndSelect('productVariant.product', 'product', 'product.id = :productId', { + productId, + }) + .andWhere('productVariant.deletedAt IS NULL') + .orderBy('productVariant.id', 'ASC') + .getMany() .then(variants => variants.map(variant => { const variantWithPrices = this.applyChannelPriceAndTax(variant, ctx); @@ -132,7 +142,7 @@ export class ProductVariantService { ): Promise>> { const qb = this.listQueryBuilder .build(ProductVariant, options, { - relations: ['taxCategory'], + relations: ['taxCategory', 'channels'], channelId: ctx.channelId, ctx, }) @@ -157,6 +167,14 @@ export class ProductVariantService { }); } + async getProductVariantChannels(ctx: RequestContext, productVariantId: ID): Promise { + const variant = await this.connection.getEntityOrThrow(ctx, ProductVariant, productVariantId, { + relations: ['channels'], + channelId: ctx.channelId, + }); + return variant.channels; + } + async getVariantByOrderLineId(ctx: RequestContext, orderLineId: ID): Promise> { const { productVariant } = await this.connection.getEntityOrThrow(ctx, OrderLine, orderLineId, { relations: ['productVariant'], @@ -166,15 +184,17 @@ export class ProductVariantService { getOptionsForVariant(ctx: RequestContext, variantId: ID): Promise>> { return this.connection - .getRepository(ctx, ProductVariant) - .findOne(variantId, { relations: ['options'] }) + .findOneInChannel(ctx, ProductVariant, variantId, ctx.channelId, { + relations: ['options'], + }) .then(variant => (!variant ? [] : variant.options.map(o => translateDeep(o, ctx.languageCode)))); } getFacetValuesForVariant(ctx: RequestContext, variantId: ID): Promise>> { return this.connection - .getRepository(ctx, ProductVariant) - .findOne(variantId, { relations: ['facetValues', 'facetValues.facet'] }) + .findOneInChannel(ctx, ProductVariant, variantId, ctx.channelId, { + relations: ['facetValues', 'facetValues.facet'], + }) .then(variant => !variant ? [] : variant.facetValues.map(o => translateDeep(o, ctx.languageCode, ['facet'])), ); @@ -286,6 +306,7 @@ export class ProductVariantService { variant.product = { id: input.productId } as any; variant.taxCategory = { id: input.taxCategoryId } as any; await this.assetService.updateFeaturedAsset(ctx, variant, input); + this.channelService.assignToCurrentChannel(variant, ctx); }, typeOrmSubscriberData: { channelId: ctx.channelId, @@ -307,7 +328,9 @@ export class ProductVariantService { } private async updateSingle(ctx: RequestContext, input: UpdateProductVariantInput): Promise { - const existingVariant = await this.connection.getEntityOrThrow(ctx, ProductVariant, input.id); + const existingVariant = await this.connection.getEntityOrThrow(ctx, ProductVariant, input.id, { + channelId: ctx.channelId, + }); if (input.stockOnHand && input.stockOnHand < 0) { throw new UserInputError('error.stockonhand-cannot-be-negative'); } @@ -423,12 +446,73 @@ export class ProductVariantService { return variant; } + async assignProductVariantsToChannel( + ctx: RequestContext, + input: AssignProductVariantsToChannelInput, + ): Promise>> { + const hasPermission = await this.roleService.userHasPermissionOnChannel( + ctx, + input.channelId, + Permission.UpdateCatalog, + ); + if (!hasPermission) { + throw new ForbiddenError(); + } + const variants = await this.connection + .getRepository(ctx, ProductVariant) + .findByIds(input.productVariantIds); + const priceFactor = input.priceFactor != null ? input.priceFactor : 1; + for (const variant of variants) { + await this.channelService.assignToChannels(ctx, ProductVariant, variant.id, [input.channelId]); + await this.createProductVariantPrice( + ctx, + variant.id, + variant.price * priceFactor, + input.channelId, + ); + this.eventBus.publish(new ProductVariantChannelEvent(ctx, variant, input.channelId, 'assigned')); + } + + return this.findByIds( + ctx, + variants.map(v => v.id), + ); + } + + async removeProductVariantsFromChannel( + ctx: RequestContext, + input: RemoveProductVariantsFromChannelInput, + ): Promise>> { + const hasPermission = await this.roleService.userHasPermissionOnChannel( + ctx, + input.channelId, + Permission.UpdateCatalog, + ); + if (!hasPermission) { + throw new ForbiddenError(); + } + if (idsAreEqual(input.channelId, this.channelService.getDefaultChannel().id)) { + throw new UserInputError('error.products-cannot-be-removed-from-default-channel'); + } + const variants = await this.connection + .getRepository(ctx, ProductVariant) + .findByIds(input.productVariantIds); + for (const variant of variants) { + await this.channelService.removeFromChannels(ctx, ProductVariant, variant.id, [input.channelId]); + this.eventBus.publish(new ProductVariantChannelEvent(ctx, variant, input.channelId, 'removed')); + } + + return this.findByIds( + ctx, + variants.map(v => v.id), + ); + } + private async validateVariantOptionIds(ctx: RequestContext, input: CreateProductVariantInput) { // this could be done with less queries but depending on the data, node will crash // https://github.com/vendure-ecommerce/vendure/issues/328 const optionGroups = ( await this.connection.getEntityOrThrow(ctx, Product, input.productId, { - channelId: ctx.channelId, relations: ['optionGroups', 'optionGroups.options'], loadEagerRelations: false, }) @@ -449,7 +533,6 @@ export class ProductVariantService { } const product = await this.connection.getEntityOrThrow(ctx, Product, input.productId, { - channelId: ctx.channelId, relations: ['variants', 'variants.options'], loadEagerRelations: false, }); diff --git a/packages/core/src/service/services/product.service.ts b/packages/core/src/service/services/product.service.ts index 6243b62930..30a961b276 100644 --- a/packages/core/src/service/services/product.service.ts +++ b/packages/core/src/service/services/product.service.ts @@ -4,17 +4,17 @@ import { CreateProductInput, DeletionResponse, DeletionResult, - Permission, RemoveOptionGroupFromProductResult, RemoveProductsFromChannelInput, UpdateProductInput, } from '@vendure/common/lib/generated-types'; import { ID, PaginatedList } from '@vendure/common/lib/shared-types'; +import { unique } from '@vendure/common/lib/unique'; import { FindOptionsUtils } from 'typeorm'; import { RequestContext } from '../../api/common/request-context'; import { ErrorResultUnion } from '../../common/error/error-result'; -import { EntityNotFoundError, ForbiddenError, UserInputError } from '../../common/error/errors'; +import { EntityNotFoundError } from '../../common/error/errors'; import { ProductOptionInUseError } from '../../common/error/generated-graphql-admin-errors'; import { ListQueryOptions } from '../../common/types/common-types'; import { Translated } from '../../common/types/locale-types'; @@ -25,7 +25,6 @@ import { ProductOptionGroup } from '../../entity/product-option-group/product-op import { ProductTranslation } from '../../entity/product/product-translation.entity'; import { Product } from '../../entity/product/product.entity'; import { EventBus } from '../../event-bus/event-bus'; -import { ProductChannelEvent } from '../../event-bus/events/product-channel-event'; import { ProductEvent } from '../../event-bus/events/product-event'; import { ListQueryBuilder } from '../helpers/list-query-builder/list-query-builder'; import { SlugValidator } from '../helpers/slug-validator/slug-validator'; @@ -43,7 +42,7 @@ import { TaxRateService } from './tax-rate.service'; @Injectable() export class ProductService { - private readonly relations = ['featuredAsset', 'assets', 'channels', 'facetValues', 'facetValues.facet']; + private readonly relations = ['featuredAsset', 'assets', 'facetValues', 'facetValues.facet']; constructor( private connection: TransactionalConnection, @@ -71,6 +70,10 @@ export class ProductService { where: { deletedAt: null }, ctx, }) + .leftJoin('product.variants', 'variant') + .innerJoinAndSelect('variant.channels', 'channel', 'channel.id = :channelId', { + channelId: ctx.channelId, + }) .getManyAndCount() .then(async ([products, totalItems]) => { const items = products.map(product => @@ -84,16 +87,23 @@ export class ProductService { } async findOne(ctx: RequestContext, productId: ID): Promise | undefined> { - const product = await this.connection.findOneInChannel(ctx, Product, productId, ctx.channelId, { - relations: this.relations, - where: { - deletedAt: null, - }, - }); - if (!product) { - return; - } - return translateDeep(product, ctx.languageCode, ['facetValues', ['facetValues', 'facet']]); + const qb = this.connection.getRepository(ctx, Product).createQueryBuilder('product'); + FindOptionsUtils.applyFindManyOptionsOrConditionsToQueryBuilder(qb, { relations: this.relations }); + // tslint:disable-next-line:no-non-null-assertion + FindOptionsUtils.joinEagerRelations(qb, qb.alias, qb.expressionMap.mainAlias!.metadata); + return qb + .leftJoin('product.variants', 'variant') + .innerJoinAndSelect('variant.channels', 'channel', 'channel.id = :channelId', { + channelId: ctx.channelId, + }) + .andWhere('product.id = :productId', { productId }) + .andWhere('product.deletedAt IS NULL') + .getOne() + .then(product => { + return product + ? translateDeep(product, ctx.languageCode, ['facetValues', ['facetValues', 'facet']]) + : undefined; + }); } async findByIds(ctx: RequestContext, productIds: ID[]): Promise>> { @@ -102,9 +112,12 @@ export class ProductService { // tslint:disable-next-line:no-non-null-assertion FindOptionsUtils.joinEagerRelations(qb, qb.alias, qb.expressionMap.mainAlias!.metadata); return qb - .leftJoin('product.channels', 'channel') + .leftJoin('product.variants', 'variant') + .innerJoinAndSelect('variant.channels', 'channel', 'channel.id = :channelId', { + channelId: ctx.channelId, + }) + .andWhere('product.deletedAt IS NULL') .andWhere('product.id IN (:...ids)', { ids: productIds }) - .andWhere('channel.id = :channelId', { channelId: ctx.channelId }) .getMany() .then(products => products.map(product => @@ -113,12 +126,19 @@ export class ProductService { ); } + // private async isProductInChannel(ctx: RequestContext, productId: ID, channelId: ID): Promise { + // const channelIds = (await this.getProductChannels(ctx, productId)) + // .map(channel => channel.id); + // return channelIds.includes(channelId); + // } + async getProductChannels(ctx: RequestContext, productId: ID): Promise { - const product = await this.connection.getEntityOrThrow(ctx, Product, productId, { - relations: ['channels'], - channelId: ctx.channelId, - }); - return product.channels; + const productVariantChannels = ([] as Channel[]).concat( + ...(await this.productVariantService.getVariantsByProductId(ctx, productId)).map( + pv => pv.channels, + ), + ); + return unique(productVariantChannels, 'code'); } getFacetValuesForProduct(ctx: RequestContext, productId: ID): Promise>> { @@ -152,7 +172,6 @@ export class ProductService { entityType: Product, translationType: ProductTranslation, beforeSave: async p => { - this.channelService.assignToCurrentChannel(p, ctx); if (input.facetValueIds) { p.facetValues = await this.facetValueService.findByIds(ctx, input.facetValueIds); } @@ -161,6 +180,12 @@ export class ProductService { }); await this.assetService.updateEntityAssets(ctx, product, input); this.eventBus.publish(new ProductEvent(ctx, product, 'created')); + await this.productVariantService.create( + ctx, + input.variants.map(variant => { + return { productId: product.id, ...variant }; + }), + ); return assertFound(this.findOne(ctx, product.id)); } @@ -185,9 +210,8 @@ export class ProductService { } async softDelete(ctx: RequestContext, productId: ID): Promise { - const product = await this.connection.getEntityOrThrow(ctx, Product, productId, { - channelId: ctx.channelId, - }); + // TODO: product should only be deleted if no active ProductVariants? + const product = await this.connection.getEntityOrThrow(ctx, Product, productId); product.deletedAt = new Date(); await this.connection.getRepository(ctx, Product).save(product, { reload: false }); this.eventBus.publish(new ProductEvent(ctx, product, 'deleted')); @@ -200,32 +224,18 @@ export class ProductService { ctx: RequestContext, input: AssignProductsToChannelInput, ): Promise>> { - const hasPermission = await this.roleService.userHasPermissionOnChannel( - ctx, - input.channelId, - Permission.UpdateCatalog, - ); - if (!hasPermission) { - throw new ForbiddenError(); - } const productsWithVariants = await this.connection .getRepository(ctx, Product) .findByIds(input.productIds, { relations: ['variants'], }); - const priceFactor = input.priceFactor != null ? input.priceFactor : 1; - for (const product of productsWithVariants) { - await this.channelService.assignToChannels(ctx, Product, product.id, [input.channelId]); - for (const variant of product.variants) { - await this.productVariantService.createProductVariantPrice( - ctx, - variant.id, - variant.price * priceFactor, - input.channelId, - ); - } - this.eventBus.publish(new ProductChannelEvent(ctx, product, input.channelId, 'assigned')); - } + await this.productVariantService.assignProductVariantsToChannel(ctx, { + productVariantIds: ([] as ID[]).concat( + ...productsWithVariants.map(p => p.variants.map(v => v.id)), + ), + channelId: input.channelId, + priceFactor: input.priceFactor, + }); return this.findByIds( ctx, productsWithVariants.map(p => p.id), @@ -236,25 +246,20 @@ export class ProductService { ctx: RequestContext, input: RemoveProductsFromChannelInput, ): Promise>> { - const hasPermission = await this.roleService.userHasPermissionOnChannel( - ctx, - input.channelId, - Permission.UpdateCatalog, - ); - if (!hasPermission) { - throw new ForbiddenError(); - } - if (idsAreEqual(input.channelId, this.channelService.getDefaultChannel().id)) { - throw new UserInputError('error.products-cannot-be-removed-from-default-channel'); - } - const products = await this.connection.getRepository(ctx, Product).findByIds(input.productIds); - for (const product of products) { - await this.channelService.removeFromChannels(ctx, Product, product.id, [input.channelId]); - this.eventBus.publish(new ProductChannelEvent(ctx, product, input.channelId, 'removed')); - } + const productsWithVariants = await this.connection + .getRepository(ctx, Product) + .findByIds(input.productIds, { + relations: ['variants'], + }); + await this.productVariantService.removeProductVariantsFromChannel(ctx, { + productVariantIds: ([] as ID[]).concat( + ...productsWithVariants.map(p => p.variants.map(v => v.id)), + ), + channelId: input.channelId, + }); return this.findByIds( ctx, - products.map(p => p.id), + productsWithVariants.map(p => p.id), ); } diff --git a/packages/core/src/service/transaction/transactional-connection.ts b/packages/core/src/service/transaction/transactional-connection.ts index d783276e5f..f946bf827b 100644 --- a/packages/core/src/service/transaction/transactional-connection.ts +++ b/packages/core/src/service/transaction/transactional-connection.ts @@ -190,7 +190,7 @@ export class TransactionalConnection { const qb = this.getRepository(ctx, entity).createQueryBuilder('entity'); FindOptionsUtils.applyFindManyOptionsOrConditionsToQueryBuilder(qb, options); - if (options.loadEagerRelations) { + if (options.loadEagerRelations !== false) { // tslint:disable-next-line:no-non-null-assertion FindOptionsUtils.joinEagerRelations(qb, qb.alias, qb.expressionMap.mainAlias!.metadata); } From 275cd62acf8e3bbc0c8d2aa0b6e672e3dc352132 Mon Sep 17 00:00:00 2001 From: hendrikdepauw Date: Mon, 23 Nov 2020 13:21:26 +0100 Subject: [PATCH 2/5] fix(core): Fix ChannelAware ProductVariant performance issues --- .../lib/core/src/common/generated-types.ts | 30 +- ...generated-e2e-asset-server-plugin-types.ts | 28 +- packages/common/src/generated-types.ts | 30 +- .../__snapshots__/product.e2e-spec.ts.snap | 41 +- packages/core/e2e/channel.e2e-spec.ts | 132 +----- packages/core/e2e/graphql/fragments.ts | 4 + .../e2e/graphql/generated-e2e-admin-types.ts | 62 ++- .../core/e2e/graphql/shared-definitions.ts | 18 + packages/core/e2e/product-channel.e2e-spec.ts | 390 ++++++++++++++++++ packages/core/e2e/product.e2e-spec.ts | 37 -- .../entity/product-entity.resolver.ts | 6 +- .../api/schema/admin-api/product.api.graphql | 18 +- .../importer/fast-importer.service.ts | 1 + .../providers/importer/importer.ts | 1 - .../core/src/entity/product/product.entity.ts | 11 +- .../services/product-variant.service.ts | 24 +- .../src/service/services/product.service.ts | 69 +--- ...enerated-e2e-elasticsearch-plugin-types.ts | 28 +- schema-admin.json | 2 +- 19 files changed, 649 insertions(+), 283 deletions(-) create mode 100644 packages/core/e2e/product-channel.e2e-spec.ts diff --git a/packages/admin-ui/src/lib/core/src/common/generated-types.ts b/packages/admin-ui/src/lib/core/src/common/generated-types.ts index 5c55db85a0..fe0161c851 100644 --- a/packages/admin-ui/src/lib/core/src/common/generated-types.ts +++ b/packages/admin-ui/src/lib/core/src/common/generated-types.ts @@ -295,7 +295,9 @@ export type Mutation = { addNoteToOrder: Order; /** Add an OptionGroup to a Product */ addOptionGroupToProduct: Product; - /** Assigns Products to the specified Channel */ + /** Assigns ProductVariants to the specified Channel */ + assignProductVariantsToChannel: Array; + /** Assigns all ProductVariants of Product to the specified Channel */ assignProductsToChannel: Array; /** Assign a Role to an Administrator */ assignRoleToAdministrator: Administrator; @@ -394,7 +396,9 @@ export type Mutation = { removeMembersFromZone: Zone; /** Remove an OptionGroup from a Product */ removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult; - /** Removes Products from the specified Channel */ + /** Removes ProductVariants from the specified Channel */ + removeProductVariantsFromChannel: Array; + /** Removes all ProductVariants of Product from the specified Channel */ removeProductsFromChannel: Array; /** Remove all settled jobs in the given queues olfer than the given date. Returns the number of jobs deleted. */ removeSettledJobs: Scalars['Int']; @@ -490,6 +494,11 @@ export type MutationAddOptionGroupToProductArgs = { }; +export type MutationAssignProductVariantsToChannelArgs = { + input: AssignProductVariantsToChannelInput; +}; + + export type MutationAssignProductsToChannelArgs = { input: AssignProductsToChannelInput; }; @@ -763,6 +772,11 @@ export type MutationRemoveOptionGroupFromProductArgs = { }; +export type MutationRemoveProductVariantsFromChannelArgs = { + input: RemoveProductVariantsFromChannelInput; +}; + + export type MutationRemoveProductsFromChannelArgs = { input: RemoveProductsFromChannelInput; }; @@ -1663,6 +1677,7 @@ export type ProductVariant = Node & { outOfStockThreshold: Scalars['Int']; useGlobalOutOfStockThreshold: Scalars['Boolean']; stockMovements: StockMovementList; + channels: Array; id: Scalars['ID']; product: Product; productId: Scalars['ID']; @@ -1781,6 +1796,17 @@ export type RemoveProductsFromChannelInput = { channelId: Scalars['ID']; }; +export type AssignProductVariantsToChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; + priceFactor?: Maybe; +}; + +export type RemoveProductVariantsFromChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; +}; + export type ProductOptionInUseError = ErrorResult & { __typename?: 'ProductOptionInUseError'; errorCode: ErrorCode; 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 ff944df37e..55ea835b2f 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 @@ -360,10 +360,14 @@ export type Mutation = { updateProductVariants: Array>; /** Delete a ProductVariant */ deleteProductVariant: DeletionResponse; - /** Assigns Products to the specified Channel */ + /** Assigns all ProductVariants of Product to the specified Channel */ assignProductsToChannel: Array; - /** Removes Products from the specified Channel */ + /** Removes all ProductVariants of Product from the specified Channel */ removeProductsFromChannel: Array; + /** Assigns ProductVariants to the specified Channel */ + assignProductVariantsToChannel: Array; + /** Removes ProductVariants from the specified Channel */ + removeProductVariantsFromChannel: Array; createPromotion: CreatePromotionResult; updatePromotion: UpdatePromotionResult; deletePromotion: DeletionResponse; @@ -696,6 +700,14 @@ export type MutationRemoveProductsFromChannelArgs = { input: RemoveProductsFromChannelInput; }; +export type MutationAssignProductVariantsToChannelArgs = { + input: AssignProductVariantsToChannelInput; +}; + +export type MutationRemoveProductVariantsFromChannelArgs = { + input: RemoveProductVariantsFromChannelInput; +}; + export type MutationCreatePromotionArgs = { input: CreatePromotionInput; }; @@ -1490,6 +1502,7 @@ export type ProductVariant = Node & { outOfStockThreshold: Scalars['Int']; useGlobalOutOfStockThreshold: Scalars['Boolean']; stockMovements: StockMovementList; + channels: Array; id: Scalars['ID']; product: Product; productId: Scalars['ID']; @@ -1607,6 +1620,17 @@ export type RemoveProductsFromChannelInput = { channelId: Scalars['ID']; }; +export type AssignProductVariantsToChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; + priceFactor?: Maybe; +}; + +export type RemoveProductVariantsFromChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; +}; + export type ProductOptionInUseError = ErrorResult & { errorCode: ErrorCode; message: Scalars['String']; diff --git a/packages/common/src/generated-types.ts b/packages/common/src/generated-types.ts index 5e5f941be4..fac7a52846 100644 --- a/packages/common/src/generated-types.ts +++ b/packages/common/src/generated-types.ts @@ -402,10 +402,14 @@ export type Mutation = { updateProductVariants: Array>; /** Delete a ProductVariant */ deleteProductVariant: DeletionResponse; - /** Assigns Products to the specified Channel */ + /** Assigns all ProductVariants of Product to the specified Channel */ assignProductsToChannel: Array; - /** Removes Products from the specified Channel */ + /** Removes all ProductVariants of Product from the specified Channel */ removeProductsFromChannel: Array; + /** Assigns ProductVariants to the specified Channel */ + assignProductVariantsToChannel: Array; + /** Removes ProductVariants from the specified Channel */ + removeProductVariantsFromChannel: Array; createPromotion: CreatePromotionResult; updatePromotion: UpdatePromotionResult; deletePromotion: DeletionResponse; @@ -808,6 +812,16 @@ export type MutationRemoveProductsFromChannelArgs = { }; +export type MutationAssignProductVariantsToChannelArgs = { + input: AssignProductVariantsToChannelInput; +}; + + +export type MutationRemoveProductVariantsFromChannelArgs = { + input: RemoveProductVariantsFromChannelInput; +}; + + export type MutationCreatePromotionArgs = { input: CreatePromotionInput; }; @@ -1632,6 +1646,7 @@ export type ProductVariant = Node & { outOfStockThreshold: Scalars['Int']; useGlobalOutOfStockThreshold: Scalars['Boolean']; stockMovements: StockMovementList; + channels: Array; id: Scalars['ID']; product: Product; productId: Scalars['ID']; @@ -1750,6 +1765,17 @@ export type RemoveProductsFromChannelInput = { channelId: Scalars['ID']; }; +export type AssignProductVariantsToChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; + priceFactor?: Maybe; +}; + +export type RemoveProductVariantsFromChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; +}; + export type ProductOptionInUseError = ErrorResult & { __typename?: 'ProductOptionInUseError'; errorCode: ErrorCode; diff --git a/packages/core/e2e/__snapshots__/product.e2e-spec.ts.snap b/packages/core/e2e/__snapshots__/product.e2e-spec.ts.snap index f9e52691de..349d4a2132 100644 --- a/packages/core/e2e/__snapshots__/product.e2e-spec.ts.snap +++ b/packages/core/e2e/__snapshots__/product.e2e-spec.ts.snap @@ -18,46 +18,7 @@ Object { "name": "en Baked Potato", "optionGroups": Array [], "slug": "en-baked-potato", - "variants": Array [ - Object { - "assets": Array [], - "currencyCode": "USD", - "enabled": true, - "facetValues": Array [], - "featuredAsset": null, - "id": "T_35", - "languageCode": "en", - "name": "Small Baked Potato", - "options": Array [], - "price": 0, - "priceIncludesTax": false, - "priceWithTax": 0, - "sku": "PV0", - "stockOnHand": 0, - "taxCategory": Object { - "id": "T_1", - "name": "Standard Tax", - }, - "taxRateApplied": Object { - "id": "T_2", - "name": "Standard Tax Europe", - "value": 20, - }, - "trackInventory": "INHERIT", - "translations": Array [ - Object { - "id": "T_35", - "languageCode": "en", - "name": "Small Baked Potato", - }, - Object { - "id": "T_36", - "languageCode": "de", - "name": "Klein baked Erdapfel", - }, - ], - }, - ], + "variants": Array [], } `; diff --git a/packages/core/e2e/channel.e2e-spec.ts b/packages/core/e2e/channel.e2e-spec.ts index be0bd0853a..de20de48fd 100644 --- a/packages/core/e2e/channel.e2e-spec.ts +++ b/packages/core/e2e/channel.e2e-spec.ts @@ -28,7 +28,6 @@ import { LanguageCode, Me, Permission, - RemoveProductsFromChannel, UpdateChannel, UpdateGlobalLanguages, } from './graphql/generated-e2e-admin-types'; @@ -40,7 +39,6 @@ import { GET_CUSTOMER_LIST, GET_PRODUCT_WITH_VARIANTS, ME, - REMOVE_PRODUCT_FROM_CHANNEL, UPDATE_CHANNEL, } from './graphql/shared-definitions'; import { assertThrowsWithMessage } from './utils/assert-throws-with-message'; @@ -48,7 +46,6 @@ import { assertThrowsWithMessage } from './utils/assert-throws-with-message'; describe('Channels', () => { const { server, adminClient, shopClient } = createTestEnvironment(testConfig); const SECOND_CHANNEL_TOKEN = 'second_channel_token'; - const THIRD_CHANNEL_TOKEN = 'third_channel_token'; let secondChannelAdminRole: CreateRole.CreateRole; let customerUser: GetCustomerList.Items; @@ -272,129 +269,10 @@ describe('Channels', () => { ]); }); - describe('assigning Product to Channels', () => { - let product1: GetProductWithVariants.Product; - - beforeAll(async () => { - await adminClient.asSuperAdmin(); - await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); - await adminClient.query(CREATE_CHANNEL, { - input: { - code: 'third-channel', - token: THIRD_CHANNEL_TOKEN, - defaultLanguageCode: LanguageCode.en, - currencyCode: CurrencyCode.GBP, - pricesIncludeTax: true, - defaultShippingZoneId: 'T_1', - defaultTaxZoneId: 'T_1', - }, - }); - - const { product } = await adminClient.query< - GetProductWithVariants.Query, - GetProductWithVariants.Variables - >(GET_PRODUCT_WITH_VARIANTS, { - id: 'T_1', - }); - product1 = product!; - }); - - it( - 'throws if attempting to assign Product to channel to which the admin has no access', - assertThrowsWithMessage(async () => { - await adminClient.asUserWithCredentials('admin2@test.com', 'test'); - await adminClient.query( - ASSIGN_PRODUCT_TO_CHANNEL, - { - input: { - channelId: 'T_3', - productIds: [product1.id], - }, - }, - ); - }, 'You are not currently authorized to perform this action'), - ); - - it('assigns Product to Channel and applies price factor', async () => { - const PRICE_FACTOR = 0.5; - await adminClient.asSuperAdmin(); - const { assignProductsToChannel } = await adminClient.query< - AssignProductsToChannel.Mutation, - AssignProductsToChannel.Variables - >(ASSIGN_PRODUCT_TO_CHANNEL, { - input: { - channelId: 'T_2', - productIds: [product1.id], - priceFactor: PRICE_FACTOR, - }, - }); - - expect(assignProductsToChannel[0].channels.map(c => c.id).sort()).toEqual(['T_1', 'T_2']); - await adminClient.setChannelToken(SECOND_CHANNEL_TOKEN); - const { product } = await adminClient.query< - GetProductWithVariants.Query, - GetProductWithVariants.Variables - >(GET_PRODUCT_WITH_VARIANTS, { - id: product1.id, - }); - - expect(product!.variants.map(v => v.price)).toEqual( - product1.variants.map(v => v.price * PRICE_FACTOR), - ); - // Second Channel is configured to include taxes in price, so they should be the same. - expect(product!.variants.map(v => v.priceWithTax)).toEqual( - product1.variants.map(v => v.price * PRICE_FACTOR), - ); - }); - - it('does not assign Product to same channel twice', async () => { - const { assignProductsToChannel } = await adminClient.query< - AssignProductsToChannel.Mutation, - AssignProductsToChannel.Variables - >(ASSIGN_PRODUCT_TO_CHANNEL, { - input: { - channelId: 'T_2', - productIds: [product1.id], - }, - }); - - expect(assignProductsToChannel[0].channels.map(c => c.id).sort()).toEqual(['T_1', 'T_2']); - }); - - it( - 'throws if attempting to remove Product from default Channel', - assertThrowsWithMessage(async () => { - await adminClient.query< - RemoveProductsFromChannel.Mutation, - RemoveProductsFromChannel.Variables - >(REMOVE_PRODUCT_FROM_CHANNEL, { - input: { - productIds: [product1.id], - channelId: 'T_1', - }, - }); - }, 'Products cannot be removed from the default Channel'), - ); - - it('removes Product from Channel', async () => { - await adminClient.asSuperAdmin(); - await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); - const { removeProductsFromChannel } = await adminClient.query< - RemoveProductsFromChannel.Mutation, - RemoveProductsFromChannel.Variables - >(REMOVE_PRODUCT_FROM_CHANNEL, { - input: { - productIds: [product1.id], - channelId: 'T_2', - }, - }); - - expect(removeProductsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); - }); - }); - describe('setting defaultLanguage', () => { it('returns error result if languageCode not in availableLanguages', async () => { + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); const { updateChannel } = await adminClient.query< UpdateChannel.Mutation, UpdateChannel.Variables @@ -414,6 +292,8 @@ describe('Channels', () => { }); it('allows setting to an available language', async () => { + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); await adminClient.query( UPDATE_GLOBAL_LANGUAGES, { @@ -439,6 +319,8 @@ describe('Channels', () => { it('deleteChannel', async () => { const PROD_ID = 'T_1'; + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); const { assignProductsToChannel } = await adminClient.query< AssignProductsToChannel.Mutation, @@ -461,7 +343,7 @@ describe('Channels', () => { expect(deleteChannel.result).toBe(DeletionResult.DELETED); const { channels } = await adminClient.query(GET_CHANNELS); - expect(channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); + expect(channels.map(c => c.id).sort()).toEqual(['T_1']); const { product } = await adminClient.query< GetProductWithVariants.Query, diff --git a/packages/core/e2e/graphql/fragments.ts b/packages/core/e2e/graphql/fragments.ts index 81710ab0fc..9e3a43ec57 100644 --- a/packages/core/e2e/graphql/fragments.ts +++ b/packages/core/e2e/graphql/fragments.ts @@ -80,6 +80,10 @@ export const PRODUCT_VARIANT_FRAGMENT = gql` languageCode name } + channels { + id + code + } } ${ASSET_FRAGMENT} `; diff --git a/packages/core/e2e/graphql/generated-e2e-admin-types.ts b/packages/core/e2e/graphql/generated-e2e-admin-types.ts index 0286b3f1ef..fcdedfeb9c 100644 --- a/packages/core/e2e/graphql/generated-e2e-admin-types.ts +++ b/packages/core/e2e/graphql/generated-e2e-admin-types.ts @@ -360,10 +360,14 @@ export type Mutation = { updateProductVariants: Array>; /** Delete a ProductVariant */ deleteProductVariant: DeletionResponse; - /** Assigns Products to the specified Channel */ + /** Assigns all ProductVariants of Product to the specified Channel */ assignProductsToChannel: Array; - /** Removes Products from the specified Channel */ + /** Removes all ProductVariants of Product from the specified Channel */ removeProductsFromChannel: Array; + /** Assigns ProductVariants to the specified Channel */ + assignProductVariantsToChannel: Array; + /** Removes ProductVariants from the specified Channel */ + removeProductVariantsFromChannel: Array; createPromotion: CreatePromotionResult; updatePromotion: UpdatePromotionResult; deletePromotion: DeletionResponse; @@ -696,6 +700,14 @@ export type MutationRemoveProductsFromChannelArgs = { input: RemoveProductsFromChannelInput; }; +export type MutationAssignProductVariantsToChannelArgs = { + input: AssignProductVariantsToChannelInput; +}; + +export type MutationRemoveProductVariantsFromChannelArgs = { + input: RemoveProductVariantsFromChannelInput; +}; + export type MutationCreatePromotionArgs = { input: CreatePromotionInput; }; @@ -1490,6 +1502,7 @@ export type ProductVariant = Node & { outOfStockThreshold: Scalars['Int']; useGlobalOutOfStockThreshold: Scalars['Boolean']; stockMovements: StockMovementList; + channels: Array; id: Scalars['ID']; product: Product; productId: Scalars['ID']; @@ -1607,6 +1620,17 @@ export type RemoveProductsFromChannelInput = { channelId: Scalars['ID']; }; +export type AssignProductVariantsToChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; + priceFactor?: Maybe; +}; + +export type RemoveProductVariantsFromChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; +}; + export type ProductOptionInUseError = ErrorResult & { errorCode: ErrorCode; message: Scalars['String']; @@ -4514,6 +4538,7 @@ export type ProductVariantFragment = Pick< featuredAsset?: Maybe; assets: Array; translations: Array>; + channels: Array>; }; export type ProductWithVariantsFragment = Pick< @@ -4951,6 +4976,22 @@ export type RemoveProductsFromChannelMutation = { removeProductsFromChannel: Array; }; +export type AssignProductVariantsToChannelMutationVariables = Exact<{ + input: AssignProductVariantsToChannelInput; +}>; + +export type AssignProductVariantsToChannelMutation = { + assignProductVariantsToChannel: Array; +}; + +export type RemoveProductVariantsFromChannelMutationVariables = Exact<{ + input: RemoveProductVariantsFromChannelInput; +}>; + +export type RemoveProductVariantsFromChannelMutation = { + removeProductVariantsFromChannel: Array; +}; + export type UpdateAssetMutationVariables = Exact<{ input: UpdateAssetInput; }>; @@ -6399,6 +6440,7 @@ export namespace ProductVariant { export type FeaturedAsset = NonNullable; export type Assets = NonNullable[number]>; export type Translations = NonNullable[number]>; + export type Channels = NonNullable[number]>; } export namespace ProductWithVariants { @@ -6828,6 +6870,22 @@ export namespace RemoveProductsFromChannel { >; } +export namespace AssignProductVariantsToChannel { + export type Variables = AssignProductVariantsToChannelMutationVariables; + export type Mutation = AssignProductVariantsToChannelMutation; + export type AssignProductVariantsToChannel = NonNullable< + NonNullable[number] + >; +} + +export namespace RemoveProductVariantsFromChannel { + export type Variables = RemoveProductVariantsFromChannelMutationVariables; + export type Mutation = RemoveProductVariantsFromChannelMutation; + export type RemoveProductVariantsFromChannel = NonNullable< + NonNullable[number] + >; +} + export namespace UpdateAsset { export type Variables = UpdateAssetMutationVariables; export type Mutation = UpdateAssetMutation; diff --git a/packages/core/e2e/graphql/shared-definitions.ts b/packages/core/e2e/graphql/shared-definitions.ts index 21a70cbb45..e783daa7a0 100644 --- a/packages/core/e2e/graphql/shared-definitions.ts +++ b/packages/core/e2e/graphql/shared-definitions.ts @@ -351,6 +351,24 @@ export const REMOVE_PRODUCT_FROM_CHANNEL = gql` ${PRODUCT_WITH_VARIANTS_FRAGMENT} `; +export const ASSIGN_PRODUCTVARIANT_TO_CHANNEL = gql` + mutation AssignProductVariantsToChannel($input: AssignProductVariantsToChannelInput!) { + assignProductVariantsToChannel(input: $input) { + ...ProductVariant + } + } + ${PRODUCT_VARIANT_FRAGMENT} +`; + +export const REMOVE_PRODUCTVARIANT_FROM_CHANNEL = gql` + mutation RemoveProductVariantsFromChannel($input: RemoveProductVariantsFromChannelInput!) { + removeProductVariantsFromChannel(input: $input) { + ...ProductVariant + } + } + ${PRODUCT_VARIANT_FRAGMENT} +`; + export const UPDATE_ASSET = gql` mutation UpdateAsset($input: UpdateAssetInput!) { updateAsset(input: $input) { diff --git a/packages/core/e2e/product-channel.e2e-spec.ts b/packages/core/e2e/product-channel.e2e-spec.ts new file mode 100644 index 0000000000..2b7bdb4cb1 --- /dev/null +++ b/packages/core/e2e/product-channel.e2e-spec.ts @@ -0,0 +1,390 @@ +/* tslint:disable:no-non-null-assertion */ +import { DEFAULT_CHANNEL_CODE } from '@vendure/common/lib/shared-constants'; +import { + createErrorResultGuard, + createTestEnvironment, + E2E_DEFAULT_CHANNEL_TOKEN, + ErrorResultGuard, +} from '@vendure/testing'; +import gql from 'graphql-tag'; +import path from 'path'; + +import { initialData } from '../../../e2e-common/e2e-initial-data'; +import { testConfig, TEST_SETUP_TIMEOUT_MS } from '../../../e2e-common/test-config'; + +import { + AssignProductsToChannel, + AssignProductVariantsToChannel, + ChannelFragment, + CreateAdministrator, + CreateChannel, + CreateRole, + CurrencyCode, + DeleteChannel, + DeletionResult, + ErrorCode, + GetChannels, + GetCustomerList, + GetProductWithVariants, + LanguageCode, + Me, + Permission, + RemoveProductsFromChannel, + RemoveProductVariantsFromChannel, + UpdateChannel, + UpdateGlobalLanguages, +} from './graphql/generated-e2e-admin-types'; +import { + ASSIGN_PRODUCTVARIANT_TO_CHANNEL, + ASSIGN_PRODUCT_TO_CHANNEL, + CREATE_ADMINISTRATOR, + CREATE_CHANNEL, + CREATE_ROLE, + GET_CUSTOMER_LIST, + GET_PRODUCT_WITH_VARIANTS, + ME, + REMOVE_PRODUCTVARIANT_FROM_CHANNEL, + REMOVE_PRODUCT_FROM_CHANNEL, + UPDATE_CHANNEL, +} from './graphql/shared-definitions'; +import { assertThrowsWithMessage } from './utils/assert-throws-with-message'; + +describe('ChannelAware Products and ProductVariants', () => { + const { server, adminClient, shopClient } = createTestEnvironment(testConfig); + const SECOND_CHANNEL_TOKEN = 'second_channel_token'; + const THIRD_CHANNEL_TOKEN = 'third_channel_token'; + let secondChannelAdminRole: CreateRole.CreateRole; + + beforeAll(async () => { + await server.init({ + initialData, + productsCsvPath: path.join(__dirname, 'fixtures/e2e-products-full.csv'), + customerCount: 1, + }); + await adminClient.asSuperAdmin(); + + await adminClient.query(CREATE_CHANNEL, { + input: { + code: 'second-channel', + token: SECOND_CHANNEL_TOKEN, + defaultLanguageCode: LanguageCode.en, + currencyCode: CurrencyCode.USD, + pricesIncludeTax: true, + defaultShippingZoneId: 'T_1', + defaultTaxZoneId: 'T_1', + }, + }); + + await adminClient.query(CREATE_CHANNEL, { + input: { + code: 'third-channel', + token: THIRD_CHANNEL_TOKEN, + defaultLanguageCode: LanguageCode.en, + currencyCode: CurrencyCode.USD, + pricesIncludeTax: true, + defaultShippingZoneId: 'T_1', + defaultTaxZoneId: 'T_1', + }, + }); + + const { createRole } = await adminClient.query( + CREATE_ROLE, + { + input: { + description: 'second channel admin', + code: 'second-channel-admin', + channelIds: ['T_2'], + permissions: [ + Permission.ReadCatalog, + Permission.ReadSettings, + Permission.ReadAdministrator, + Permission.CreateAdministrator, + Permission.UpdateAdministrator, + ], + }, + }, + ); + secondChannelAdminRole = createRole; + + await adminClient.query( + CREATE_ADMINISTRATOR, + { + input: { + firstName: 'Admin', + lastName: 'Two', + emailAddress: 'admin2@test.com', + password: 'test', + roleIds: [secondChannelAdminRole.id], + }, + }, + ); + }, TEST_SETUP_TIMEOUT_MS); + + afterAll(async () => { + await server.destroy(); + }); + + describe('assigning Product to Channels', () => { + let product1: GetProductWithVariants.Product; + + beforeAll(async () => { + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + + const { product } = await adminClient.query< + GetProductWithVariants.Query, + GetProductWithVariants.Variables + >(GET_PRODUCT_WITH_VARIANTS, { + id: 'T_1', + }); + product1 = product!; + }); + + it( + 'throws if attempting to assign Product to channel to which the admin has no access', + assertThrowsWithMessage(async () => { + await adminClient.asUserWithCredentials('admin2@test.com', 'test'); + await adminClient.query( + ASSIGN_PRODUCT_TO_CHANNEL, + { + input: { + channelId: 'T_3', + productIds: [product1.id], + }, + }, + ); + }, 'You are not currently authorized to perform this action'), + ); + + it('assigns Product to Channel and applies price factor', async () => { + const PRICE_FACTOR = 0.5; + await adminClient.asSuperAdmin(); + const { assignProductsToChannel } = await adminClient.query< + AssignProductsToChannel.Mutation, + AssignProductsToChannel.Variables + >(ASSIGN_PRODUCT_TO_CHANNEL, { + input: { + channelId: 'T_2', + productIds: [product1.id], + priceFactor: PRICE_FACTOR, + }, + }); + + expect(assignProductsToChannel[0].channels.map(c => c.id).sort()).toEqual(['T_1', 'T_2']); + await adminClient.setChannelToken(SECOND_CHANNEL_TOKEN); + const { product } = await adminClient.query< + GetProductWithVariants.Query, + GetProductWithVariants.Variables + >(GET_PRODUCT_WITH_VARIANTS, { + id: product1.id, + }); + + expect(product!.variants.map(v => v.price)).toEqual( + product1.variants.map(v => v.price * PRICE_FACTOR), + ); + // Second Channel is configured to include taxes in price, so they should be the same. + expect(product!.variants.map(v => v.priceWithTax)).toEqual( + product1.variants.map(v => v.price * PRICE_FACTOR), + ); + }); + + it('does not assign Product to same channel twice', async () => { + const { assignProductsToChannel } = await adminClient.query< + AssignProductsToChannel.Mutation, + AssignProductsToChannel.Variables + >(ASSIGN_PRODUCT_TO_CHANNEL, { + input: { + channelId: 'T_2', + productIds: [product1.id], + }, + }); + + expect(assignProductsToChannel[0].channels.map(c => c.id).sort()).toEqual(['T_1', 'T_2']); + }); + + it( + 'throws if attempting to remove Product from default Channel', + assertThrowsWithMessage(async () => { + await adminClient.query< + RemoveProductsFromChannel.Mutation, + RemoveProductsFromChannel.Variables + >(REMOVE_PRODUCT_FROM_CHANNEL, { + input: { + productIds: [product1.id], + channelId: 'T_1', + }, + }); + }, 'Products cannot be removed from the default Channel'), + ); + + // it('removes Product from Channel', async () => { + // await adminClient.asSuperAdmin(); + // await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + // const { removeProductsFromChannel } = await adminClient.query< + // RemoveProductsFromChannel.Mutation, + // RemoveProductsFromChannel.Variables + // >(REMOVE_PRODUCT_FROM_CHANNEL, { + // input: { + // productIds: [product1.id], + // channelId: 'T_2', + // }, + // }); + + // expect(removeProductsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); + // }); + }); + + describe('assigning ProductVariant to Channels', () => { + let product1: GetProductWithVariants.Product; + + beforeAll(async () => { + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + + const { product } = await adminClient.query< + GetProductWithVariants.Query, + GetProductWithVariants.Variables + >(GET_PRODUCT_WITH_VARIANTS, { + id: 'T_2', + }); + product1 = product!; + }); + + it( + 'throws if attempting to assign ProductVariant to channel to which the admin has no access', + assertThrowsWithMessage(async () => { + await adminClient.asUserWithCredentials('admin2@test.com', 'test'); + await adminClient.query< + AssignProductVariantsToChannel.Mutation, + AssignProductVariantsToChannel.Variables + >(ASSIGN_PRODUCTVARIANT_TO_CHANNEL, { + input: { + channelId: 'T_3', + productVariantIds: [product1.variants[0].id], + }, + }); + }, 'You are not currently authorized to perform this action'), + ); + + it('assigns ProductVariant to Channel and applies price factor', async () => { + const PRICE_FACTOR = 0.5; + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + const { assignProductVariantsToChannel } = await adminClient.query< + AssignProductVariantsToChannel.Mutation, + AssignProductVariantsToChannel.Variables + >(ASSIGN_PRODUCTVARIANT_TO_CHANNEL, { + input: { + channelId: 'T_3', + productVariantIds: [product1.variants[0].id], + priceFactor: PRICE_FACTOR, + }, + }); + + expect(assignProductVariantsToChannel[0].channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); + await adminClient.setChannelToken(THIRD_CHANNEL_TOKEN); + const { product } = await adminClient.query< + GetProductWithVariants.Query, + GetProductWithVariants.Variables + >(GET_PRODUCT_WITH_VARIANTS, { + id: product1.id, + }); + expect(product!.channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); + expect(product!.variants.map(v => v.price)).toEqual( + product1.variants.map(v => v.price * PRICE_FACTOR), + ); + // Third Channel is configured to include taxes in price, so they should be the same. + expect(product!.variants.map(v => v.priceWithTax)).toEqual( + product1.variants.map(v => v.price * PRICE_FACTOR), + ); + }); + + it('does not assign ProductVariant to same channel twice', async () => { + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + const { assignProductVariantsToChannel } = await adminClient.query< + AssignProductVariantsToChannel.Mutation, + AssignProductVariantsToChannel.Variables + >(ASSIGN_PRODUCTVARIANT_TO_CHANNEL, { + input: { + channelId: 'T_3', + productVariantIds: [product1.variants[0].id], + }, + }); + expect(assignProductVariantsToChannel[0].channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); + }); + + it( + 'throws if attempting to remove ProductVariant from default Channel', + assertThrowsWithMessage(async () => { + await adminClient.query< + RemoveProductVariantsFromChannel.Mutation, + RemoveProductVariantsFromChannel.Variables + >(REMOVE_PRODUCTVARIANT_FROM_CHANNEL, { + input: { + productVariantIds: [product1.variants[0].id], + channelId: 'T_1', + }, + }); + }, 'Products cannot be removed from the default Channel'), + ); + + // it('removes ProductVariant but not Product from Channel', async () => { + // await adminClient.asSuperAdmin(); + // await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + // const { assignProductVariantsToChannel } = await adminClient.query< + // AssignProductVariantsToChannel.Mutation, + // AssignProductVariantsToChannel.Variables + // >(ASSIGN_PRODUCTVARIANT_TO_CHANNEL, { + // input: { + // channelId: 'T_3', + // productVariantIds: [product1.variants[1].id], + // }, + // }); + // expect(assignProductVariantsToChannel[0].channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); + + // const { removeProductVariantsFromChannel } = await adminClient.query< + // RemoveProductVariantsFromChannel.Mutation, + // RemoveProductVariantsFromChannel.Variables + // >(REMOVE_PRODUCTVARIANT_FROM_CHANNEL, { + // input: { + // productVariantIds: [product1.variants[1].id], + // channelId: 'T_3', + // }, + // }); + // expect(removeProductVariantsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); + + // const { product } = await adminClient.query< + // GetProductWithVariants.Query, + // GetProductWithVariants.Variables + // >(GET_PRODUCT_WITH_VARIANTS, { + // id: product1.id, + // }); + // expect(product!.channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); + // }); + + // it('removes ProductVariant and Product from Channel', async () => { + // await adminClient.asSuperAdmin(); + // await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + // const { removeProductVariantsFromChannel } = await adminClient.query< + // RemoveProductVariantsFromChannel.Mutation, + // RemoveProductVariantsFromChannel.Variables + // >(REMOVE_PRODUCTVARIANT_FROM_CHANNEL, { + // input: { + // productVariantIds: [product1.variants[0].id], + // channelId: 'T_3', + // }, + // }); + + // expect(removeProductVariantsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); + + // const { product } = await adminClient.query< + // GetProductWithVariants.Query, + // GetProductWithVariants.Variables + // >(GET_PRODUCT_WITH_VARIANTS, { + // id: product1.id, + // }); + // expect(product!.channels.map(c => c.id).sort()).toEqual(['T_1']); + // }); + }); +}); diff --git a/packages/core/e2e/product.e2e-spec.ts b/packages/core/e2e/product.e2e-spec.ts index 402c5046eb..7713cf23f3 100644 --- a/packages/core/e2e/product.e2e-spec.ts +++ b/packages/core/e2e/product.e2e-spec.ts @@ -368,21 +368,6 @@ describe('Product resolver', () => { description: 'Eine baked Erdapfel', }, ], - variants: [ - { - translations: [ - { - languageCode: LanguageCode.en, - name: 'Small Baked Potato', - }, - { - languageCode: LanguageCode.de, - name: 'Klein baked Erdapfel', - }, - ], - sku: 'PV0', - }, - ], }, }, ); @@ -415,17 +400,6 @@ describe('Product resolver', () => { description: 'A product with assets', }, ], - variants: [ - { - translations: [ - { - languageCode: LanguageCode.en, - name: 'A productVariant with assets', - }, - ], - sku: 'PV0', - }, - ], }, }, ); @@ -496,17 +470,6 @@ describe('Product resolver', () => { description: 'Another baked potato but a bit different', }, ], - variants: [ - { - translations: [ - { - languageCode: LanguageCode.en, - name: 'Another small Baked Potato', - }, - ], - sku: 'PV0', - }, - ], }, }, ); diff --git a/packages/core/src/api/resolvers/entity/product-entity.resolver.ts b/packages/core/src/api/resolvers/entity/product-entity.resolver.ts index 090485ee6f..aa716c1a34 100644 --- a/packages/core/src/api/resolvers/entity/product-entity.resolver.ts +++ b/packages/core/src/api/resolvers/entity/product-entity.resolver.ts @@ -88,6 +88,10 @@ export class ProductAdminEntityResolver { @ResolveField() async channels(@Ctx() ctx: RequestContext, @Parent() product: Product): Promise { - return this.productService.getProductChannels(ctx, product.id); + if (product.channels) { + return product.channels; + } else { + return this.productService.getProductChannels(ctx, product.id); + } } } diff --git a/packages/core/src/api/schema/admin-api/product.api.graphql b/packages/core/src/api/schema/admin-api/product.api.graphql index 2de7b16aa3..07f5f3c901 100644 --- a/packages/core/src/api/schema/admin-api/product.api.graphql +++ b/packages/core/src/api/schema/admin-api/product.api.graphql @@ -7,7 +7,7 @@ type Query { } type Mutation { - "Create a new Product. Must provide at least one ProductVariant" + "Create a new Product" createProduct(input: CreateProductInput!): Product! "Update an existing Product" @@ -82,22 +82,6 @@ input CreateProductInput { assetIds: [ID!] facetValueIds: [ID!] translations: [ProductTranslationInput!]! - variants: [CreateProductProductVariantInput!]! -} - -input CreateProductProductVariantInput { - translations: [ProductVariantTranslationInput!]! - facetValueIds: [ID!] - sku: String! - price: Int - taxCategoryId: ID - optionIds: [ID!] - featuredAssetId: ID - assetIds: [ID!] - stockOnHand: Int - outOfStockThreshold: Int - useGlobalOutOfStockThreshold: Boolean - trackInventory: GlobalFlag } input UpdateProductInput { diff --git a/packages/core/src/data-import/providers/importer/fast-importer.service.ts b/packages/core/src/data-import/providers/importer/fast-importer.service.ts index 2023dde540..72dec22127 100644 --- a/packages/core/src/data-import/providers/importer/fast-importer.service.ts +++ b/packages/core/src/data-import/providers/importer/fast-importer.service.ts @@ -52,6 +52,7 @@ export class FastImporterService { entityType: Product, translationType: ProductTranslation, beforeSave: async p => { + p.channels = [this.defaultChannel]; if (input.facetValueIds) { p.facetValues = input.facetValueIds.map(id => ({ id } as any)); } diff --git a/packages/core/src/data-import/providers/importer/importer.ts b/packages/core/src/data-import/providers/importer/importer.ts index f3a89942b2..37bdd21cce 100644 --- a/packages/core/src/data-import/providers/importer/importer.ts +++ b/packages/core/src/data-import/providers/importer/importer.ts @@ -161,7 +161,6 @@ export class Importer { }, ], customFields: product.customFields, - variants: [], }); const optionsMap: { [optionName: string]: ID } = {}; diff --git a/packages/core/src/entity/product/product.entity.ts b/packages/core/src/entity/product/product.entity.ts index 841ba1238e..7a490d3375 100644 --- a/packages/core/src/entity/product/product.entity.ts +++ b/packages/core/src/entity/product/product.entity.ts @@ -1,11 +1,12 @@ import { DeepPartial } from '@vendure/common/lib/shared-types'; import { Column, Entity, JoinTable, ManyToMany, ManyToOne, OneToMany } from 'typeorm'; -import { SoftDeletable } from '../../common/types/common-types'; +import { ChannelAware, SoftDeletable } from '../../common/types/common-types'; import { LocaleString, Translatable, Translation } from '../../common/types/locale-types'; import { HasCustomFields } from '../../config/custom-field/custom-field-types'; import { Asset } from '../asset/asset.entity'; import { VendureEntity } from '../base/base.entity'; +import { Channel } from '../channel/channel.entity'; import { CustomProductFields } from '../custom-entity-fields'; import { FacetValue } from '../facet-value/facet-value.entity'; import { ProductOptionGroup } from '../product-option-group/product-option-group.entity'; @@ -22,7 +23,9 @@ import { ProductTranslation } from './product-translation.entity'; * @docsCategory entities */ @Entity() -export class Product extends VendureEntity implements Translatable, HasCustomFields, SoftDeletable { +export class Product + extends VendureEntity + implements Translatable, HasCustomFields, ChannelAware, SoftDeletable { constructor(input?: DeepPartial) { super(input); } @@ -60,4 +63,8 @@ export class Product extends VendureEntity implements Translatable, HasCustomFie @Column(type => CustomProductFields) customFields: CustomProductFields; + + @ManyToMany(type => Channel) + @JoinTable() + channels: Channel[]; } diff --git a/packages/core/src/service/services/product-variant.service.ts b/packages/core/src/service/services/product-variant.service.ts index f69ec4e49a..6a06626928 100644 --- a/packages/core/src/service/services/product-variant.service.ts +++ b/packages/core/src/service/services/product-variant.service.ts @@ -463,6 +463,7 @@ export class ProductVariantService { .findByIds(input.productVariantIds); const priceFactor = input.priceFactor != null ? input.priceFactor : 1; for (const variant of variants) { + await this.channelService.assignToChannels(ctx, Product, variant.productId, [input.channelId]); await this.channelService.assignToChannels(ctx, ProductVariant, variant.id, [input.channelId]); await this.createProductVariantPrice( ctx, @@ -472,7 +473,6 @@ export class ProductVariantService { ); this.eventBus.publish(new ProductVariantChannelEvent(ctx, variant, input.channelId, 'assigned')); } - return this.findByIds( ctx, variants.map(v => v.id), @@ -499,9 +499,27 @@ export class ProductVariantService { .findByIds(input.productVariantIds); for (const variant of variants) { await this.channelService.removeFromChannels(ctx, ProductVariant, variant.id, [input.channelId]); + await this.connection.getRepository(ctx, ProductVariantPrice).delete({ + channelId: input.channelId, + variant, + }); + // If none of the ProductVariants is assigned to the Channel, remove the Channel from Product + const productVariants = await this.connection.getRepository(ctx, ProductVariant).find({ + where: { + productId: variant.productId, + }, + relations: ['channels'], + }); + const productChannelsFromVariants = ([] as Channel[]).concat( + ...productVariants.map(pv => pv.channels), + ); + if (!productChannelsFromVariants.find(c => c.id === input.channelId)) { + await this.channelService.removeFromChannels(ctx, Product, variant.productId, [ + input.channelId, + ]); + } this.eventBus.publish(new ProductVariantChannelEvent(ctx, variant, input.channelId, 'removed')); } - return this.findByIds( ctx, variants.map(v => v.id), @@ -513,6 +531,7 @@ export class ProductVariantService { // https://github.com/vendure-ecommerce/vendure/issues/328 const optionGroups = ( await this.connection.getEntityOrThrow(ctx, Product, input.productId, { + channelId: ctx.channelId, relations: ['optionGroups', 'optionGroups.options'], loadEagerRelations: false, }) @@ -533,6 +552,7 @@ export class ProductVariantService { } const product = await this.connection.getEntityOrThrow(ctx, Product, input.productId, { + channelId: ctx.channelId, relations: ['variants', 'variants.options'], loadEagerRelations: false, }); diff --git a/packages/core/src/service/services/product.service.ts b/packages/core/src/service/services/product.service.ts index 30a961b276..80b54f892a 100644 --- a/packages/core/src/service/services/product.service.ts +++ b/packages/core/src/service/services/product.service.ts @@ -9,7 +9,6 @@ import { UpdateProductInput, } from '@vendure/common/lib/generated-types'; import { ID, PaginatedList } from '@vendure/common/lib/shared-types'; -import { unique } from '@vendure/common/lib/unique'; import { FindOptionsUtils } from 'typeorm'; import { RequestContext } from '../../api/common/request-context'; @@ -42,7 +41,7 @@ import { TaxRateService } from './tax-rate.service'; @Injectable() export class ProductService { - private readonly relations = ['featuredAsset', 'assets', 'facetValues', 'facetValues.facet']; + private readonly relations = ['featuredAsset', 'assets', 'channels', 'facetValues', 'facetValues.facet']; constructor( private connection: TransactionalConnection, @@ -70,10 +69,6 @@ export class ProductService { where: { deletedAt: null }, ctx, }) - .leftJoin('product.variants', 'variant') - .innerJoinAndSelect('variant.channels', 'channel', 'channel.id = :channelId', { - channelId: ctx.channelId, - }) .getManyAndCount() .then(async ([products, totalItems]) => { const items = products.map(product => @@ -87,23 +82,16 @@ export class ProductService { } async findOne(ctx: RequestContext, productId: ID): Promise | undefined> { - const qb = this.connection.getRepository(ctx, Product).createQueryBuilder('product'); - FindOptionsUtils.applyFindManyOptionsOrConditionsToQueryBuilder(qb, { relations: this.relations }); - // tslint:disable-next-line:no-non-null-assertion - FindOptionsUtils.joinEagerRelations(qb, qb.alias, qb.expressionMap.mainAlias!.metadata); - return qb - .leftJoin('product.variants', 'variant') - .innerJoinAndSelect('variant.channels', 'channel', 'channel.id = :channelId', { - channelId: ctx.channelId, - }) - .andWhere('product.id = :productId', { productId }) - .andWhere('product.deletedAt IS NULL') - .getOne() - .then(product => { - return product - ? translateDeep(product, ctx.languageCode, ['facetValues', ['facetValues', 'facet']]) - : undefined; - }); + const product = await this.connection.findOneInChannel(ctx, Product, productId, ctx.channelId, { + relations: this.relations, + where: { + deletedAt: null, + }, + }); + if (!product) { + return; + } + return translateDeep(product, ctx.languageCode, ['facetValues', ['facetValues', 'facet']]); } async findByIds(ctx: RequestContext, productIds: ID[]): Promise>> { @@ -112,12 +100,10 @@ export class ProductService { // tslint:disable-next-line:no-non-null-assertion FindOptionsUtils.joinEagerRelations(qb, qb.alias, qb.expressionMap.mainAlias!.metadata); return qb - .leftJoin('product.variants', 'variant') - .innerJoinAndSelect('variant.channels', 'channel', 'channel.id = :channelId', { - channelId: ctx.channelId, - }) + .leftJoin('product.channels', 'channel') .andWhere('product.deletedAt IS NULL') .andWhere('product.id IN (:...ids)', { ids: productIds }) + .andWhere('channel.id = :channelId', { channelId: ctx.channelId }) .getMany() .then(products => products.map(product => @@ -126,19 +112,12 @@ export class ProductService { ); } - // private async isProductInChannel(ctx: RequestContext, productId: ID, channelId: ID): Promise { - // const channelIds = (await this.getProductChannels(ctx, productId)) - // .map(channel => channel.id); - // return channelIds.includes(channelId); - // } - async getProductChannels(ctx: RequestContext, productId: ID): Promise { - const productVariantChannels = ([] as Channel[]).concat( - ...(await this.productVariantService.getVariantsByProductId(ctx, productId)).map( - pv => pv.channels, - ), - ); - return unique(productVariantChannels, 'code'); + const product = await this.connection.getEntityOrThrow(ctx, Product, productId, { + relations: ['channels'], + channelId: ctx.channelId, + }); + return product.channels; } getFacetValuesForProduct(ctx: RequestContext, productId: ID): Promise>> { @@ -172,6 +151,7 @@ export class ProductService { entityType: Product, translationType: ProductTranslation, beforeSave: async p => { + this.channelService.assignToCurrentChannel(p, ctx); if (input.facetValueIds) { p.facetValues = await this.facetValueService.findByIds(ctx, input.facetValueIds); } @@ -180,12 +160,6 @@ export class ProductService { }); await this.assetService.updateEntityAssets(ctx, product, input); this.eventBus.publish(new ProductEvent(ctx, product, 'created')); - await this.productVariantService.create( - ctx, - input.variants.map(variant => { - return { productId: product.id, ...variant }; - }), - ); return assertFound(this.findOne(ctx, product.id)); } @@ -210,8 +184,9 @@ export class ProductService { } async softDelete(ctx: RequestContext, productId: ID): Promise { - // TODO: product should only be deleted if no active ProductVariants? - const product = await this.connection.getEntityOrThrow(ctx, Product, productId); + const product = await this.connection.getEntityOrThrow(ctx, Product, productId, { + channelId: ctx.channelId, + }); product.deletedAt = new Date(); await this.connection.getRepository(ctx, Product).save(product, { reload: false }); this.eventBus.publish(new ProductEvent(ctx, product, 'deleted')); 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 09bfabb701..019b45f095 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 @@ -360,10 +360,14 @@ export type Mutation = { updateProductVariants: Array>; /** Delete a ProductVariant */ deleteProductVariant: DeletionResponse; - /** Assigns Products to the specified Channel */ + /** Assigns all ProductVariants of Product to the specified Channel */ assignProductsToChannel: Array; - /** Removes Products from the specified Channel */ + /** Removes all ProductVariants of Product from the specified Channel */ removeProductsFromChannel: Array; + /** Assigns ProductVariants to the specified Channel */ + assignProductVariantsToChannel: Array; + /** Removes ProductVariants from the specified Channel */ + removeProductVariantsFromChannel: Array; createPromotion: CreatePromotionResult; updatePromotion: UpdatePromotionResult; deletePromotion: DeletionResponse; @@ -696,6 +700,14 @@ export type MutationRemoveProductsFromChannelArgs = { input: RemoveProductsFromChannelInput; }; +export type MutationAssignProductVariantsToChannelArgs = { + input: AssignProductVariantsToChannelInput; +}; + +export type MutationRemoveProductVariantsFromChannelArgs = { + input: RemoveProductVariantsFromChannelInput; +}; + export type MutationCreatePromotionArgs = { input: CreatePromotionInput; }; @@ -1490,6 +1502,7 @@ export type ProductVariant = Node & { outOfStockThreshold: Scalars['Int']; useGlobalOutOfStockThreshold: Scalars['Boolean']; stockMovements: StockMovementList; + channels: Array; id: Scalars['ID']; product: Product; productId: Scalars['ID']; @@ -1607,6 +1620,17 @@ export type RemoveProductsFromChannelInput = { channelId: Scalars['ID']; }; +export type AssignProductVariantsToChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; + priceFactor?: Maybe; +}; + +export type RemoveProductVariantsFromChannelInput = { + productVariantIds: Array; + channelId: Scalars['ID']; +}; + export type ProductOptionInUseError = ErrorResult & { errorCode: ErrorCode; message: Scalars['String']; diff --git a/schema-admin.json b/schema-admin.json index 0eb90b3c10..70fe386257 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":"activeAdministrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":"Get a list of Assets","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetListOptions","ofType":null},"defaultValue":null}],"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":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"fields":[{"name":"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 is 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":"UNION","name":"NativeAuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticate","description":"Authenticates the user using a named authentication strategy","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AuthenticationInput","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":"Create a new Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreateChannelResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateChannel","description":"Update an existing Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateChannelResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteChannel","description":"Delete a Channel","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"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":"UNION","name":"CreateCustomerResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomer","description":"Update an existing Customer","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateCustomerResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomer","description":"Delete a Customer","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"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":"UNION","name":"UpdateGlobalSettingsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"importProducts","description":null,"args":[{"name":"csvFile","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"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":"UNION","name":"SettlePaymentResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addFulfillmentToOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FulfillOrderInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AddFulfillmentToOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cancelOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CancelOrderInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CancelOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RefundOrderInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RefundOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"settleRefund","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SettleRefundInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SettleRefundResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addNoteToOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddNoteToOrderInput","ofType":null}},"defaultValue":null}],"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":"UNION","name":"TransitionFulfillmentToStateResult","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":"UNION","name":"RemoveOptionGroupFromProductResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createProductVariants","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","ofType":null}}}},"defaultValue":null}],"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":"UNION","name":"CreatePromotionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdatePromotionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePromotion","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"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":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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":"MimeTypeError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateAssetResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"MimeTypeError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"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":"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":"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":"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":"UNION","name":"NativeAuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"AuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null}]},{"kind":"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":"OBJECT","name":"LanguageNotAvailableError","description":"Returned if attempting to set a Channel's defaultLanguageCode to a language which is not enabled in GlobalSettings","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null}]},{"kind":"UNION","name":"UpdateChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null}]},{"kind":"OBJECT","name":"Collection","description":null,"fields":[{"name":"isPrivate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"UNION","name":"CreateCustomerResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"UNION","name":"UpdateCustomerResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"OBJECT","name":"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":"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":"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":"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":"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":"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":"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":"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},{"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":"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":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","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":"ChannelDefaultLanguageError","description":"Returned when the default LanguageCode of a Channel is no longer found in the `availableLanguages`\nof the GlobalSettings","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channelCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"UpdateGlobalSettingsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"GlobalSettings","ofType":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","ofType":null}]},{"kind":"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":"OBJECT","name":"JobList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Job","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startedAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"settledAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"queueName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"JobState","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"progress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"error","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isSettled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"JobQueue","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"running","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Order","description":null,"fields":[{"name":"nextStates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":"The date & time that the Order was placed, i.e. the Customer\ncompleted the checkout and the Order is no longer \"active\"","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"A unique code for the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"active","description":"An order is active as long as the payment process has not been completed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"billingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"totalQuantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"taxSummary","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderTaxSummary","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"history","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","ofType":null},"defaultValue":null}],"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":"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":"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":"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":"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":"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":"OBJECT","name":"SettlePaymentError","description":"Returned if the Payment settlement fails","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","description":"Returned if no OrderLines have been specified for the operation","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","description":"Returned if the specified items are already part of a Fulfillment","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","description":"Returned if attempting to create a Fulfillment when there is insufficient\nstockOnHand of a ProductVariant to satisfy the requested quantity.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MultipleOrderError","description":"Returned if an operation has specified OrderLines from multiple Orders","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CancelActiveOrderError","description":"Returned if an attempting to cancel lines from an Order which is still active","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","description":"Returned if an attempting to refund a Payment against OrderLines from a different Order","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundOrderStateError","description":"Returned if an attempting to refund an Order which is not in the expected state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NothingToRefundError","description":"Returned if an attempting to refund an Order but neither items nor shipping refund was specified","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AlreadyRefundedError","description":"Returned if an attempting to refund an OrderItem which has already been refunded","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"QuantityTooGreatError","description":"Returned if the specified quantity of an OrderLine is greater than the number of items in that line","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundStateTransitionError","description":"Returned when there is an error in transitioning the Refund state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","description":"Returned when there is an error in transitioning the Payment state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","description":"Returned when there is an error in transitioning the Fulfillment state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"TransitionOrderToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"SettlePaymentResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"SettlePaymentError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"AddFulfillmentToOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","ofType":null}]},{"kind":"UNION","name":"CancelOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"CancelActiveOrderError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"RefundOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"NothingToRefundError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","ofType":null},{"kind":"OBJECT","name":"RefundOrderStateError","ofType":null},{"kind":"OBJECT","name":"AlreadyRefundedError","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null}]},{"kind":"UNION","name":"SettleRefundResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null}]},{"kind":"UNION","name":"TransitionFulfillmentToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null}]},{"kind":"OBJECT","name":"PaymentMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"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":"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":"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":"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":"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":"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":"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":"ProductVariant","description":null,"fields":[{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"GlobalFlag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockAllocated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"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":"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":"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":"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":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"ENUM","name":"GlobalFlag","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":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"ENUM","name":"GlobalFlag","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":"OBJECT","name":"ProductOptionInUseError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroupCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"RemoveOptionGroupFromProductResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductOptionInUseError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"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":"OBJECT","name":"MissingConditionsError","description":"Returned if a PromotionCondition has neither a couponCode nor any conditions set","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreatePromotionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null}]},{"kind":"UNION","name":"UpdatePromotionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"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":"ShippingMethodTranslationInput","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":"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":"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":"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":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","ofType":null}}}},"defaultValue":null},{"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":"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":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TestShippingMethodInput","description":null,"fields":null,"inputFields":[{"name":"checker","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null},{"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":"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":"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":"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":"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":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"GlobalFlag","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TRUE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FALSE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INHERIT","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"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":"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":"OBJECT","name":"ConfigArg","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArgDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperation","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArg","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperationDefinition","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArgDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"DeletionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"DELETED","description":"The entity was successfully deleted","isDeprecated":false,"deprecationReason":null},{"name":"NOT_DELETED","description":"Deletion did not take place, reason given in message","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":"@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":"Authenticated means simply that the user is logged in","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":"SuperAdmin has unrestricted access to all operations","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":"Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":"Public means any unauthenticated user may perform the operation","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":"Grants permission to create Catalog","isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":"Grants permission to read Catalog","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":"Grants permission to update Catalog","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":"Grants permission to delete Catalog","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":"Grants permission to create Customer","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":"Grants permission to read Customer","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":"Grants permission to update Customer","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":"Grants permission to delete Customer","isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":"Grants permission to create Administrator","isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":"Grants permission to read Administrator","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":"Grants permission to update Administrator","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":"Grants permission to delete Administrator","isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":"Grants permission to create Order","isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":"Grants permission to read Order","isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":"Grants permission to update Order","isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":"Grants permission to delete Order","isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":"Grants permission to create Promotion","isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":"Grants permission to read Promotion","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":"Grants permission to update Promotion","isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":"Grants permission to delete Promotion","isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":"Grants permission to create Settings","isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":"Grants permission to read Settings","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":"Grants permission to update Settings","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":"Grants permission to delete Settings","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"DeletionResponse","description":null,"fields":[{"name":"result","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DeletionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigArgInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"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":"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":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CustomerGroupList","ofType":null},{"kind":"OBJECT","name":"JobList","ofType":null},{"kind":"OBJECT","name":"PaymentMethodList","ofType":null},{"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":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"OrderList","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":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Job","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ErrorCode","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UNKNOWN_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MIME_TYPE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"LANGUAGE_NOT_AVAILABLE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CHANNEL_DEFAULT_LANGUAGE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SETTLE_PAYMENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMPTY_ORDER_LINE_SELECTION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ITEMS_ALREADY_FULFILLED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INSUFFICIENT_STOCK_ON_HAND_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MULTIPLE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCEL_ACTIVE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_ORDER_MISMATCH_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_ORDER_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NOTHING_TO_REFUND_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALREADY_REFUNDED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"QUANTITY_TOO_GREAT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FULFILLMENT_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT_OPTION_IN_USE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MISSING_CONDITIONS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NATIVE_AUTH_STRATEGY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVALID_CREDENTIALS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMAIL_ADDRESS_CONFLICT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MimeTypeError","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","ofType":null},{"kind":"OBJECT","name":"SettlePaymentError","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"CancelActiveOrderError","ofType":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","ofType":null},{"kind":"OBJECT","name":"RefundOrderStateError","ofType":null},{"kind":"OBJECT","name":"NothingToRefundError","ofType":null},{"kind":"OBJECT","name":"AlreadyRefundedError","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"ProductOptionInUseError","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"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},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"regex","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"OBJECT","name":"NativeAuthStrategyError","description":"Retured when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InvalidCredentialsError","description":"Returned if the user authentication credentials are not valid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderStateTransitionError","description":"Returned if there is an error in transitioning the Order state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmailAddressConflictError","description":"Retured when attemting to create a Customer with an email address already registered to an existing User.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CurrencyCode","description":"@description\nISO 4217 currency code\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AED","description":"United Arab Emirates dirham","isDeprecated":false,"deprecationReason":null},{"name":"AFN","description":"Afghan afghani","isDeprecated":false,"deprecationReason":null},{"name":"ALL","description":"Albanian lek","isDeprecated":false,"deprecationReason":null},{"name":"AMD","description":"Armenian dram","isDeprecated":false,"deprecationReason":null},{"name":"ANG","description":"Netherlands Antillean guilder","isDeprecated":false,"deprecationReason":null},{"name":"AOA","description":"Angolan kwanza","isDeprecated":false,"deprecationReason":null},{"name":"ARS","description":"Argentine peso","isDeprecated":false,"deprecationReason":null},{"name":"AUD","description":"Australian dollar","isDeprecated":false,"deprecationReason":null},{"name":"AWG","description":"Aruban florin","isDeprecated":false,"deprecationReason":null},{"name":"AZN","description":"Azerbaijani manat","isDeprecated":false,"deprecationReason":null},{"name":"BAM","description":"Bosnia and Herzegovina convertible mark","isDeprecated":false,"deprecationReason":null},{"name":"BBD","description":"Barbados dollar","isDeprecated":false,"deprecationReason":null},{"name":"BDT","description":"Bangladeshi taka","isDeprecated":false,"deprecationReason":null},{"name":"BGN","description":"Bulgarian lev","isDeprecated":false,"deprecationReason":null},{"name":"BHD","description":"Bahraini dinar","isDeprecated":false,"deprecationReason":null},{"name":"BIF","description":"Burundian franc","isDeprecated":false,"deprecationReason":null},{"name":"BMD","description":"Bermudian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BND","description":"Brunei dollar","isDeprecated":false,"deprecationReason":null},{"name":"BOB","description":"Boliviano","isDeprecated":false,"deprecationReason":null},{"name":"BRL","description":"Brazilian real","isDeprecated":false,"deprecationReason":null},{"name":"BSD","description":"Bahamian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BTN","description":"Bhutanese ngultrum","isDeprecated":false,"deprecationReason":null},{"name":"BWP","description":"Botswana pula","isDeprecated":false,"deprecationReason":null},{"name":"BYN","description":"Belarusian ruble","isDeprecated":false,"deprecationReason":null},{"name":"BZD","description":"Belize dollar","isDeprecated":false,"deprecationReason":null},{"name":"CAD","description":"Canadian dollar","isDeprecated":false,"deprecationReason":null},{"name":"CDF","description":"Congolese franc","isDeprecated":false,"deprecationReason":null},{"name":"CHF","description":"Swiss franc","isDeprecated":false,"deprecationReason":null},{"name":"CLP","description":"Chilean peso","isDeprecated":false,"deprecationReason":null},{"name":"CNY","description":"Renminbi (Chinese) yuan","isDeprecated":false,"deprecationReason":null},{"name":"COP","description":"Colombian peso","isDeprecated":false,"deprecationReason":null},{"name":"CRC","description":"Costa Rican colon","isDeprecated":false,"deprecationReason":null},{"name":"CUC","description":"Cuban convertible peso","isDeprecated":false,"deprecationReason":null},{"name":"CUP","description":"Cuban peso","isDeprecated":false,"deprecationReason":null},{"name":"CVE","description":"Cape Verde escudo","isDeprecated":false,"deprecationReason":null},{"name":"CZK","description":"Czech koruna","isDeprecated":false,"deprecationReason":null},{"name":"DJF","description":"Djiboutian franc","isDeprecated":false,"deprecationReason":null},{"name":"DKK","description":"Danish krone","isDeprecated":false,"deprecationReason":null},{"name":"DOP","description":"Dominican peso","isDeprecated":false,"deprecationReason":null},{"name":"DZD","description":"Algerian dinar","isDeprecated":false,"deprecationReason":null},{"name":"EGP","description":"Egyptian pound","isDeprecated":false,"deprecationReason":null},{"name":"ERN","description":"Eritrean nakfa","isDeprecated":false,"deprecationReason":null},{"name":"ETB","description":"Ethiopian birr","isDeprecated":false,"deprecationReason":null},{"name":"EUR","description":"Euro","isDeprecated":false,"deprecationReason":null},{"name":"FJD","description":"Fiji dollar","isDeprecated":false,"deprecationReason":null},{"name":"FKP","description":"Falkland Islands pound","isDeprecated":false,"deprecationReason":null},{"name":"GBP","description":"Pound sterling","isDeprecated":false,"deprecationReason":null},{"name":"GEL","description":"Georgian lari","isDeprecated":false,"deprecationReason":null},{"name":"GHS","description":"Ghanaian cedi","isDeprecated":false,"deprecationReason":null},{"name":"GIP","description":"Gibraltar pound","isDeprecated":false,"deprecationReason":null},{"name":"GMD","description":"Gambian dalasi","isDeprecated":false,"deprecationReason":null},{"name":"GNF","description":"Guinean franc","isDeprecated":false,"deprecationReason":null},{"name":"GTQ","description":"Guatemalan quetzal","isDeprecated":false,"deprecationReason":null},{"name":"GYD","description":"Guyanese dollar","isDeprecated":false,"deprecationReason":null},{"name":"HKD","description":"Hong Kong dollar","isDeprecated":false,"deprecationReason":null},{"name":"HNL","description":"Honduran lempira","isDeprecated":false,"deprecationReason":null},{"name":"HRK","description":"Croatian kuna","isDeprecated":false,"deprecationReason":null},{"name":"HTG","description":"Haitian gourde","isDeprecated":false,"deprecationReason":null},{"name":"HUF","description":"Hungarian forint","isDeprecated":false,"deprecationReason":null},{"name":"IDR","description":"Indonesian rupiah","isDeprecated":false,"deprecationReason":null},{"name":"ILS","description":"Israeli new shekel","isDeprecated":false,"deprecationReason":null},{"name":"INR","description":"Indian rupee","isDeprecated":false,"deprecationReason":null},{"name":"IQD","description":"Iraqi dinar","isDeprecated":false,"deprecationReason":null},{"name":"IRR","description":"Iranian rial","isDeprecated":false,"deprecationReason":null},{"name":"ISK","description":"Icelandic króna","isDeprecated":false,"deprecationReason":null},{"name":"JMD","description":"Jamaican dollar","isDeprecated":false,"deprecationReason":null},{"name":"JOD","description":"Jordanian dinar","isDeprecated":false,"deprecationReason":null},{"name":"JPY","description":"Japanese yen","isDeprecated":false,"deprecationReason":null},{"name":"KES","description":"Kenyan shilling","isDeprecated":false,"deprecationReason":null},{"name":"KGS","description":"Kyrgyzstani som","isDeprecated":false,"deprecationReason":null},{"name":"KHR","description":"Cambodian riel","isDeprecated":false,"deprecationReason":null},{"name":"KMF","description":"Comoro franc","isDeprecated":false,"deprecationReason":null},{"name":"KPW","description":"North Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KRW","description":"South Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KWD","description":"Kuwaiti dinar","isDeprecated":false,"deprecationReason":null},{"name":"KYD","description":"Cayman Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"KZT","description":"Kazakhstani tenge","isDeprecated":false,"deprecationReason":null},{"name":"LAK","description":"Lao kip","isDeprecated":false,"deprecationReason":null},{"name":"LBP","description":"Lebanese pound","isDeprecated":false,"deprecationReason":null},{"name":"LKR","description":"Sri Lankan rupee","isDeprecated":false,"deprecationReason":null},{"name":"LRD","description":"Liberian dollar","isDeprecated":false,"deprecationReason":null},{"name":"LSL","description":"Lesotho loti","isDeprecated":false,"deprecationReason":null},{"name":"LYD","description":"Libyan dinar","isDeprecated":false,"deprecationReason":null},{"name":"MAD","description":"Moroccan dirham","isDeprecated":false,"deprecationReason":null},{"name":"MDL","description":"Moldovan leu","isDeprecated":false,"deprecationReason":null},{"name":"MGA","description":"Malagasy ariary","isDeprecated":false,"deprecationReason":null},{"name":"MKD","description":"Macedonian denar","isDeprecated":false,"deprecationReason":null},{"name":"MMK","description":"Myanmar kyat","isDeprecated":false,"deprecationReason":null},{"name":"MNT","description":"Mongolian tögrög","isDeprecated":false,"deprecationReason":null},{"name":"MOP","description":"Macanese pataca","isDeprecated":false,"deprecationReason":null},{"name":"MRU","description":"Mauritanian ouguiya","isDeprecated":false,"deprecationReason":null},{"name":"MUR","description":"Mauritian rupee","isDeprecated":false,"deprecationReason":null},{"name":"MVR","description":"Maldivian rufiyaa","isDeprecated":false,"deprecationReason":null},{"name":"MWK","description":"Malawian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"MXN","description":"Mexican peso","isDeprecated":false,"deprecationReason":null},{"name":"MYR","description":"Malaysian ringgit","isDeprecated":false,"deprecationReason":null},{"name":"MZN","description":"Mozambican metical","isDeprecated":false,"deprecationReason":null},{"name":"NAD","description":"Namibian dollar","isDeprecated":false,"deprecationReason":null},{"name":"NGN","description":"Nigerian naira","isDeprecated":false,"deprecationReason":null},{"name":"NIO","description":"Nicaraguan córdoba","isDeprecated":false,"deprecationReason":null},{"name":"NOK","description":"Norwegian krone","isDeprecated":false,"deprecationReason":null},{"name":"NPR","description":"Nepalese rupee","isDeprecated":false,"deprecationReason":null},{"name":"NZD","description":"New Zealand dollar","isDeprecated":false,"deprecationReason":null},{"name":"OMR","description":"Omani rial","isDeprecated":false,"deprecationReason":null},{"name":"PAB","description":"Panamanian balboa","isDeprecated":false,"deprecationReason":null},{"name":"PEN","description":"Peruvian sol","isDeprecated":false,"deprecationReason":null},{"name":"PGK","description":"Papua New Guinean kina","isDeprecated":false,"deprecationReason":null},{"name":"PHP","description":"Philippine peso","isDeprecated":false,"deprecationReason":null},{"name":"PKR","description":"Pakistani rupee","isDeprecated":false,"deprecationReason":null},{"name":"PLN","description":"Polish złoty","isDeprecated":false,"deprecationReason":null},{"name":"PYG","description":"Paraguayan guaraní","isDeprecated":false,"deprecationReason":null},{"name":"QAR","description":"Qatari riyal","isDeprecated":false,"deprecationReason":null},{"name":"RON","description":"Romanian leu","isDeprecated":false,"deprecationReason":null},{"name":"RSD","description":"Serbian dinar","isDeprecated":false,"deprecationReason":null},{"name":"RUB","description":"Russian ruble","isDeprecated":false,"deprecationReason":null},{"name":"RWF","description":"Rwandan franc","isDeprecated":false,"deprecationReason":null},{"name":"SAR","description":"Saudi riyal","isDeprecated":false,"deprecationReason":null},{"name":"SBD","description":"Solomon Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"SCR","description":"Seychelles rupee","isDeprecated":false,"deprecationReason":null},{"name":"SDG","description":"Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"SEK","description":"Swedish krona/kronor","isDeprecated":false,"deprecationReason":null},{"name":"SGD","description":"Singapore dollar","isDeprecated":false,"deprecationReason":null},{"name":"SHP","description":"Saint Helena pound","isDeprecated":false,"deprecationReason":null},{"name":"SLL","description":"Sierra Leonean leone","isDeprecated":false,"deprecationReason":null},{"name":"SOS","description":"Somali shilling","isDeprecated":false,"deprecationReason":null},{"name":"SRD","description":"Surinamese dollar","isDeprecated":false,"deprecationReason":null},{"name":"SSP","description":"South Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"STN","description":"São Tomé and Príncipe dobra","isDeprecated":false,"deprecationReason":null},{"name":"SVC","description":"Salvadoran colón","isDeprecated":false,"deprecationReason":null},{"name":"SYP","description":"Syrian pound","isDeprecated":false,"deprecationReason":null},{"name":"SZL","description":"Swazi lilangeni","isDeprecated":false,"deprecationReason":null},{"name":"THB","description":"Thai baht","isDeprecated":false,"deprecationReason":null},{"name":"TJS","description":"Tajikistani somoni","isDeprecated":false,"deprecationReason":null},{"name":"TMT","description":"Turkmenistan manat","isDeprecated":false,"deprecationReason":null},{"name":"TND","description":"Tunisian dinar","isDeprecated":false,"deprecationReason":null},{"name":"TOP","description":"Tongan paʻanga","isDeprecated":false,"deprecationReason":null},{"name":"TRY","description":"Turkish lira","isDeprecated":false,"deprecationReason":null},{"name":"TTD","description":"Trinidad and Tobago dollar","isDeprecated":false,"deprecationReason":null},{"name":"TWD","description":"New Taiwan dollar","isDeprecated":false,"deprecationReason":null},{"name":"TZS","description":"Tanzanian shilling","isDeprecated":false,"deprecationReason":null},{"name":"UAH","description":"Ukrainian hryvnia","isDeprecated":false,"deprecationReason":null},{"name":"UGX","description":"Ugandan shilling","isDeprecated":false,"deprecationReason":null},{"name":"USD","description":"United States dollar","isDeprecated":false,"deprecationReason":null},{"name":"UYU","description":"Uruguayan peso","isDeprecated":false,"deprecationReason":null},{"name":"UZS","description":"Uzbekistan som","isDeprecated":false,"deprecationReason":null},{"name":"VES","description":"Venezuelan bolívar soberano","isDeprecated":false,"deprecationReason":null},{"name":"VND","description":"Vietnamese đồng","isDeprecated":false,"deprecationReason":null},{"name":"VUV","description":"Vanuatu vatu","isDeprecated":false,"deprecationReason":null},{"name":"WST","description":"Samoan tala","isDeprecated":false,"deprecationReason":null},{"name":"XAF","description":"CFA franc BEAC","isDeprecated":false,"deprecationReason":null},{"name":"XCD","description":"East Caribbean dollar","isDeprecated":false,"deprecationReason":null},{"name":"XOF","description":"CFA franc BCEAO","isDeprecated":false,"deprecationReason":null},{"name":"XPF","description":"CFP franc (franc Pacifique)","isDeprecated":false,"deprecationReason":null},{"name":"YER","description":"Yemeni rial","isDeprecated":false,"deprecationReason":null},{"name":"ZAR","description":"South African rand","isDeprecated":false,"deprecationReason":null},{"name":"ZMW","description":"Zambian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"ZWL","description":"Zimbabwean dollar","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"CustomField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"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":"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":"LocalizedString","description":null,"fields":[{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CustomFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null}]},{"kind":"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":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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":"OBJECT","name":"Coordinate","description":null,"fields":[{"name":"x","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"y","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUser","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUserChannel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUserChannel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"CollectionBreadcrumb","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"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":"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":"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":"OBJECT","name":"CountryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValue","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GlobalSettings","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguages","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"serverConfig","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ServerConfig","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderProcessState","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"to","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PermissionDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ServerConfig","description":null,"fields":[{"name":"orderProcess","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderProcessState","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"permittedAssetTypes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PermissionDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"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":"OrderTaxSummary","description":"A summary of the taxes being applied to this order, grouped\nby taxRate.","fields":[{"name":"taxRate","description":"The taxRate as a percentage","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxBase","description":"The total net price or OrderItems to which this taxRate applies","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxTotal","description":"The total tax being applied to the Order at this taxRate","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderAddress","description":null,"fields":[{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","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":"The price of a single unit, excluding tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":"The price of a single unit, including tax","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":true,"deprecationReason":"`unitPrice` is now always without tax"},{"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":"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":true,"deprecationReason":"Use `linePriceWithTax` instead"},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePrice","description":"The total price of the line excluding tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lineTax","description":"The total tax on this line","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePriceWithTax","description":"The total price of the line including tax","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":"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":"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":"ProductOptionGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroupTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroupTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOption","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"groupId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"group","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchReindexResponse","description":null,"fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResponse","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"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":"SearchResultAsset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"SearchResultPrice","description":"The price of a search result product, either as a range or as a single price","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"PriceRange","ofType":null},{"kind":"OBJECT","name":"SinglePrice","ofType":null}]},{"kind":"OBJECT","name":"SinglePrice","description":"The price value where the result has a single price","fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PriceRange","description":"The price range where the result has more than one price","fields":[{"name":"min","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"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":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"StockMovementType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ADJUSTMENT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALLOCATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RELEASE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SALE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCELLATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RETURN","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"StockMovement","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null}]},{"kind":"OBJECT","name":"StockAdjustment","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Allocation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Sale","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"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":"Release","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"UNION","name":"StockMovementItem","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null}]},{"kind":"OBJECT","name":"StockMovementList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"StockMovementItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"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":"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":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verified","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"roles","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"lastLogin","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationMethods","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AuthenticationMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"strategy","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"orderPlacedAt","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":"totalQuantity","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","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":"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":"orderPlacedAt","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":"totalQuantity","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"name","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":"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":"name","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":"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":"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":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"stockOnHand","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"stockAllocated","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"useGlobalOutOfStockThreshold","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":"INPUT_OBJECT","name":"ProductVariantSortParameter","description":null,"fields":null,"inputFields":[{"name":"stockOnHand","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"stockAllocated","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"outOfStockThreshold","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":"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":"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":"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":"Fulfillment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"GlobalSettings","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"OrderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"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`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"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":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null}],"directives":[{"name":"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\""}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behaviour of this scalar.","locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behaviour of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}]}]}}} +{"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":"activeAdministrator","description":null,"args":[],"type":{"kind":"OBJECT","name":"Administrator","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":"Get a list of Assets","args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"AssetListOptions","ofType":null},"defaultValue":null}],"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":"SCALAR","name":"ID","description":"The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Mutation","description":null,"fields":[{"name":"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 is 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":"UNION","name":"NativeAuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticate","description":"Authenticates the user using a named authentication strategy","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AuthenticationInput","ofType":null}},"defaultValue":null},{"name":"rememberMe","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AuthenticationResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"logout","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Success","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createChannel","description":"Create a new Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreateChannelResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateChannel","description":"Update an existing Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateChannelResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteChannel","description":"Delete a Channel","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"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":"UNION","name":"CreateCustomerResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updateCustomer","description":"Update an existing Customer","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdateCustomerInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdateCustomerResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deleteCustomer","description":"Delete a Customer","args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"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":"UNION","name":"UpdateGlobalSettingsResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"importProducts","description":null,"args":[{"name":"csvFile","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Upload","ofType":null}},"defaultValue":null}],"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":"UNION","name":"SettlePaymentResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addFulfillmentToOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"FulfillOrderInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"AddFulfillmentToOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"cancelOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CancelOrderInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CancelOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RefundOrderInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"RefundOrderResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"settleRefund","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"SettleRefundInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"SettleRefundResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"addNoteToOrder","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AddNoteToOrderInput","ofType":null}},"defaultValue":null}],"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":"UNION","name":"TransitionFulfillmentToStateResult","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":"UNION","name":"RemoveOptionGroupFromProductResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createProductVariants","description":"Create a set of ProductVariants based on the OptionGroups assigned to the given Product","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreateProductVariantInput","ofType":null}}}},"defaultValue":null}],"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 all ProductVariants of Product to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignProductsToChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeProductsFromChannel","description":"Removes all ProductVariants of Product from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveProductsFromChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"assignProductVariantsToChannel","description":"Assigns ProductVariants to the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"AssignProductVariantsToChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"removeProductVariantsFromChannel","description":"Removes ProductVariants from the specified Channel","args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"RemoveProductVariantsFromChannelInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"createPromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"CreatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CreatePromotionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatePromotion","description":null,"args":[{"name":"input","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"UpdatePromotionInput","ofType":null}},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"UpdatePromotionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"deletePromotion","description":null,"args":[{"name":"id","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"defaultValue":null}],"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":"SCALAR","name":"Boolean","description":"The `Boolean` scalar type represents `true` or `false`.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"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":"MimeTypeError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fileName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mimeType","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateAssetResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"MimeTypeError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"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":"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":"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":"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":"UNION","name":"NativeAuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null}]},{"kind":"UNION","name":"AuthenticationResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CurrentUser","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null}]},{"kind":"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":"OBJECT","name":"LanguageNotAvailableError","description":"Returned if attempting to set a Channel's defaultLanguageCode to a language which is not enabled in GlobalSettings","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreateChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null}]},{"kind":"UNION","name":"UpdateChannelResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null}]},{"kind":"OBJECT","name":"Collection","description":null,"fields":[{"name":"isPrivate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"UNION","name":"CreateCustomerResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"UNION","name":"UpdateCustomerResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"OBJECT","name":"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":"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":"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":"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":"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":"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":"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":"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},{"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":"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":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","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":"ChannelDefaultLanguageError","description":"Returned when the default LanguageCode of a Channel is no longer found in the `availableLanguages`\nof the GlobalSettings","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"language","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channelCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"UpdateGlobalSettingsResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"GlobalSettings","ofType":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","ofType":null}]},{"kind":"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":"OBJECT","name":"JobList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Job","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Job","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startedAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"settledAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"queueName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"JobState","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"progress","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"result","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"error","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"isSettled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"duration","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"JobQueue","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"running","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Order","description":null,"fields":[{"name":"nextStates","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderPlacedAt","description":"The date & time that the Order was placed, i.e. the Customer\ncompleted the checkout and the Order is no longer \"active\"","args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":"A unique code for the Order","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"state","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"active","description":"An order is active as long as the payment process has not been completed","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customer","description":null,"args":[],"type":{"kind":"OBJECT","name":"Customer","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"shippingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"billingAddress","description":null,"args":[],"type":{"kind":"OBJECT","name":"OrderAddress","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"lines","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"totalQuantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","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":"taxSummary","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderTaxSummary","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"history","description":null,"args":[{"name":"options","description":null,"type":{"kind":"INPUT_OBJECT","name":"HistoryEntryListOptions","ofType":null},"defaultValue":null}],"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":"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":"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":"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":"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":"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":"OBJECT","name":"SettlePaymentError","description":"Returned if the Payment settlement fails","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"paymentErrorMessage","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","description":"Returned if no OrderLines have been specified for the operation","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","description":"Returned if the specified items are already part of a Fulfillment","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","description":"Returned if attempting to create a Fulfillment when there is insufficient\nstockOnHand of a ProductVariant to satisfy the requested quantity.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantName","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"MultipleOrderError","description":"Returned if an operation has specified OrderLines from multiple Orders","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CancelActiveOrderError","description":"Returned if an attempting to cancel lines from an Order which is still active","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","description":"Returned if an attempting to refund a Payment against OrderLines from a different Order","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundOrderStateError","description":"Returned if an attempting to refund an Order which is not in the expected state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"NothingToRefundError","description":"Returned if an attempting to refund an Order but neither items nor shipping refund was specified","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AlreadyRefundedError","description":"Returned if an attempting to refund an OrderItem which has already been refunded","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"refundId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"QuantityTooGreatError","description":"Returned if the specified quantity of an OrderLine is greater than the number of items in that line","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RefundStateTransitionError","description":"Returned when there is an error in transitioning the Refund state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","description":"Returned when there is an error in transitioning the Payment state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","description":"Returned when there is an error in transitioning the Fulfillment state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"TransitionOrderToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"SettlePaymentResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"SettlePaymentError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"AddFulfillmentToOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","ofType":null}]},{"kind":"UNION","name":"CancelOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"CancelActiveOrderError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null}]},{"kind":"UNION","name":"RefundOrderResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"NothingToRefundError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","ofType":null},{"kind":"OBJECT","name":"RefundOrderStateError","ofType":null},{"kind":"OBJECT","name":"AlreadyRefundedError","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null}]},{"kind":"UNION","name":"SettleRefundResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null}]},{"kind":"UNION","name":"TransitionFulfillmentToStateResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null}]},{"kind":"OBJECT","name":"PaymentMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PaymentMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"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":"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":"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":"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":"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":"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":"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":"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":"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":"ProductVariant","description":null,"fields":[{"name":"enabled","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"GlobalFlag","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockOnHand","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"stockAllocated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"useGlobalOutOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"product","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"sku","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"featuredAsset","description":null,"args":[],"type":{"kind":"OBJECT","name":"Asset","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"assets","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"price","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"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":"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":"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":"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":"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":"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":"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":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"ENUM","name":"GlobalFlag","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":"outOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"useGlobalOutOfStockThreshold","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"ENUM","name":"GlobalFlag","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":"AssignProductVariantsToChannelInput","description":null,"fields":null,"inputFields":[{"name":"productVariantIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null},{"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":"RemoveProductVariantsFromChannelInput","description":null,"fields":null,"inputFields":[{"name":"productVariantIds","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}}}},"defaultValue":null},{"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":"OBJECT","name":"ProductOptionInUseError","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"optionGroupCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariantCount","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"RemoveOptionGroupFromProductResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductOptionInUseError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"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":"OBJECT","name":"MissingConditionsError","description":"Returned if a PromotionCondition has neither a couponCode nor any conditions set","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CreatePromotionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null}]},{"kind":"UNION","name":"UpdatePromotionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null}]},{"kind":"INPUT_OBJECT","name":"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":"ShippingMethodTranslationInput","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":"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":"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":"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":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","ofType":null}}}},"defaultValue":null},{"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":"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":"translations","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ShippingMethodTranslationInput","ofType":null}}}},"defaultValue":null},{"name":"customFields","description":null,"type":{"kind":"SCALAR","name":"JSON","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"TestShippingMethodInput","description":null,"fields":null,"inputFields":[{"name":"checker","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"ConfigurableOperationInput","ofType":null}},"defaultValue":null},{"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":"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":"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":"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":"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":"SCALAR","name":"JSON","description":"The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"DateTime","description":"A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Upload","description":"The `Upload` scalar type represents a file upload.","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"GlobalFlag","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"TRUE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FALSE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INHERIT","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"AdjustmentType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"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":"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":"OBJECT","name":"ConfigArg","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigArgDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"ui","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperation","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArg","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ConfigurableOperationDefinition","description":null,"fields":[{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigArgDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"DeletionResult","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"DELETED","description":"The entity was successfully deleted","isDeprecated":false,"deprecationReason":null},{"name":"NOT_DELETED","description":"Deletion did not take place, reason given in message","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"Permission","description":"@description\nPermissions for administrators and customers. Used to control access to\nGraphQL resolvers via the {@link Allow} decorator.\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"Authenticated","description":"Authenticated means simply that the user is logged in","isDeprecated":false,"deprecationReason":null},{"name":"SuperAdmin","description":"SuperAdmin has unrestricted access to all operations","isDeprecated":false,"deprecationReason":null},{"name":"Owner","description":"Owner means the user owns this entity, e.g. a Customer's own Order","isDeprecated":false,"deprecationReason":null},{"name":"Public","description":"Public means any unauthenticated user may perform the operation","isDeprecated":false,"deprecationReason":null},{"name":"CreateCatalog","description":"Grants permission to create Catalog","isDeprecated":false,"deprecationReason":null},{"name":"ReadCatalog","description":"Grants permission to read Catalog","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCatalog","description":"Grants permission to update Catalog","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCatalog","description":"Grants permission to delete Catalog","isDeprecated":false,"deprecationReason":null},{"name":"CreateCustomer","description":"Grants permission to create Customer","isDeprecated":false,"deprecationReason":null},{"name":"ReadCustomer","description":"Grants permission to read Customer","isDeprecated":false,"deprecationReason":null},{"name":"UpdateCustomer","description":"Grants permission to update Customer","isDeprecated":false,"deprecationReason":null},{"name":"DeleteCustomer","description":"Grants permission to delete Customer","isDeprecated":false,"deprecationReason":null},{"name":"CreateAdministrator","description":"Grants permission to create Administrator","isDeprecated":false,"deprecationReason":null},{"name":"ReadAdministrator","description":"Grants permission to read Administrator","isDeprecated":false,"deprecationReason":null},{"name":"UpdateAdministrator","description":"Grants permission to update Administrator","isDeprecated":false,"deprecationReason":null},{"name":"DeleteAdministrator","description":"Grants permission to delete Administrator","isDeprecated":false,"deprecationReason":null},{"name":"CreateOrder","description":"Grants permission to create Order","isDeprecated":false,"deprecationReason":null},{"name":"ReadOrder","description":"Grants permission to read Order","isDeprecated":false,"deprecationReason":null},{"name":"UpdateOrder","description":"Grants permission to update Order","isDeprecated":false,"deprecationReason":null},{"name":"DeleteOrder","description":"Grants permission to delete Order","isDeprecated":false,"deprecationReason":null},{"name":"CreatePromotion","description":"Grants permission to create Promotion","isDeprecated":false,"deprecationReason":null},{"name":"ReadPromotion","description":"Grants permission to read Promotion","isDeprecated":false,"deprecationReason":null},{"name":"UpdatePromotion","description":"Grants permission to update Promotion","isDeprecated":false,"deprecationReason":null},{"name":"DeletePromotion","description":"Grants permission to delete Promotion","isDeprecated":false,"deprecationReason":null},{"name":"CreateSettings","description":"Grants permission to create Settings","isDeprecated":false,"deprecationReason":null},{"name":"ReadSettings","description":"Grants permission to read Settings","isDeprecated":false,"deprecationReason":null},{"name":"UpdateSettings","description":"Grants permission to update Settings","isDeprecated":false,"deprecationReason":null},{"name":"DeleteSettings","description":"Grants permission to delete Settings","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"DeletionResponse","description":null,"fields":[{"name":"result","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"DeletionResult","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"ConfigArgInput","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"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":"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":"INTERFACE","name":"PaginatedList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INTERFACE","name":"Node","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"CustomerGroupList","ofType":null},{"kind":"OBJECT","name":"JobList","ofType":null},{"kind":"OBJECT","name":"PaymentMethodList","ofType":null},{"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":"CountryList","ofType":null},{"kind":"OBJECT","name":"CustomerList","ofType":null},{"kind":"OBJECT","name":"FacetList","ofType":null},{"kind":"OBJECT","name":"HistoryEntryList","ofType":null},{"kind":"OBJECT","name":"OrderList","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":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"Collection","ofType":null},{"kind":"OBJECT","name":"Customer","ofType":null},{"kind":"OBJECT","name":"Facet","ofType":null},{"kind":"OBJECT","name":"Fulfillment","ofType":null},{"kind":"OBJECT","name":"Job","ofType":null},{"kind":"OBJECT","name":"Order","ofType":null},{"kind":"OBJECT","name":"Product","ofType":null},{"kind":"OBJECT","name":"ProductVariant","ofType":null},{"kind":"OBJECT","name":"Address","ofType":null},{"kind":"OBJECT","name":"Administrator","ofType":null},{"kind":"OBJECT","name":"Asset","ofType":null},{"kind":"OBJECT","name":"Channel","ofType":null},{"kind":"OBJECT","name":"Country","ofType":null},{"kind":"OBJECT","name":"CustomerGroup","ofType":null},{"kind":"OBJECT","name":"FacetValue","ofType":null},{"kind":"OBJECT","name":"HistoryEntry","ofType":null},{"kind":"OBJECT","name":"OrderItem","ofType":null},{"kind":"OBJECT","name":"OrderLine","ofType":null},{"kind":"OBJECT","name":"Payment","ofType":null},{"kind":"OBJECT","name":"Refund","ofType":null},{"kind":"OBJECT","name":"PaymentMethod","ofType":null},{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null},{"kind":"OBJECT","name":"ProductOption","ofType":null},{"kind":"OBJECT","name":"Promotion","ofType":null},{"kind":"OBJECT","name":"Role","ofType":null},{"kind":"OBJECT","name":"ShippingMethod","ofType":null},{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null},{"kind":"OBJECT","name":"TaxCategory","ofType":null},{"kind":"OBJECT","name":"TaxRate","ofType":null},{"kind":"OBJECT","name":"User","ofType":null},{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null},{"kind":"OBJECT","name":"Zone","ofType":null}]},{"kind":"ENUM","name":"SortOrder","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"ENUM","name":"ErrorCode","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"UNKNOWN_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MIME_TYPE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"LANGUAGE_NOT_AVAILABLE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CHANNEL_DEFAULT_LANGUAGE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SETTLE_PAYMENT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMPTY_ORDER_LINE_SELECTION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ITEMS_ALREADY_FULFILLED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INSUFFICIENT_STOCK_ON_HAND_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MULTIPLE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCEL_ACTIVE_ORDER_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_ORDER_MISMATCH_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_ORDER_STATE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NOTHING_TO_REFUND_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALREADY_REFUNDED_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"QUANTITY_TOO_GREAT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"REFUND_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PAYMENT_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"FULFILLMENT_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"PRODUCT_OPTION_IN_USE_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"MISSING_CONDITIONS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NATIVE_AUTH_STRATEGY_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INVALID_CREDENTIALS_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ORDER_STATE_TRANSITION_ERROR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"EMAIL_ADDRESS_CONFLICT_ERROR","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"ErrorResult","description":null,"fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"MimeTypeError","ofType":null},{"kind":"OBJECT","name":"LanguageNotAvailableError","ofType":null},{"kind":"OBJECT","name":"ChannelDefaultLanguageError","ofType":null},{"kind":"OBJECT","name":"SettlePaymentError","ofType":null},{"kind":"OBJECT","name":"EmptyOrderLineSelectionError","ofType":null},{"kind":"OBJECT","name":"ItemsAlreadyFulfilledError","ofType":null},{"kind":"OBJECT","name":"InsufficientStockOnHandError","ofType":null},{"kind":"OBJECT","name":"MultipleOrderError","ofType":null},{"kind":"OBJECT","name":"CancelActiveOrderError","ofType":null},{"kind":"OBJECT","name":"PaymentOrderMismatchError","ofType":null},{"kind":"OBJECT","name":"RefundOrderStateError","ofType":null},{"kind":"OBJECT","name":"NothingToRefundError","ofType":null},{"kind":"OBJECT","name":"AlreadyRefundedError","ofType":null},{"kind":"OBJECT","name":"QuantityTooGreatError","ofType":null},{"kind":"OBJECT","name":"RefundStateTransitionError","ofType":null},{"kind":"OBJECT","name":"PaymentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"FulfillmentStateTransitionError","ofType":null},{"kind":"OBJECT","name":"ProductOptionInUseError","ofType":null},{"kind":"OBJECT","name":"MissingConditionsError","ofType":null},{"kind":"OBJECT","name":"NativeAuthStrategyError","ofType":null},{"kind":"OBJECT","name":"InvalidCredentialsError","ofType":null},{"kind":"OBJECT","name":"OrderStateTransitionError","ofType":null},{"kind":"OBJECT","name":"EmailAddressConflictError","ofType":null}]},{"kind":"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},{"name":"in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"regex","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"OBJECT","name":"NativeAuthStrategyError","description":"Retured when attempting an operation that relies on the NativeAuthStrategy, if that strategy is not configured.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"InvalidCredentialsError","description":"Returned if the user authentication credentials are not valid","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderStateTransitionError","description":"Returned if there is an error in transitioning the Order state","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transitionError","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fromState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"toState","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"EmailAddressConflictError","description":"Retured when attemting to create a Customer with an email address already registered to an existing User.","fields":[{"name":"errorCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"ErrorCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"message","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"ErrorResult","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"CurrencyCode","description":"@description\nISO 4217 currency code\n\n@docsCategory common","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"AED","description":"United Arab Emirates dirham","isDeprecated":false,"deprecationReason":null},{"name":"AFN","description":"Afghan afghani","isDeprecated":false,"deprecationReason":null},{"name":"ALL","description":"Albanian lek","isDeprecated":false,"deprecationReason":null},{"name":"AMD","description":"Armenian dram","isDeprecated":false,"deprecationReason":null},{"name":"ANG","description":"Netherlands Antillean guilder","isDeprecated":false,"deprecationReason":null},{"name":"AOA","description":"Angolan kwanza","isDeprecated":false,"deprecationReason":null},{"name":"ARS","description":"Argentine peso","isDeprecated":false,"deprecationReason":null},{"name":"AUD","description":"Australian dollar","isDeprecated":false,"deprecationReason":null},{"name":"AWG","description":"Aruban florin","isDeprecated":false,"deprecationReason":null},{"name":"AZN","description":"Azerbaijani manat","isDeprecated":false,"deprecationReason":null},{"name":"BAM","description":"Bosnia and Herzegovina convertible mark","isDeprecated":false,"deprecationReason":null},{"name":"BBD","description":"Barbados dollar","isDeprecated":false,"deprecationReason":null},{"name":"BDT","description":"Bangladeshi taka","isDeprecated":false,"deprecationReason":null},{"name":"BGN","description":"Bulgarian lev","isDeprecated":false,"deprecationReason":null},{"name":"BHD","description":"Bahraini dinar","isDeprecated":false,"deprecationReason":null},{"name":"BIF","description":"Burundian franc","isDeprecated":false,"deprecationReason":null},{"name":"BMD","description":"Bermudian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BND","description":"Brunei dollar","isDeprecated":false,"deprecationReason":null},{"name":"BOB","description":"Boliviano","isDeprecated":false,"deprecationReason":null},{"name":"BRL","description":"Brazilian real","isDeprecated":false,"deprecationReason":null},{"name":"BSD","description":"Bahamian dollar","isDeprecated":false,"deprecationReason":null},{"name":"BTN","description":"Bhutanese ngultrum","isDeprecated":false,"deprecationReason":null},{"name":"BWP","description":"Botswana pula","isDeprecated":false,"deprecationReason":null},{"name":"BYN","description":"Belarusian ruble","isDeprecated":false,"deprecationReason":null},{"name":"BZD","description":"Belize dollar","isDeprecated":false,"deprecationReason":null},{"name":"CAD","description":"Canadian dollar","isDeprecated":false,"deprecationReason":null},{"name":"CDF","description":"Congolese franc","isDeprecated":false,"deprecationReason":null},{"name":"CHF","description":"Swiss franc","isDeprecated":false,"deprecationReason":null},{"name":"CLP","description":"Chilean peso","isDeprecated":false,"deprecationReason":null},{"name":"CNY","description":"Renminbi (Chinese) yuan","isDeprecated":false,"deprecationReason":null},{"name":"COP","description":"Colombian peso","isDeprecated":false,"deprecationReason":null},{"name":"CRC","description":"Costa Rican colon","isDeprecated":false,"deprecationReason":null},{"name":"CUC","description":"Cuban convertible peso","isDeprecated":false,"deprecationReason":null},{"name":"CUP","description":"Cuban peso","isDeprecated":false,"deprecationReason":null},{"name":"CVE","description":"Cape Verde escudo","isDeprecated":false,"deprecationReason":null},{"name":"CZK","description":"Czech koruna","isDeprecated":false,"deprecationReason":null},{"name":"DJF","description":"Djiboutian franc","isDeprecated":false,"deprecationReason":null},{"name":"DKK","description":"Danish krone","isDeprecated":false,"deprecationReason":null},{"name":"DOP","description":"Dominican peso","isDeprecated":false,"deprecationReason":null},{"name":"DZD","description":"Algerian dinar","isDeprecated":false,"deprecationReason":null},{"name":"EGP","description":"Egyptian pound","isDeprecated":false,"deprecationReason":null},{"name":"ERN","description":"Eritrean nakfa","isDeprecated":false,"deprecationReason":null},{"name":"ETB","description":"Ethiopian birr","isDeprecated":false,"deprecationReason":null},{"name":"EUR","description":"Euro","isDeprecated":false,"deprecationReason":null},{"name":"FJD","description":"Fiji dollar","isDeprecated":false,"deprecationReason":null},{"name":"FKP","description":"Falkland Islands pound","isDeprecated":false,"deprecationReason":null},{"name":"GBP","description":"Pound sterling","isDeprecated":false,"deprecationReason":null},{"name":"GEL","description":"Georgian lari","isDeprecated":false,"deprecationReason":null},{"name":"GHS","description":"Ghanaian cedi","isDeprecated":false,"deprecationReason":null},{"name":"GIP","description":"Gibraltar pound","isDeprecated":false,"deprecationReason":null},{"name":"GMD","description":"Gambian dalasi","isDeprecated":false,"deprecationReason":null},{"name":"GNF","description":"Guinean franc","isDeprecated":false,"deprecationReason":null},{"name":"GTQ","description":"Guatemalan quetzal","isDeprecated":false,"deprecationReason":null},{"name":"GYD","description":"Guyanese dollar","isDeprecated":false,"deprecationReason":null},{"name":"HKD","description":"Hong Kong dollar","isDeprecated":false,"deprecationReason":null},{"name":"HNL","description":"Honduran lempira","isDeprecated":false,"deprecationReason":null},{"name":"HRK","description":"Croatian kuna","isDeprecated":false,"deprecationReason":null},{"name":"HTG","description":"Haitian gourde","isDeprecated":false,"deprecationReason":null},{"name":"HUF","description":"Hungarian forint","isDeprecated":false,"deprecationReason":null},{"name":"IDR","description":"Indonesian rupiah","isDeprecated":false,"deprecationReason":null},{"name":"ILS","description":"Israeli new shekel","isDeprecated":false,"deprecationReason":null},{"name":"INR","description":"Indian rupee","isDeprecated":false,"deprecationReason":null},{"name":"IQD","description":"Iraqi dinar","isDeprecated":false,"deprecationReason":null},{"name":"IRR","description":"Iranian rial","isDeprecated":false,"deprecationReason":null},{"name":"ISK","description":"Icelandic króna","isDeprecated":false,"deprecationReason":null},{"name":"JMD","description":"Jamaican dollar","isDeprecated":false,"deprecationReason":null},{"name":"JOD","description":"Jordanian dinar","isDeprecated":false,"deprecationReason":null},{"name":"JPY","description":"Japanese yen","isDeprecated":false,"deprecationReason":null},{"name":"KES","description":"Kenyan shilling","isDeprecated":false,"deprecationReason":null},{"name":"KGS","description":"Kyrgyzstani som","isDeprecated":false,"deprecationReason":null},{"name":"KHR","description":"Cambodian riel","isDeprecated":false,"deprecationReason":null},{"name":"KMF","description":"Comoro franc","isDeprecated":false,"deprecationReason":null},{"name":"KPW","description":"North Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KRW","description":"South Korean won","isDeprecated":false,"deprecationReason":null},{"name":"KWD","description":"Kuwaiti dinar","isDeprecated":false,"deprecationReason":null},{"name":"KYD","description":"Cayman Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"KZT","description":"Kazakhstani tenge","isDeprecated":false,"deprecationReason":null},{"name":"LAK","description":"Lao kip","isDeprecated":false,"deprecationReason":null},{"name":"LBP","description":"Lebanese pound","isDeprecated":false,"deprecationReason":null},{"name":"LKR","description":"Sri Lankan rupee","isDeprecated":false,"deprecationReason":null},{"name":"LRD","description":"Liberian dollar","isDeprecated":false,"deprecationReason":null},{"name":"LSL","description":"Lesotho loti","isDeprecated":false,"deprecationReason":null},{"name":"LYD","description":"Libyan dinar","isDeprecated":false,"deprecationReason":null},{"name":"MAD","description":"Moroccan dirham","isDeprecated":false,"deprecationReason":null},{"name":"MDL","description":"Moldovan leu","isDeprecated":false,"deprecationReason":null},{"name":"MGA","description":"Malagasy ariary","isDeprecated":false,"deprecationReason":null},{"name":"MKD","description":"Macedonian denar","isDeprecated":false,"deprecationReason":null},{"name":"MMK","description":"Myanmar kyat","isDeprecated":false,"deprecationReason":null},{"name":"MNT","description":"Mongolian tögrög","isDeprecated":false,"deprecationReason":null},{"name":"MOP","description":"Macanese pataca","isDeprecated":false,"deprecationReason":null},{"name":"MRU","description":"Mauritanian ouguiya","isDeprecated":false,"deprecationReason":null},{"name":"MUR","description":"Mauritian rupee","isDeprecated":false,"deprecationReason":null},{"name":"MVR","description":"Maldivian rufiyaa","isDeprecated":false,"deprecationReason":null},{"name":"MWK","description":"Malawian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"MXN","description":"Mexican peso","isDeprecated":false,"deprecationReason":null},{"name":"MYR","description":"Malaysian ringgit","isDeprecated":false,"deprecationReason":null},{"name":"MZN","description":"Mozambican metical","isDeprecated":false,"deprecationReason":null},{"name":"NAD","description":"Namibian dollar","isDeprecated":false,"deprecationReason":null},{"name":"NGN","description":"Nigerian naira","isDeprecated":false,"deprecationReason":null},{"name":"NIO","description":"Nicaraguan córdoba","isDeprecated":false,"deprecationReason":null},{"name":"NOK","description":"Norwegian krone","isDeprecated":false,"deprecationReason":null},{"name":"NPR","description":"Nepalese rupee","isDeprecated":false,"deprecationReason":null},{"name":"NZD","description":"New Zealand dollar","isDeprecated":false,"deprecationReason":null},{"name":"OMR","description":"Omani rial","isDeprecated":false,"deprecationReason":null},{"name":"PAB","description":"Panamanian balboa","isDeprecated":false,"deprecationReason":null},{"name":"PEN","description":"Peruvian sol","isDeprecated":false,"deprecationReason":null},{"name":"PGK","description":"Papua New Guinean kina","isDeprecated":false,"deprecationReason":null},{"name":"PHP","description":"Philippine peso","isDeprecated":false,"deprecationReason":null},{"name":"PKR","description":"Pakistani rupee","isDeprecated":false,"deprecationReason":null},{"name":"PLN","description":"Polish złoty","isDeprecated":false,"deprecationReason":null},{"name":"PYG","description":"Paraguayan guaraní","isDeprecated":false,"deprecationReason":null},{"name":"QAR","description":"Qatari riyal","isDeprecated":false,"deprecationReason":null},{"name":"RON","description":"Romanian leu","isDeprecated":false,"deprecationReason":null},{"name":"RSD","description":"Serbian dinar","isDeprecated":false,"deprecationReason":null},{"name":"RUB","description":"Russian ruble","isDeprecated":false,"deprecationReason":null},{"name":"RWF","description":"Rwandan franc","isDeprecated":false,"deprecationReason":null},{"name":"SAR","description":"Saudi riyal","isDeprecated":false,"deprecationReason":null},{"name":"SBD","description":"Solomon Islands dollar","isDeprecated":false,"deprecationReason":null},{"name":"SCR","description":"Seychelles rupee","isDeprecated":false,"deprecationReason":null},{"name":"SDG","description":"Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"SEK","description":"Swedish krona/kronor","isDeprecated":false,"deprecationReason":null},{"name":"SGD","description":"Singapore dollar","isDeprecated":false,"deprecationReason":null},{"name":"SHP","description":"Saint Helena pound","isDeprecated":false,"deprecationReason":null},{"name":"SLL","description":"Sierra Leonean leone","isDeprecated":false,"deprecationReason":null},{"name":"SOS","description":"Somali shilling","isDeprecated":false,"deprecationReason":null},{"name":"SRD","description":"Surinamese dollar","isDeprecated":false,"deprecationReason":null},{"name":"SSP","description":"South Sudanese pound","isDeprecated":false,"deprecationReason":null},{"name":"STN","description":"São Tomé and Príncipe dobra","isDeprecated":false,"deprecationReason":null},{"name":"SVC","description":"Salvadoran colón","isDeprecated":false,"deprecationReason":null},{"name":"SYP","description":"Syrian pound","isDeprecated":false,"deprecationReason":null},{"name":"SZL","description":"Swazi lilangeni","isDeprecated":false,"deprecationReason":null},{"name":"THB","description":"Thai baht","isDeprecated":false,"deprecationReason":null},{"name":"TJS","description":"Tajikistani somoni","isDeprecated":false,"deprecationReason":null},{"name":"TMT","description":"Turkmenistan manat","isDeprecated":false,"deprecationReason":null},{"name":"TND","description":"Tunisian dinar","isDeprecated":false,"deprecationReason":null},{"name":"TOP","description":"Tongan paʻanga","isDeprecated":false,"deprecationReason":null},{"name":"TRY","description":"Turkish lira","isDeprecated":false,"deprecationReason":null},{"name":"TTD","description":"Trinidad and Tobago dollar","isDeprecated":false,"deprecationReason":null},{"name":"TWD","description":"New Taiwan dollar","isDeprecated":false,"deprecationReason":null},{"name":"TZS","description":"Tanzanian shilling","isDeprecated":false,"deprecationReason":null},{"name":"UAH","description":"Ukrainian hryvnia","isDeprecated":false,"deprecationReason":null},{"name":"UGX","description":"Ugandan shilling","isDeprecated":false,"deprecationReason":null},{"name":"USD","description":"United States dollar","isDeprecated":false,"deprecationReason":null},{"name":"UYU","description":"Uruguayan peso","isDeprecated":false,"deprecationReason":null},{"name":"UZS","description":"Uzbekistan som","isDeprecated":false,"deprecationReason":null},{"name":"VES","description":"Venezuelan bolívar soberano","isDeprecated":false,"deprecationReason":null},{"name":"VND","description":"Vietnamese đồng","isDeprecated":false,"deprecationReason":null},{"name":"VUV","description":"Vanuatu vatu","isDeprecated":false,"deprecationReason":null},{"name":"WST","description":"Samoan tala","isDeprecated":false,"deprecationReason":null},{"name":"XAF","description":"CFA franc BEAC","isDeprecated":false,"deprecationReason":null},{"name":"XCD","description":"East Caribbean dollar","isDeprecated":false,"deprecationReason":null},{"name":"XOF","description":"CFA franc BCEAO","isDeprecated":false,"deprecationReason":null},{"name":"XPF","description":"CFP franc (franc Pacifique)","isDeprecated":false,"deprecationReason":null},{"name":"YER","description":"Yemeni rial","isDeprecated":false,"deprecationReason":null},{"name":"ZAR","description":"South African rand","isDeprecated":false,"deprecationReason":null},{"name":"ZMW","description":"Zambian kwacha","isDeprecated":false,"deprecationReason":null},{"name":"ZWL","description":"Zimbabwean dollar","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"CustomField","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"list","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"label","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"LocalizedString","ofType":null}}},"isDeprecated":false,"deprecationReason":null},{"name":"readonly","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"internal","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null}]},{"kind":"OBJECT","name":"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":"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":"LocalizedString","description":null,"fields":[{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"CustomFieldConfig","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"LocaleStringCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"IntCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"FloatCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"BooleanCustomFieldConfig","ofType":null},{"kind":"OBJECT","name":"DateTimeCustomFieldConfig","ofType":null}]},{"kind":"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":"Address","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultBillingAddress","description":null,"args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"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":"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":"OBJECT","name":"Coordinate","description":null,"fields":[{"name":"x","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"y","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AssetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Asset","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"AssetType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"IMAGE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"VIDEO","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"BINARY","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUser","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"CurrentUserChannel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CurrentUserChannel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Channel","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"token","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"defaultTaxZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultShippingZone","description":null,"args":[],"type":{"kind":"OBJECT","name":"Zone","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"defaultLanguageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"CollectionBreadcrumb","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"CollectionList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Collection","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"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":"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":"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":"OBJECT","name":"CountryList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"OBJECT","name":"CustomerList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Customer","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValue","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facet","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetValueTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"FacetList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Facet","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"GlobalSettings","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"availableLanguages","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"trackInventory","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"outOfStockThreshold","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"serverConfig","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ServerConfig","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderProcessState","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"to","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PermissionDefinition","description":null,"fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"assignable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ServerConfig","description":null,"fields":[{"name":"orderProcess","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderProcessState","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"permittedAssetTypes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"PermissionDefinition","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"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":"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":"OrderTaxSummary","description":"A summary of the taxes being applied to this order, grouped\nby taxRate.","fields":[{"name":"taxRate","description":"The taxRate as a percentage","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxBase","description":"The total net price or OrderItems to which this taxRate applies","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"taxTotal","description":"The total tax being applied to the Order at this taxRate","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderAddress","description":null,"fields":[{"name":"fullName","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"company","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine1","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"streetLine2","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"city","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"province","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"postalCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"country","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"countryCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"phoneNumber","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"OrderList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"metadata","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","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":"The price of a single unit, excluding tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"unitPriceWithTax","description":"The price of a single unit, including tax","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":true,"deprecationReason":"`unitPrice` is now always without tax"},{"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":"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":true,"deprecationReason":"Use `linePriceWithTax` instead"},{"name":"taxRate","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePrice","description":"The total price of the line excluding tax","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"lineTax","description":"The total tax on this line","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"linePriceWithTax","description":"The total price of the line including tax","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":"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":"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":"ProductOptionGroup","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"options","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOption","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroupTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionGroupTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOption","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"groupId","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"group","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionGroup","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductOptionTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductOptionTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchReindexResponse","description":null,"fields":[{"name":"success","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"SearchResponse","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"SearchResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"facetValues","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"FacetValueResult","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"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":"SearchResultAsset","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"preview","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"focalPoint","description":null,"args":[],"type":{"kind":"OBJECT","name":"Coordinate","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"UNION","name":"SearchResultPrice","description":"The price of a search result product, either as a range or as a single price","fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"PriceRange","ofType":null},{"kind":"OBJECT","name":"SinglePrice","ofType":null}]},{"kind":"OBJECT","name":"SinglePrice","description":"The price value where the result has a single price","fields":[{"name":"value","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"PriceRange","description":"The price range where the result has more than one price","fields":[{"name":"min","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"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":"ProductTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"slug","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Product","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ProductVariantTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Promotion","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"startsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"endsAt","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"couponCode","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"perCustomerUsageLimit","description":null,"args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"Role","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"code","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"permissions","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"Permission","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"channels","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Channel","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"RoleList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"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":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"checker","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"calculator","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ConfigurableOperation","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"translations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethodTranslation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodTranslation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"languageCode","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"LanguageCode","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"ShippingMethodList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ShippingMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"StockMovementType","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ADJUSTMENT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"ALLOCATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RELEASE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SALE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"CANCELLATION","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"RETURN","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INTERFACE","name":"StockMovement","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null}]},{"kind":"OBJECT","name":"StockAdjustment","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Allocation","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"orderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"OrderLine","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null},{"kind":"INTERFACE","name":"StockMovement","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Sale","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"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":"Release","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"productVariant","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"ProductVariant","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"StockMovementType","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"quantity","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"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":"UNION","name":"StockMovementItem","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":[{"kind":"OBJECT","name":"StockAdjustment","ofType":null},{"kind":"OBJECT","name":"Allocation","ofType":null},{"kind":"OBJECT","name":"Sale","ofType":null},{"kind":"OBJECT","name":"Cancellation","ofType":null},{"kind":"OBJECT","name":"Return","ofType":null},{"kind":"OBJECT","name":"Release","ofType":null}]},{"kind":"OBJECT","name":"StockMovementList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"StockMovementItem","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"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":"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":"TaxRateList","description":null,"fields":[{"name":"items","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"TaxRate","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"totalItems","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"PaginatedList","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"User","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identifier","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"verified","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"roles","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Role","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"lastLogin","description":null,"args":[],"type":{"kind":"SCALAR","name":"DateTime","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"authenticationMethods","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"AuthenticationMethod","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"customFields","description":null,"args":[],"type":{"kind":"SCALAR","name":"JSON","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"AuthenticationMethod","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"strategy","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"Zone","description":null,"fields":[{"name":"id","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"ID","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"createdAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"updatedAt","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"DateTime","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"members","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[{"kind":"INTERFACE","name":"Node","ofType":null}],"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"orderPlacedAt","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":"totalQuantity","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","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":"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":"orderPlacedAt","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":"totalQuantity","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"name","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":"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":"name","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":"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":"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":"ProductVariantFilterParameter","description":null,"fields":null,"inputFields":[{"name":"enabled","description":null,"type":{"kind":"INPUT_OBJECT","name":"BooleanOperators","ofType":null},"defaultValue":null},{"name":"trackInventory","description":null,"type":{"kind":"INPUT_OBJECT","name":"StringOperators","ofType":null},"defaultValue":null},{"name":"stockOnHand","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"stockAllocated","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"outOfStockThreshold","description":null,"type":{"kind":"INPUT_OBJECT","name":"NumberOperators","ofType":null},"defaultValue":null},{"name":"useGlobalOutOfStockThreshold","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":"INPUT_OBJECT","name":"ProductVariantSortParameter","description":null,"fields":null,"inputFields":[{"name":"stockOnHand","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"stockAllocated","description":null,"type":{"kind":"ENUM","name":"SortOrder","ofType":null},"defaultValue":null},{"name":"outOfStockThreshold","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":"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":"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":"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":"Fulfillment","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"GlobalSettings","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"Order","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"OrderLine","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"UNION","name":"CustomFieldConfig","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"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":"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":"OBJECT","name":"__Schema","description":"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.","fields":[{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":"A list of all types supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":"The type that query operations will be rooted at.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Type","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":"If this server supports mutation, the type that mutation operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":"If this server support subscription, the type that subscription operations will be rooted at.","args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":"A list of all directives supported by this server.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__Directive","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.","fields":[{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"specifiedByUrl","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"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`, `interfaces`, and `possibleTypes` are valid fields.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Indicates this type is a union. `possibleTypes` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Indicates this type is an enum. `enumValues` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Indicates this type is an input object. `inputFields` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":"Indicates this type is a list. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":"Indicates this type is a non-null. `ofType` is a valid field.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.","fields":[{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"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":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__DirectiveLocation","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"args","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"__InputValue","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__DirectiveLocation","description":"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"QUERY","description":"Location adjacent to a query operation.","isDeprecated":false,"deprecationReason":null},{"name":"MUTATION","description":"Location adjacent to a mutation operation.","isDeprecated":false,"deprecationReason":null},{"name":"SUBSCRIPTION","description":"Location adjacent to a subscription operation.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD","description":"Location adjacent to a field.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_DEFINITION","description":"Location adjacent to a fragment definition.","isDeprecated":false,"deprecationReason":null},{"name":"FRAGMENT_SPREAD","description":"Location adjacent to a fragment spread.","isDeprecated":false,"deprecationReason":null},{"name":"INLINE_FRAGMENT","description":"Location adjacent to an inline fragment.","isDeprecated":false,"deprecationReason":null},{"name":"VARIABLE_DEFINITION","description":"Location adjacent to a variable definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCHEMA","description":"Location adjacent to a schema definition.","isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":"Location adjacent to a scalar definition.","isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":"Location adjacent to an object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"FIELD_DEFINITION","description":"Location adjacent to a field definition.","isDeprecated":false,"deprecationReason":null},{"name":"ARGUMENT_DEFINITION","description":"Location adjacent to an argument definition.","isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":"Location adjacent to an interface definition.","isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":"Location adjacent to a union definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM","description":"Location adjacent to an enum definition.","isDeprecated":false,"deprecationReason":null},{"name":"ENUM_VALUE","description":"Location adjacent to an enum value definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":"Location adjacent to an input object type definition.","isDeprecated":false,"deprecationReason":null},{"name":"INPUT_FIELD_DEFINITION","description":"Location adjacent to an input object field definition.","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null}],"directives":[{"name":"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\""}]},{"name":"specifiedBy","description":"Exposes a URL that specifies the behaviour of this scalar.","locations":["SCALAR"],"args":[{"name":"url","description":"The URL that specifies the behaviour of this scalar.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}]}]}}} From 36b6dabb20be7fcc800e7b4977a679f4cb54172c Mon Sep 17 00:00:00 2001 From: hendrikdepauw Date: Mon, 23 Nov 2020 16:52:20 +0100 Subject: [PATCH 3/5] fix(core): Fix failing e2e tests --- packages/core/e2e/product-channel.e2e-spec.ts | 175 ++++++++---------- 1 file changed, 77 insertions(+), 98 deletions(-) diff --git a/packages/core/e2e/product-channel.e2e-spec.ts b/packages/core/e2e/product-channel.e2e-spec.ts index 2b7bdb4cb1..6315c13e7d 100644 --- a/packages/core/e2e/product-channel.e2e-spec.ts +++ b/packages/core/e2e/product-channel.e2e-spec.ts @@ -1,12 +1,5 @@ /* tslint:disable:no-non-null-assertion */ -import { DEFAULT_CHANNEL_CODE } from '@vendure/common/lib/shared-constants'; -import { - createErrorResultGuard, - createTestEnvironment, - E2E_DEFAULT_CHANNEL_TOKEN, - ErrorResultGuard, -} from '@vendure/testing'; -import gql from 'graphql-tag'; +import { createTestEnvironment, E2E_DEFAULT_CHANNEL_TOKEN } from '@vendure/testing'; import path from 'path'; import { initialData } from '../../../e2e-common/e2e-initial-data'; @@ -15,24 +8,15 @@ import { testConfig, TEST_SETUP_TIMEOUT_MS } from '../../../e2e-common/test-conf import { AssignProductsToChannel, AssignProductVariantsToChannel, - ChannelFragment, CreateAdministrator, CreateChannel, CreateRole, CurrencyCode, - DeleteChannel, - DeletionResult, - ErrorCode, - GetChannels, - GetCustomerList, GetProductWithVariants, LanguageCode, - Me, Permission, RemoveProductsFromChannel, RemoveProductVariantsFromChannel, - UpdateChannel, - UpdateGlobalLanguages, } from './graphql/generated-e2e-admin-types'; import { ASSIGN_PRODUCTVARIANT_TO_CHANNEL, @@ -40,12 +24,9 @@ import { CREATE_ADMINISTRATOR, CREATE_CHANNEL, CREATE_ROLE, - GET_CUSTOMER_LIST, GET_PRODUCT_WITH_VARIANTS, - ME, REMOVE_PRODUCTVARIANT_FROM_CHANNEL, REMOVE_PRODUCT_FROM_CHANNEL, - UPDATE_CHANNEL, } from './graphql/shared-definitions'; import { assertThrowsWithMessage } from './utils/assert-throws-with-message'; @@ -217,21 +198,21 @@ describe('ChannelAware Products and ProductVariants', () => { }, 'Products cannot be removed from the default Channel'), ); - // it('removes Product from Channel', async () => { - // await adminClient.asSuperAdmin(); - // await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); - // const { removeProductsFromChannel } = await adminClient.query< - // RemoveProductsFromChannel.Mutation, - // RemoveProductsFromChannel.Variables - // >(REMOVE_PRODUCT_FROM_CHANNEL, { - // input: { - // productIds: [product1.id], - // channelId: 'T_2', - // }, - // }); - - // expect(removeProductsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); - // }); + it('removes Product from Channel', async () => { + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + const { removeProductsFromChannel } = await adminClient.query< + RemoveProductsFromChannel.Mutation, + RemoveProductsFromChannel.Variables + >(REMOVE_PRODUCT_FROM_CHANNEL, { + input: { + productIds: [product1.id], + channelId: 'T_2', + }, + }); + + expect(removeProductsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); + }); }); describe('assigning ProductVariant to Channels', () => { @@ -290,13 +271,11 @@ describe('ChannelAware Products and ProductVariants', () => { id: product1.id, }); expect(product!.channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); - expect(product!.variants.map(v => v.price)).toEqual( - product1.variants.map(v => v.price * PRICE_FACTOR), - ); + expect(product!.variants.map(v => v.price)).toEqual([product1.variants[0].price * PRICE_FACTOR]); // Third Channel is configured to include taxes in price, so they should be the same. - expect(product!.variants.map(v => v.priceWithTax)).toEqual( - product1.variants.map(v => v.price * PRICE_FACTOR), - ); + expect(product!.variants.map(v => v.priceWithTax)).toEqual([ + product1.variants[0].price * PRICE_FACTOR, + ]); }); it('does not assign ProductVariant to same channel twice', async () => { @@ -329,62 +308,62 @@ describe('ChannelAware Products and ProductVariants', () => { }, 'Products cannot be removed from the default Channel'), ); - // it('removes ProductVariant but not Product from Channel', async () => { - // await adminClient.asSuperAdmin(); - // await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); - // const { assignProductVariantsToChannel } = await adminClient.query< - // AssignProductVariantsToChannel.Mutation, - // AssignProductVariantsToChannel.Variables - // >(ASSIGN_PRODUCTVARIANT_TO_CHANNEL, { - // input: { - // channelId: 'T_3', - // productVariantIds: [product1.variants[1].id], - // }, - // }); - // expect(assignProductVariantsToChannel[0].channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); - - // const { removeProductVariantsFromChannel } = await adminClient.query< - // RemoveProductVariantsFromChannel.Mutation, - // RemoveProductVariantsFromChannel.Variables - // >(REMOVE_PRODUCTVARIANT_FROM_CHANNEL, { - // input: { - // productVariantIds: [product1.variants[1].id], - // channelId: 'T_3', - // }, - // }); - // expect(removeProductVariantsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); - - // const { product } = await adminClient.query< - // GetProductWithVariants.Query, - // GetProductWithVariants.Variables - // >(GET_PRODUCT_WITH_VARIANTS, { - // id: product1.id, - // }); - // expect(product!.channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); - // }); - - // it('removes ProductVariant and Product from Channel', async () => { - // await adminClient.asSuperAdmin(); - // await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); - // const { removeProductVariantsFromChannel } = await adminClient.query< - // RemoveProductVariantsFromChannel.Mutation, - // RemoveProductVariantsFromChannel.Variables - // >(REMOVE_PRODUCTVARIANT_FROM_CHANNEL, { - // input: { - // productVariantIds: [product1.variants[0].id], - // channelId: 'T_3', - // }, - // }); - - // expect(removeProductVariantsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); - - // const { product } = await adminClient.query< - // GetProductWithVariants.Query, - // GetProductWithVariants.Variables - // >(GET_PRODUCT_WITH_VARIANTS, { - // id: product1.id, - // }); - // expect(product!.channels.map(c => c.id).sort()).toEqual(['T_1']); - // }); + it('removes ProductVariant but not Product from Channel', async () => { + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + const { assignProductVariantsToChannel } = await adminClient.query< + AssignProductVariantsToChannel.Mutation, + AssignProductVariantsToChannel.Variables + >(ASSIGN_PRODUCTVARIANT_TO_CHANNEL, { + input: { + channelId: 'T_3', + productVariantIds: [product1.variants[1].id], + }, + }); + expect(assignProductVariantsToChannel[0].channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); + + const { removeProductVariantsFromChannel } = await adminClient.query< + RemoveProductVariantsFromChannel.Mutation, + RemoveProductVariantsFromChannel.Variables + >(REMOVE_PRODUCTVARIANT_FROM_CHANNEL, { + input: { + productVariantIds: [product1.variants[1].id], + channelId: 'T_3', + }, + }); + expect(removeProductVariantsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); + + const { product } = await adminClient.query< + GetProductWithVariants.Query, + GetProductWithVariants.Variables + >(GET_PRODUCT_WITH_VARIANTS, { + id: product1.id, + }); + expect(product!.channels.map(c => c.id).sort()).toEqual(['T_1', 'T_3']); + }); + + it('removes ProductVariant and Product from Channel', async () => { + await adminClient.asSuperAdmin(); + await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + const { removeProductVariantsFromChannel } = await adminClient.query< + RemoveProductVariantsFromChannel.Mutation, + RemoveProductVariantsFromChannel.Variables + >(REMOVE_PRODUCTVARIANT_FROM_CHANNEL, { + input: { + productVariantIds: [product1.variants[0].id], + channelId: 'T_3', + }, + }); + + expect(removeProductVariantsFromChannel[0].channels.map(c => c.id)).toEqual(['T_1']); + + const { product } = await adminClient.query< + GetProductWithVariants.Query, + GetProductWithVariants.Variables + >(GET_PRODUCT_WITH_VARIANTS, { + id: product1.id, + }); + expect(product!.channels.map(c => c.id).sort()).toEqual(['T_1']); + }); }); }); From 0065ad3ffd86c581d6441c13fae5b56781c4c322 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Mon, 23 Nov 2020 20:33:21 +0100 Subject: [PATCH 4/5] refactor(core): Get DefaultSearchPlugin working with variant channels --- .../e2e/default-search-plugin.e2e-spec.ts | 56 ++++++++++++++++++- .../default-search-plugin.ts | 16 ++++++ .../indexer/indexer.controller.ts | 24 ++++++++ .../indexer/search-index.service.ts | 34 +++++++++-- .../src/plugin/default-search-plugin/types.ts | 18 +++++- .../src/service/services/product.service.ts | 9 +++ 6 files changed, 151 insertions(+), 6 deletions(-) diff --git a/packages/core/e2e/default-search-plugin.e2e-spec.ts b/packages/core/e2e/default-search-plugin.e2e-spec.ts index a93198da22..5a20cd4871 100644 --- a/packages/core/e2e/default-search-plugin.e2e-spec.ts +++ b/packages/core/e2e/default-search-plugin.e2e-spec.ts @@ -15,6 +15,7 @@ import { testConfig, TEST_SETUP_TIMEOUT_MS } from '../../../e2e-common/test-conf import { AssignProductsToChannel, + AssignProductVariantsToChannel, ChannelFragment, CreateChannel, CreateCollection, @@ -26,6 +27,7 @@ import { LanguageCode, Reindex, RemoveProductsFromChannel, + RemoveProductVariantsFromChannel, SearchFacetValues, SearchGetAssets, SearchGetPrices, @@ -40,6 +42,7 @@ import { } from './graphql/generated-e2e-admin-types'; import { LogicalOperator, SearchProductsShop } from './graphql/generated-e2e-shop-types'; import { + ASSIGN_PRODUCTVARIANT_TO_CHANNEL, ASSIGN_PRODUCT_TO_CHANNEL, CREATE_CHANNEL, CREATE_COLLECTION, @@ -47,6 +50,7 @@ import { DELETE_ASSET, DELETE_PRODUCT, DELETE_PRODUCT_VARIANT, + REMOVE_PRODUCTVARIANT_FROM_CHANNEL, REMOVE_PRODUCT_FROM_CHANNEL, UPDATE_ASSET, UPDATE_COLLECTION, @@ -886,7 +890,7 @@ describe('Default search plugin', () => { defaultShippingZoneId: 'T_1', }, }); - secondChannel = createChannel; + secondChannel = createChannel as ChannelFragment; }); it('adding product to channel', async () => { @@ -921,6 +925,56 @@ describe('Default search plugin', () => { const { search } = await doAdminSearchQuery({ groupByProduct: true }); expect(search.items.map(i => i.productId)).toEqual(['T_1']); }, 10000); + + it('adding product variant to channel', async () => { + adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + await adminClient.query< + AssignProductVariantsToChannel.Mutation, + AssignProductVariantsToChannel.Variables + >(ASSIGN_PRODUCTVARIANT_TO_CHANNEL, { + input: { channelId: secondChannel.id, productVariantIds: ['T_10', 'T_15'] }, + }); + await awaitRunningJobs(adminClient); + + adminClient.setChannelToken(SECOND_CHANNEL_TOKEN); + + const { search: searchGrouped } = await doAdminSearchQuery({ groupByProduct: true }); + expect(searchGrouped.items.map(i => i.productId)).toEqual(['T_1', 'T_3', 'T_4']); + + const { search: searchUngrouped } = await doAdminSearchQuery({ groupByProduct: false }); + expect(searchUngrouped.items.map(i => i.productVariantId)).toEqual([ + 'T_1', + 'T_2', + 'T_3', + 'T_4', + 'T_10', + 'T_15', + ]); + }, 10000); + + it('removing product variant to channel', async () => { + adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + await adminClient.query< + RemoveProductVariantsFromChannel.Mutation, + RemoveProductVariantsFromChannel.Variables + >(REMOVE_PRODUCTVARIANT_FROM_CHANNEL, { + input: { channelId: secondChannel.id, productVariantIds: ['T_1', 'T_15'] }, + }); + await awaitRunningJobs(adminClient); + + adminClient.setChannelToken(SECOND_CHANNEL_TOKEN); + + const { search: searchGrouped } = await doAdminSearchQuery({ groupByProduct: true }); + expect(searchGrouped.items.map(i => i.productId)).toEqual(['T_1', 'T_3']); + + const { search: searchUngrouped } = await doAdminSearchQuery({ groupByProduct: false }); + expect(searchUngrouped.items.map(i => i.productVariantId)).toEqual([ + 'T_2', + 'T_3', + 'T_4', + 'T_10', + ]); + }, 10000); }); describe('multiple language handling', () => { diff --git a/packages/core/src/plugin/default-search-plugin/default-search-plugin.ts b/packages/core/src/plugin/default-search-plugin/default-search-plugin.ts index bddb3af913..10e58a7eaf 100644 --- a/packages/core/src/plugin/default-search-plugin/default-search-plugin.ts +++ b/packages/core/src/plugin/default-search-plugin/default-search-plugin.ts @@ -8,6 +8,7 @@ import { AssetEvent } from '../../event-bus/events/asset-event'; import { CollectionModificationEvent } from '../../event-bus/events/collection-modification-event'; import { ProductChannelEvent } from '../../event-bus/events/product-channel-event'; import { ProductEvent } from '../../event-bus/events/product-event'; +import { ProductVariantChannelEvent } from '../../event-bus/events/product-variant-channel-event'; import { ProductVariantEvent } from '../../event-bus/events/product-variant-event'; import { TaxRateModificationEvent } from '../../event-bus/events/tax-rate-modification-event'; import { PluginCommonModule } from '../plugin-common.module'; @@ -106,6 +107,21 @@ export class DefaultSearchPlugin implements OnVendureBootstrap { ); } }); + this.eventBus.ofType(ProductVariantChannelEvent).subscribe(event => { + if (event.type === 'assigned') { + return this.searchIndexService.assignVariantToChannel( + event.ctx, + event.productVariant.id, + event.channelId, + ); + } else { + return this.searchIndexService.removeVariantFromChannel( + event.ctx, + event.productVariant.id, + event.channelId, + ); + } + }); const collectionModification$ = this.eventBus.ofType(CollectionModificationEvent); const closingNotifier$ = collectionModification$.pipe(debounceTime(50)); diff --git a/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts b/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts index e14602780f..d4b265f609 100644 --- a/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts +++ b/packages/core/src/plugin/default-search-plugin/indexer/indexer.controller.ts @@ -21,11 +21,13 @@ import { asyncObservable } from '../../../worker/async-observable'; import { SearchIndexItem } from '../search-index-item.entity'; import { AssignProductToChannelMessage, + AssignVariantToChannelMessage, DeleteAssetMessage, DeleteProductMessage, DeleteVariantMessage, ReindexMessage, RemoveProductFromChannelMessage, + RemoveVariantFromChannelMessage, UpdateAssetMessage, UpdateProductMessage, UpdateVariantMessage, @@ -44,6 +46,7 @@ export const variantRelations = [ 'facetValues.facet', 'collections', 'taxCategory', + 'channels', ]; export const workerLoggerCtx = 'DefaultSearchPlugin Worker'; @@ -198,6 +201,27 @@ export class IndexerController { }); } + @MessagePattern(AssignVariantToChannelMessage.pattern) + assignVariantToChannel( + data: AssignVariantToChannelMessage['data'], + ): Observable { + const ctx = RequestContext.deserialize(data.ctx); + return asyncObservable(async () => { + return this.updateVariantsInChannel(ctx, [data.productVariantId], data.channelId); + }); + } + + @MessagePattern(RemoveVariantFromChannelMessage.pattern) + removeVariantFromChannel( + data: RemoveVariantFromChannelMessage['data'], + ): Observable { + const ctx = RequestContext.deserialize(data.ctx); + return asyncObservable(async () => { + await this.removeSearchIndexItems(ctx.languageCode, data.channelId, [data.productVariantId]); + return true; + }); + } + @MessagePattern(UpdateAssetMessage.pattern) updateAsset(data: UpdateAssetMessage['data']): Observable { return asyncObservable(async () => { diff --git a/packages/core/src/plugin/default-search-plugin/indexer/search-index.service.ts b/packages/core/src/plugin/default-search-plugin/indexer/search-index.service.ts index 59e713573a..f0870c57b7 100644 --- a/packages/core/src/plugin/default-search-plugin/indexer/search-index.service.ts +++ b/packages/core/src/plugin/default-search-plugin/indexer/search-index.service.ts @@ -14,12 +14,14 @@ import { WorkerMessage } from '../../../worker/types'; import { WorkerService } from '../../../worker/worker.service'; import { AssignProductToChannelMessage, + AssignVariantToChannelMessage, DeleteAssetMessage, DeleteProductMessage, DeleteVariantMessage, ReindexMessage, ReindexMessageResponse, RemoveProductFromChannelMessage, + RemoveVariantFromChannelMessage, UpdateAssetMessage, UpdateIndexQueueJobData, UpdateProductMessage, @@ -40,7 +42,7 @@ export class SearchIndexService { updateIndexQueue = this.jobService.createQueue({ name: 'update-search-index', concurrency: 1, - process: (job) => { + process: job => { const data = job.data; switch (data.type) { case 'reindex': @@ -74,6 +76,12 @@ export class SearchIndexService { case 'remove-product-from-channel': this.sendMessage(job, new RemoveProductFromChannelMessage(data)); break; + case 'assign-variant-to-channel': + this.sendMessage(job, new AssignVariantToChannelMessage(data)); + break; + case 'remove-variant-from-channel': + this.sendMessage(job, new RemoveVariantFromChannelMessage(data)); + break; default: assertNever(data); } @@ -90,7 +98,7 @@ export class SearchIndexService { } updateVariants(ctx: RequestContext, variants: ProductVariant[]) { - const variantIds = variants.map((v) => v.id); + const variantIds = variants.map(v => v.id); this.addJobToQueue({ type: 'update-variants', ctx: ctx.serialize(), variantIds }); } @@ -99,7 +107,7 @@ export class SearchIndexService { } deleteVariant(ctx: RequestContext, variants: ProductVariant[]) { - const variantIds = variants.map((v) => v.id); + const variantIds = variants.map(v => v.id); this.addJobToQueue({ type: 'delete-variant', ctx: ctx.serialize(), variantIds }); } @@ -133,6 +141,24 @@ export class SearchIndexService { }); } + assignVariantToChannel(ctx: RequestContext, productVariantId: ID, channelId: ID) { + this.addJobToQueue({ + type: 'assign-variant-to-channel', + ctx: ctx.serialize(), + productVariantId, + channelId, + }); + } + + removeVariantFromChannel(ctx: RequestContext, productVariantId: ID, channelId: ID) { + this.addJobToQueue({ + type: 'remove-variant-from-channel', + ctx: ctx.serialize(), + productVariantId, + channelId, + }); + } + private addJobToQueue(data: UpdateIndexQueueJobData) { if (updateIndexQueue) { return updateIndexQueue.add(data); @@ -142,7 +168,7 @@ export class SearchIndexService { private sendMessage(job: Job, message: WorkerMessage) { this.workerService.send(message).subscribe({ complete: () => job.complete(true), - error: (err) => { + error: err => { Logger.error(err); job.fail(err); }, diff --git a/packages/core/src/plugin/default-search-plugin/types.ts b/packages/core/src/plugin/default-search-plugin/types.ts index 7993311abc..e4b9ad9412 100644 --- a/packages/core/src/plugin/default-search-plugin/types.ts +++ b/packages/core/src/plugin/default-search-plugin/types.ts @@ -40,6 +40,12 @@ export type ProductChannelMessageData = { channelId: ID; }; +export type VariantChannelMessageData = { + ctx: SerializedRequestContext; + productVariantId: ID; + channelId: ID; +}; + export class ReindexMessage extends WorkerMessage { static readonly pattern = 'Reindex'; } @@ -67,6 +73,12 @@ export class AssignProductToChannelMessage extends WorkerMessage { static readonly pattern = 'RemoveProductFromChannel'; } +export class AssignVariantToChannelMessage extends WorkerMessage { + static readonly pattern = 'AssignVariantToChannel'; +} +export class RemoveVariantFromChannelMessage extends WorkerMessage { + static readonly pattern = 'RemoveVariantFromChannel'; +} export class UpdateAssetMessage extends WorkerMessage { static readonly pattern = 'UpdateAsset'; } @@ -86,6 +98,8 @@ type UpdateAssetJobData = NamedJobData<'update-asset', UpdateAssetMessageData>; type DeleteAssetJobData = NamedJobData<'delete-asset', UpdateAssetMessageData>; type AssignProductToChannelJobData = NamedJobData<'assign-product-to-channel', ProductChannelMessageData>; type RemoveProductFromChannelJobData = NamedJobData<'remove-product-from-channel', ProductChannelMessageData>; +type AssignVariantToChannelJobData = NamedJobData<'assign-variant-to-channel', VariantChannelMessageData>; +type RemoveVariantFromChannelJobData = NamedJobData<'remove-variant-from-channel', VariantChannelMessageData>; export type UpdateIndexQueueJobData = | ReindexJobData | UpdateProductJobData @@ -96,4 +110,6 @@ export type UpdateIndexQueueJobData = | UpdateAssetJobData | DeleteAssetJobData | AssignProductToChannelJobData - | RemoveProductFromChannelJobData; + | RemoveProductFromChannelJobData + | AssignVariantToChannelJobData + | RemoveVariantFromChannelJobData; diff --git a/packages/core/src/service/services/product.service.ts b/packages/core/src/service/services/product.service.ts index 80b54f892a..3a341fb326 100644 --- a/packages/core/src/service/services/product.service.ts +++ b/packages/core/src/service/services/product.service.ts @@ -24,6 +24,7 @@ import { ProductOptionGroup } from '../../entity/product-option-group/product-op import { ProductTranslation } from '../../entity/product/product-translation.entity'; import { Product } from '../../entity/product/product.entity'; import { EventBus } from '../../event-bus/event-bus'; +import { ProductChannelEvent } from '../../event-bus/events/product-channel-event'; import { ProductEvent } from '../../event-bus/events/product-event'; import { ListQueryBuilder } from '../helpers/list-query-builder/list-query-builder'; import { SlugValidator } from '../helpers/slug-validator/slug-validator'; @@ -211,6 +212,10 @@ export class ProductService { channelId: input.channelId, priceFactor: input.priceFactor, }); + const products = await this.connection.getRepository(ctx, Product).findByIds(input.productIds); + for (const product of products) { + this.eventBus.publish(new ProductChannelEvent(ctx, product, input.channelId, 'assigned')); + } return this.findByIds( ctx, productsWithVariants.map(p => p.id), @@ -232,6 +237,10 @@ export class ProductService { ), channelId: input.channelId, }); + const products = await this.connection.getRepository(ctx, Product).findByIds(input.productIds); + for (const product of products) { + this.eventBus.publish(new ProductChannelEvent(ctx, product, input.channelId, 'removed')); + } return this.findByIds( ctx, productsWithVariants.map(p => p.id), From 83842998c115eb083f854f3e7febcdcf450e40a5 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 24 Nov 2020 12:54:53 +0100 Subject: [PATCH 5/5] refactor(elasticsearch-plugin): ElasticsearchPlugin variant channels --- packages/core/src/event-bus/index.ts | 1 + packages/core/src/job-queue/job.ts | 2 +- .../indexer/search-index.service.ts | 2 +- packages/dev-server/dev-config.ts | 7 +- .../elasticsearch-plugin/e2e/e2e-helpers.ts | 192 ++++++++++ .../e2e/elasticsearch-plugin.e2e-spec.ts | 357 ++++++++---------- .../src/elasticsearch-index.service.ts | 36 +- .../src/indexer.controller.ts | 42 ++- packages/elasticsearch-plugin/src/plugin.ts | 17 + packages/elasticsearch-plugin/src/types.ts | 19 +- 10 files changed, 455 insertions(+), 220 deletions(-) create mode 100644 packages/elasticsearch-plugin/e2e/e2e-helpers.ts diff --git a/packages/core/src/event-bus/index.ts b/packages/core/src/event-bus/index.ts index 752ee26e4b..d99440dfa8 100644 --- a/packages/core/src/event-bus/index.ts +++ b/packages/core/src/event-bus/index.ts @@ -18,5 +18,6 @@ export * from './events/payment-state-transition-event'; export * from './events/product-event'; export * from './events/product-channel-event'; export * from './events/product-variant-event'; +export * from './events/product-variant-channel-event'; export * from './events/refund-state-transition-event'; export * from './events/tax-rate-modification-event'; diff --git a/packages/core/src/job-queue/job.ts b/packages/core/src/job-queue/job.ts index 21a3dea868..5d869340df 100644 --- a/packages/core/src/job-queue/job.ts +++ b/packages/core/src/job-queue/job.ts @@ -132,7 +132,7 @@ export class Job = any> { * Sets the progress (0 - 100) of the job. */ setProgress(percent: number) { - this._progress = Math.min(percent, 100); + this._progress = Math.min(percent || 0, 100); this.fireEvent('progress'); } diff --git a/packages/core/src/plugin/default-search-plugin/indexer/search-index.service.ts b/packages/core/src/plugin/default-search-plugin/indexer/search-index.service.ts index f0870c57b7..f0be99fd99 100644 --- a/packages/core/src/plugin/default-search-plugin/indexer/search-index.service.ts +++ b/packages/core/src/plugin/default-search-plugin/indexer/search-index.service.ts @@ -186,7 +186,7 @@ export class SearchIndexService { } duration = response.duration; completed = response.completed; - const progress = Math.ceil((completed / total) * 100); + const progress = total === 0 ? 100 : Math.ceil((completed / total) * 100); job.setProgress(progress); }, complete: () => { diff --git a/packages/dev-server/dev-config.ts b/packages/dev-server/dev-config.ts index ae612a2268..afe958e21a 100644 --- a/packages/dev-server/dev-config.ts +++ b/packages/dev-server/dev-config.ts @@ -11,6 +11,7 @@ import { PermissionDefinition, VendureConfig, } from '@vendure/core'; +import { ElasticsearchPlugin } from '@vendure/elasticsearch-plugin'; import { defaultEmailHandlers, EmailPlugin } from '@vendure/email-plugin'; import path from 'path'; import { ConnectionOptions } from 'typeorm'; @@ -63,12 +64,12 @@ export const devConfig: VendureConfig = { assetUploadDir: path.join(__dirname, 'assets'), port: 5002, }), - DefaultSearchPlugin, + // DefaultSearchPlugin, DefaultJobQueuePlugin, - /*ElasticsearchPlugin.init({ + ElasticsearchPlugin.init({ host: 'http://localhost', port: 9200, - }),*/ + }), EmailPlugin.init({ devMode: true, handlers: defaultEmailHandlers, diff --git a/packages/elasticsearch-plugin/e2e/e2e-helpers.ts b/packages/elasticsearch-plugin/e2e/e2e-helpers.ts new file mode 100644 index 0000000000..d54e997502 --- /dev/null +++ b/packages/elasticsearch-plugin/e2e/e2e-helpers.ts @@ -0,0 +1,192 @@ +import { Client } from '@elastic/elasticsearch'; +import { SortOrder } from '@vendure/common/lib/generated-types'; +import { SimpleGraphQLClient } from '@vendure/testing'; + +import { SearchGetPrices, SearchInput } from '../../core/e2e/graphql/generated-e2e-admin-types'; +import { LogicalOperator, SearchProductsShop } from '../../core/e2e/graphql/generated-e2e-shop-types'; +import { SEARCH_PRODUCTS_SHOP } from '../../core/e2e/graphql/shop-definitions'; +import { deleteIndices } from '../src/indexing-utils'; + +import { SEARCH_GET_PRICES, SEARCH_PRODUCTS } from './elasticsearch-plugin.e2e-spec'; +import { SearchProductsAdmin } from './graphql/generated-e2e-elasticsearch-plugin-types'; + +// tslint:disable-next-line:no-var-requires +const { elasticsearchHost, elasticsearchPort } = require('./constants'); + +export function doAdminSearchQuery(client: SimpleGraphQLClient, input: SearchInput) { + return client.query(SEARCH_PRODUCTS, { + input, + }); +} + +export async function testGroupByProduct(client: SimpleGraphQLClient) { + const result = await client.query( + SEARCH_PRODUCTS_SHOP, + { + input: { + groupByProduct: true, + }, + }, + ); + expect(result.search.totalItems).toBe(20); +} + +export async function testNoGrouping(client: SimpleGraphQLClient) { + const result = await client.query( + SEARCH_PRODUCTS_SHOP, + { + input: { + groupByProduct: false, + }, + }, + ); + expect(result.search.totalItems).toBe(34); +} + +export async function testMatchSearchTerm(client: SimpleGraphQLClient) { + const result = await client.query( + SEARCH_PRODUCTS_SHOP, + { + input: { + term: 'camera', + groupByProduct: true, + }, + }, + ); + expect(result.search.items.map(i => i.productName)).toEqual([ + 'Instant Camera', + 'Camera Lens', + 'SLR Camera', + ]); +} + +export async function testMatchFacetIdsAnd(client: SimpleGraphQLClient) { + const result = await client.query( + SEARCH_PRODUCTS_SHOP, + { + input: { + facetValueIds: ['T_1', 'T_2'], + facetValueOperator: LogicalOperator.AND, + groupByProduct: true, + sort: { + name: SortOrder.ASC, + }, + }, + }, + ); + expect(result.search.items.map(i => i.productName)).toEqual([ + 'Clacky Keyboard', + 'Curvy Monitor', + 'Gaming PC', + 'Hard Drive', + 'Laptop', + 'USB Cable', + ]); +} + +export async function testMatchFacetIdsOr(client: SimpleGraphQLClient) { + const result = await client.query( + SEARCH_PRODUCTS_SHOP, + { + input: { + facetValueIds: ['T_1', 'T_5'], + facetValueOperator: LogicalOperator.OR, + groupByProduct: true, + sort: { + name: SortOrder.ASC, + }, + take: 20, + }, + }, + ); + expect(result.search.items.map(i => i.productName)).toEqual([ + 'Bonsai Tree', + 'Camera Lens', + 'Clacky Keyboard', + 'Curvy Monitor', + 'Gaming PC', + 'Hard Drive', + 'Instant Camera', + 'Laptop', + 'Orchid', + 'SLR Camera', + 'Spiky Cactus', + 'Tripod', + 'USB Cable', + ]); +} + +export async function testMatchCollectionId(client: SimpleGraphQLClient) { + const result = await client.query( + SEARCH_PRODUCTS_SHOP, + { + input: { + collectionId: 'T_2', + groupByProduct: true, + }, + }, + ); + expect(result.search.items.map(i => i.productName)).toEqual(['Spiky Cactus', 'Orchid', 'Bonsai Tree']); +} + +export async function testMatchCollectionSlug(client: SimpleGraphQLClient) { + const result = await client.query( + SEARCH_PRODUCTS_SHOP, + { + input: { + collectionSlug: 'plants', + groupByProduct: true, + }, + }, + ); + expect(result.search.items.map(i => i.productName)).toEqual(['Spiky Cactus', 'Orchid', 'Bonsai Tree']); +} + +export async function testSinglePrices(client: SimpleGraphQLClient) { + const result = await client.query(SEARCH_GET_PRICES, { + input: { + groupByProduct: false, + take: 3, + sort: { + price: SortOrder.ASC, + }, + }, + }); + expect(result.search.items).toEqual([ + { + price: { value: 799 }, + priceWithTax: { value: 959 }, + }, + { + price: { value: 1498 }, + priceWithTax: { value: 1798 }, + }, + { + price: { value: 1550 }, + priceWithTax: { value: 1860 }, + }, + ]); +} + +export async function testPriceRanges(client: SimpleGraphQLClient) { + const result = await client.query(SEARCH_GET_PRICES, { + input: { + groupByProduct: true, + take: 3, + term: 'laptop', + }, + }); + expect(result.search.items).toEqual([ + { + price: { min: 129900, max: 229900 }, + priceWithTax: { min: 155880, max: 275880 }, + }, + ]); +} + +export async function dropElasticIndices(indexPrefix: string) { + const esClient = new Client({ + node: `${elasticsearchHost}:${elasticsearchPort}`, + }); + return deleteIndices(esClient, indexPrefix); +} diff --git a/packages/elasticsearch-plugin/e2e/elasticsearch-plugin.e2e-spec.ts b/packages/elasticsearch-plugin/e2e/elasticsearch-plugin.e2e-spec.ts index 81496cfbb9..e4e88ee5e7 100644 --- a/packages/elasticsearch-plugin/e2e/elasticsearch-plugin.e2e-spec.ts +++ b/packages/elasticsearch-plugin/e2e/elasticsearch-plugin.e2e-spec.ts @@ -18,6 +18,7 @@ import { initialData } from '../../../e2e-common/e2e-initial-data'; import { testConfig, TEST_SETUP_TIMEOUT_MS } from '../../../e2e-common/test-config'; import { AssignProductsToChannel, + AssignProductVariantsToChannel, ChannelFragment, CreateChannel, CreateCollection, @@ -28,6 +29,7 @@ import { DeleteProductVariant, LanguageCode, RemoveProductsFromChannel, + RemoveProductVariantsFromChannel, SearchFacetValues, SearchGetPrices, SearchInput, @@ -39,6 +41,7 @@ import { } from '../../core/e2e/graphql/generated-e2e-admin-types'; import { LogicalOperator, SearchProductsShop } from '../../core/e2e/graphql/generated-e2e-shop-types'; import { + ASSIGN_PRODUCTVARIANT_TO_CHANNEL, ASSIGN_PRODUCT_TO_CHANNEL, CREATE_CHANNEL, CREATE_COLLECTION, @@ -46,6 +49,7 @@ import { DELETE_ASSET, DELETE_PRODUCT, DELETE_PRODUCT_VARIANT, + REMOVE_PRODUCTVARIANT_FROM_CHANNEL, REMOVE_PRODUCT_FROM_CHANNEL, UPDATE_ASSET, UPDATE_COLLECTION, @@ -58,8 +62,19 @@ import { awaitRunningJobs } from '../../core/e2e/utils/await-running-jobs'; import { loggerCtx } from '../src/constants'; import { ElasticsearchPlugin } from '../src/plugin'; -// tslint:disable-next-line:no-var-requires -const { elasticsearchHost, elasticsearchPort } = require('./constants'); +import { + doAdminSearchQuery, + dropElasticIndices, + testGroupByProduct, + testMatchCollectionId, + testMatchCollectionSlug, + testMatchFacetIdsAnd, + testMatchFacetIdsOr, + testMatchSearchTerm, + testNoGrouping, + testPriceRanges, + testSinglePrices, +} from './e2e-helpers'; import { GetJobInfo, JobState, @@ -67,6 +82,9 @@ import { SearchProductsAdmin, } from './graphql/generated-e2e-elasticsearch-plugin-types'; +// tslint:disable-next-line:no-var-requires +const { elasticsearchHost, elasticsearchPort } = require('./constants'); + /** * The Elasticsearch tests sometimes take a long time in CI due to limited resources. * We increase the timeout to 30 seconds to prevent failure due to timeouts. @@ -75,6 +93,8 @@ if (process.env.CI) { jest.setTimeout(10 * 3000); } +const INDEX_PREFIX = 'e2e-tests'; + describe('Elasticsearch plugin', () => { const { server, adminClient, shopClient } = createTestEnvironment( mergeConfig(testConfig, { @@ -89,7 +109,7 @@ describe('Elasticsearch plugin', () => { logger: new DefaultLogger({ level: LogLevel.Info }), plugins: [ ElasticsearchPlugin.init({ - indexPrefix: 'e2e-tests', + indexPrefix: INDEX_PREFIX, port: elasticsearchPort, host: elasticsearchHost, }), @@ -99,6 +119,7 @@ describe('Elasticsearch plugin', () => { ); beforeAll(async () => { + await dropElasticIndices(INDEX_PREFIX); await server.init({ initialData, productsCsvPath: path.join(__dirname, 'fixtures/e2e-products-full.csv'), @@ -113,191 +134,6 @@ describe('Elasticsearch plugin', () => { await server.destroy(); }); - function doAdminSearchQuery(input: SearchInput) { - return adminClient.query(SEARCH_PRODUCTS, { - input, - }); - } - - async function testGroupByProduct(client: SimpleGraphQLClient) { - const result = await client.query( - SEARCH_PRODUCTS_SHOP, - { - input: { - groupByProduct: true, - }, - }, - ); - expect(result.search.totalItems).toBe(20); - } - - async function testNoGrouping(client: SimpleGraphQLClient) { - const result = await client.query( - SEARCH_PRODUCTS_SHOP, - { - input: { - groupByProduct: false, - }, - }, - ); - expect(result.search.totalItems).toBe(34); - } - - async function testMatchSearchTerm(client: SimpleGraphQLClient) { - const result = await client.query( - SEARCH_PRODUCTS_SHOP, - { - input: { - term: 'camera', - groupByProduct: true, - }, - }, - ); - expect(result.search.items.map(i => i.productName)).toEqual([ - 'Instant Camera', - 'Camera Lens', - 'SLR Camera', - ]); - } - - async function testMatchFacetIdsAnd(client: SimpleGraphQLClient) { - const result = await client.query( - SEARCH_PRODUCTS_SHOP, - { - input: { - facetValueIds: ['T_1', 'T_2'], - facetValueOperator: LogicalOperator.AND, - groupByProduct: true, - sort: { - name: SortOrder.ASC, - }, - }, - }, - ); - expect(result.search.items.map(i => i.productName)).toEqual([ - 'Clacky Keyboard', - 'Curvy Monitor', - 'Gaming PC', - 'Hard Drive', - 'Laptop', - 'USB Cable', - ]); - } - - async function testMatchFacetIdsOr(client: SimpleGraphQLClient) { - const result = await client.query( - SEARCH_PRODUCTS_SHOP, - { - input: { - facetValueIds: ['T_1', 'T_5'], - facetValueOperator: LogicalOperator.OR, - groupByProduct: true, - sort: { - name: SortOrder.ASC, - }, - take: 20, - }, - }, - ); - expect(result.search.items.map(i => i.productName)).toEqual([ - 'Bonsai Tree', - 'Camera Lens', - 'Clacky Keyboard', - 'Curvy Monitor', - 'Gaming PC', - 'Hard Drive', - 'Instant Camera', - 'Laptop', - 'Orchid', - 'SLR Camera', - 'Spiky Cactus', - 'Tripod', - 'USB Cable', - ]); - } - - async function testMatchCollectionId(client: SimpleGraphQLClient) { - const result = await client.query( - SEARCH_PRODUCTS_SHOP, - { - input: { - collectionId: 'T_2', - groupByProduct: true, - }, - }, - ); - expect(result.search.items.map(i => i.productName)).toEqual([ - 'Spiky Cactus', - 'Orchid', - 'Bonsai Tree', - ]); - } - - async function testMatchCollectionSlug(client: SimpleGraphQLClient) { - const result = await client.query( - SEARCH_PRODUCTS_SHOP, - { - input: { - collectionSlug: 'plants', - groupByProduct: true, - }, - }, - ); - expect(result.search.items.map(i => i.productName)).toEqual([ - 'Spiky Cactus', - 'Orchid', - 'Bonsai Tree', - ]); - } - - async function testSinglePrices(client: SimpleGraphQLClient) { - const result = await client.query( - SEARCH_GET_PRICES, - { - input: { - groupByProduct: false, - take: 3, - sort: { - price: SortOrder.ASC, - }, - }, - }, - ); - expect(result.search.items).toEqual([ - { - price: { value: 799 }, - priceWithTax: { value: 959 }, - }, - { - price: { value: 1498 }, - priceWithTax: { value: 1798 }, - }, - { - price: { value: 1550 }, - priceWithTax: { value: 1860 }, - }, - ]); - } - - async function testPriceRanges(client: SimpleGraphQLClient) { - const result = await client.query( - SEARCH_GET_PRICES, - { - input: { - groupByProduct: true, - take: 3, - term: 'laptop', - }, - }, - ); - expect(result.search.items).toEqual([ - { - price: { min: 129900, max: 229900 }, - priceWithTax: { min: 155880, max: 275880 }, - }, - ]); - } - describe('shop api', () => { it('group by product', () => testGroupByProduct(shopClient)); @@ -474,7 +310,10 @@ describe('Elasticsearch plugin', () => { describe('updating the index', () => { it('updates index when ProductVariants are changed', async () => { await awaitRunningJobs(adminClient); - const { search } = await doAdminSearchQuery({ term: 'drive', groupByProduct: false }); + const { search } = await doAdminSearchQuery(adminClient, { + term: 'drive', + groupByProduct: false, + }); expect(search.items.map(i => i.sku)).toEqual([ 'IHD455T1', 'IHD455T2', @@ -494,7 +333,7 @@ describe('Elasticsearch plugin', () => { ); await awaitRunningJobs(adminClient); - const { search: search2 } = await doAdminSearchQuery({ + const { search: search2 } = await doAdminSearchQuery(adminClient, { term: 'drive', groupByProduct: false, }); @@ -510,7 +349,10 @@ describe('Elasticsearch plugin', () => { it('updates index when ProductVariants are deleted', async () => { await awaitRunningJobs(adminClient); - const { search } = await doAdminSearchQuery({ term: 'drive', groupByProduct: false }); + const { search } = await doAdminSearchQuery(adminClient, { + term: 'drive', + groupByProduct: false, + }); await adminClient.query( DELETE_PRODUCT_VARIANT, @@ -520,7 +362,7 @@ describe('Elasticsearch plugin', () => { ); await awaitRunningJobs(adminClient); - const { search: search2 } = await doAdminSearchQuery({ + const { search: search2 } = await doAdminSearchQuery(adminClient, { term: 'drive', groupByProduct: false, }); @@ -541,7 +383,10 @@ describe('Elasticsearch plugin', () => { }, }); await awaitRunningJobs(adminClient); - const result = await doAdminSearchQuery({ facetValueIds: ['T_2'], groupByProduct: true }); + const result = await doAdminSearchQuery(adminClient, { + facetValueIds: ['T_2'], + groupByProduct: true, + }); expect(result.search.items.map(i => i.productName).sort()).toEqual([ 'Clacky Keyboard', 'Curvy Monitor', @@ -552,7 +397,10 @@ describe('Elasticsearch plugin', () => { }); it('updates index when a Product is deleted', async () => { - const { search } = await doAdminSearchQuery({ facetValueIds: ['T_2'], groupByProduct: true }); + const { search } = await doAdminSearchQuery(adminClient, { + facetValueIds: ['T_2'], + groupByProduct: true, + }); expect(search.items.map(i => i.productId).sort()).toEqual([ 'T_2', 'T_3', @@ -564,7 +412,7 @@ describe('Elasticsearch plugin', () => { id: 'T_5', }); await awaitRunningJobs(adminClient); - const { search: search2 } = await doAdminSearchQuery({ + const { search: search2 } = await doAdminSearchQuery(adminClient, { facetValueIds: ['T_2'], groupByProduct: true, }); @@ -598,7 +446,10 @@ describe('Elasticsearch plugin', () => { await awaitRunningJobs(adminClient); // add an additional check for the collection filters to update await awaitRunningJobs(adminClient); - const result1 = await doAdminSearchQuery({ collectionId: 'T_2', groupByProduct: true }); + const result1 = await doAdminSearchQuery(adminClient, { + collectionId: 'T_2', + groupByProduct: true, + }); expect(result1.search.items.map(i => i.productName)).toEqual([ 'Road Bike', @@ -610,7 +461,10 @@ describe('Elasticsearch plugin', () => { 'Running Shoe', ]); - const result2 = await doAdminSearchQuery({ collectionSlug: 'plants', groupByProduct: true }); + const result2 = await doAdminSearchQuery(adminClient, { + collectionSlug: 'plants', + groupByProduct: true, + }); expect(result2.search.items.map(i => i.productName)).toEqual([ 'Road Bike', @@ -657,7 +511,7 @@ describe('Elasticsearch plugin', () => { await awaitRunningJobs(adminClient); // add an additional check for the collection filters to update await awaitRunningJobs(adminClient); - const result = await doAdminSearchQuery({ + const result = await doAdminSearchQuery(adminClient, { collectionId: createCollection.id, groupByProduct: true, }); @@ -698,7 +552,7 @@ describe('Elasticsearch plugin', () => { describe('asset changes', () => { function searchForLaptop() { - return doAdminSearchQuery({ + return doAdminSearchQuery(adminClient, { term: 'laptop', groupByProduct: true, take: 1, @@ -752,7 +606,7 @@ describe('Elasticsearch plugin', () => { }); it('does not include deleted ProductVariants in index', async () => { - const { search: s1 } = await doAdminSearchQuery({ + const { search: s1 } = await doAdminSearchQuery(adminClient, { term: 'hard drive', groupByProduct: false, }); @@ -777,7 +631,10 @@ describe('Elasticsearch plugin', () => { }); it('returns disabled field when not grouped', async () => { - const result = await doAdminSearchQuery({ groupByProduct: false, term: 'laptop' }); + const result = await doAdminSearchQuery(adminClient, { + groupByProduct: false, + term: 'laptop', + }); expect(result.search.items.map(pick(['productVariantId', 'enabled']))).toEqual([ { productVariantId: 'T_1', enabled: true }, { productVariantId: 'T_2', enabled: true }, @@ -797,7 +654,10 @@ describe('Elasticsearch plugin', () => { }, ); await awaitRunningJobs(adminClient); - const result = await doAdminSearchQuery({ groupByProduct: true, term: 'laptop' }); + const result = await doAdminSearchQuery(adminClient, { + groupByProduct: true, + term: 'laptop', + }); expect(result.search.items.map(pick(['productId', 'enabled']))).toEqual([ { productId: 'T_1', enabled: true }, ]); @@ -811,7 +671,11 @@ describe('Elasticsearch plugin', () => { }, ); await awaitRunningJobs(adminClient); - const result = await doAdminSearchQuery({ groupByProduct: true, take: 3, term: 'laptop' }); + const result = await doAdminSearchQuery(adminClient, { + groupByProduct: true, + take: 3, + term: 'laptop', + }); expect(result.search.items.map(pick(['productId', 'enabled']))).toEqual([ { productId: 'T_1', enabled: false }, ]); @@ -825,7 +689,10 @@ describe('Elasticsearch plugin', () => { }, }); await awaitRunningJobs(adminClient); - const result = await doAdminSearchQuery({ groupByProduct: true, term: 'gaming' }); + const result = await doAdminSearchQuery(adminClient, { + groupByProduct: true, + term: 'gaming', + }); expect(result.search.items.map(pick(['productId', 'enabled']))).toEqual([ { productId: 'T_3', enabled: false }, ]); @@ -836,7 +703,7 @@ describe('Elasticsearch plugin', () => { await adminClient.query(REINDEX); await awaitRunningJobs(adminClient); - const result = await doAdminSearchQuery({ groupByProduct: true, take: 3 }); + const result = await doAdminSearchQuery(adminClient, { groupByProduct: true, take: 3 }); expect(result.search.items.map(pick(['productId', 'enabled']))).toEqual([ { productId: 'T_1', enabled: false }, { productId: 'T_2', enabled: true }, @@ -865,6 +732,21 @@ describe('Elasticsearch plugin', () => { }, }); secondChannel = createChannel as ChannelFragment; + + adminClient.setChannelToken(SECOND_CHANNEL_TOKEN); + await adminClient.query(REINDEX); + await awaitRunningJobs(adminClient); + }); + + it('new channel is initially empty', async () => { + const { search: searchGrouped } = await doAdminSearchQuery(adminClient, { + groupByProduct: true, + }); + const { search: searchUngrouped } = await doAdminSearchQuery(adminClient, { + groupByProduct: false, + }); + expect(searchGrouped.totalItems).toEqual(0); + expect(searchUngrouped.totalItems).toEqual(0); }); it('adding product to channel', async () => { @@ -878,7 +760,7 @@ describe('Elasticsearch plugin', () => { await awaitRunningJobs(adminClient); adminClient.setChannelToken(SECOND_CHANNEL_TOKEN); - const { search } = await doAdminSearchQuery({ groupByProduct: true }); + const { search } = await doAdminSearchQuery(adminClient, { groupByProduct: true }); expect(search.items.map(i => i.productId).sort()).toEqual(['T_1', 'T_2']); }); @@ -896,7 +778,7 @@ describe('Elasticsearch plugin', () => { await awaitRunningJobs(adminClient); adminClient.setChannelToken(SECOND_CHANNEL_TOKEN); - const { search } = await doAdminSearchQuery({ groupByProduct: true }); + const { search } = await doAdminSearchQuery(adminClient, { groupByProduct: true }); expect(search.items.map(i => i.productId)).toEqual(['T_1']); }); @@ -912,9 +794,67 @@ describe('Elasticsearch plugin', () => { ); expect(job!.state).toBe(JobState.COMPLETED); - const { search } = await doAdminSearchQuery({ groupByProduct: true }); + const { search } = await doAdminSearchQuery(adminClient, { groupByProduct: true }); expect(search.items.map(i => i.productId).sort()).toEqual(['T_1']); }); + + it('adding product variant to channel', async () => { + adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + await adminClient.query< + AssignProductVariantsToChannel.Mutation, + AssignProductVariantsToChannel.Variables + >(ASSIGN_PRODUCTVARIANT_TO_CHANNEL, { + input: { channelId: secondChannel.id, productVariantIds: ['T_10', 'T_15'] }, + }); + await awaitRunningJobs(adminClient); + + adminClient.setChannelToken(SECOND_CHANNEL_TOKEN); + + const { search: searchGrouped } = await doAdminSearchQuery(adminClient, { + groupByProduct: true, + }); + expect(searchGrouped.items.map(i => i.productId).sort()).toEqual(['T_1', 'T_3', 'T_4']); + + const { search: searchUngrouped } = await doAdminSearchQuery(adminClient, { + groupByProduct: false, + }); + expect(searchUngrouped.items.map(i => i.productVariantId).sort()).toEqual([ + 'T_1', + 'T_10', + 'T_15', + 'T_2', + 'T_3', + 'T_4', + ]); + }); + + it('removing product variant from channel', async () => { + adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); + await adminClient.query< + RemoveProductVariantsFromChannel.Mutation, + RemoveProductVariantsFromChannel.Variables + >(REMOVE_PRODUCTVARIANT_FROM_CHANNEL, { + input: { channelId: secondChannel.id, productVariantIds: ['T_1', 'T_15'] }, + }); + await awaitRunningJobs(adminClient); + + adminClient.setChannelToken(SECOND_CHANNEL_TOKEN); + + const { search: searchGrouped } = await doAdminSearchQuery(adminClient, { + groupByProduct: true, + }); + expect(searchGrouped.items.map(i => i.productId).sort()).toEqual(['T_1', 'T_3']); + + const { search: searchUngrouped } = await doAdminSearchQuery(adminClient, { + groupByProduct: false, + }); + expect(searchUngrouped.items.map(i => i.productVariantId).sort()).toEqual([ + 'T_10', + 'T_2', + 'T_3', + 'T_4', + ]); + }); }); describe('multiple language handling', () => { @@ -935,6 +875,7 @@ describe('Elasticsearch plugin', () => { } beforeAll(async () => { + adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN); const { updateProduct } = await adminClient.query< UpdateProduct.Mutation, UpdateProduct.Variables diff --git a/packages/elasticsearch-plugin/src/elasticsearch-index.service.ts b/packages/elasticsearch-plugin/src/elasticsearch-index.service.ts index a476e9b1b5..3c7fd1379c 100644 --- a/packages/elasticsearch-plugin/src/elasticsearch-index.service.ts +++ b/packages/elasticsearch-plugin/src/elasticsearch-index.service.ts @@ -17,11 +17,13 @@ import { import { ReindexMessageResponse } from './indexer.controller'; import { AssignProductToChannelMessage, + AssignVariantToChannelMessage, DeleteAssetMessage, DeleteProductMessage, DeleteVariantMessage, ReindexMessage, RemoveProductFromChannelMessage, + RemoveVariantFromChannelMessage, UpdateAssetMessage, UpdateIndexQueueJobData, UpdateProductMessage, @@ -39,7 +41,7 @@ export class ElasticsearchIndexService { updateIndexQueue = this.jobService.createQueue({ name: 'update-search-index', concurrency: 1, - process: (job) => { + process: job => { const data = job.data; switch (data.type) { case 'reindex': @@ -73,6 +75,12 @@ export class ElasticsearchIndexService { case 'remove-product-from-channel': this.sendMessage(job, new RemoveProductFromChannelMessage(data)); break; + case 'assign-variant-to-channel': + this.sendMessage(job, new AssignVariantToChannelMessage(data)); + break; + case 'remove-variant-from-channel': + this.sendMessage(job, new RemoveVariantFromChannelMessage(data)); + break; default: assertNever(data); } @@ -89,7 +97,7 @@ export class ElasticsearchIndexService { } updateVariants(ctx: RequestContext, variants: ProductVariant[]) { - const variantIds = variants.map((v) => v.id); + const variantIds = variants.map(v => v.id); this.addJobToQueue({ type: 'update-variants', ctx: ctx.serialize(), variantIds }); } @@ -98,7 +106,7 @@ export class ElasticsearchIndexService { } deleteVariant(ctx: RequestContext, variants: ProductVariant[]) { - const variantIds = variants.map((v) => v.id); + const variantIds = variants.map(v => v.id); this.addJobToQueue({ type: 'delete-variant', ctx: ctx.serialize(), variantIds }); } @@ -120,6 +128,24 @@ export class ElasticsearchIndexService { }); } + assignVariantToChannel(ctx: RequestContext, productVariantId: ID, channelId: ID) { + this.addJobToQueue({ + type: 'assign-variant-to-channel', + ctx: ctx.serialize(), + productVariantId, + channelId, + }); + } + + removeVariantFromChannel(ctx: RequestContext, productVariantId: ID, channelId: ID) { + this.addJobToQueue({ + type: 'remove-variant-from-channel', + ctx: ctx.serialize(), + productVariantId, + channelId, + }); + } + updateVariantsById(ctx: RequestContext, ids: ID[]) { this.addJobToQueue({ type: 'update-variants-by-id', ctx: ctx.serialize(), ids }); } @@ -141,7 +167,7 @@ export class ElasticsearchIndexService { private sendMessage(job: Job, message: WorkerMessage) { this.workerService.send(message).subscribe({ complete: () => job.complete(true), - error: (err) => { + error: err => { Logger.error(err); job.fail(err); }, @@ -159,7 +185,7 @@ export class ElasticsearchIndexService { } duration = response.duration; completed = response.completed; - const progress = Math.ceil((completed / total) * 100); + const progress = total === 0 ? 100 : Math.ceil((completed / total) * 100); job.setProgress(progress); }, complete: () => { diff --git a/packages/elasticsearch-plugin/src/indexer.controller.ts b/packages/elasticsearch-plugin/src/indexer.controller.ts index 0ea65cec5b..879937c1f7 100644 --- a/packages/elasticsearch-plugin/src/indexer.controller.ts +++ b/packages/elasticsearch-plugin/src/indexer.controller.ts @@ -9,6 +9,7 @@ import { ConfigService, FacetValue, ID, + idsAreEqual, LanguageCode, Logger, Product, @@ -29,6 +30,7 @@ import { createIndices, deleteByChannel, deleteIndices } from './indexing-utils' import { ElasticsearchOptions } from './options'; import { AssignProductToChannelMessage, + AssignVariantToChannelMessage, BulkOperation, BulkOperationDoc, BulkResponseBody, @@ -38,6 +40,7 @@ import { ProductIndexItem, ReindexMessage, RemoveProductFromChannelMessage, + RemoveVariantFromChannelMessage, UpdateAssetMessage, UpdateProductMessage, UpdateVariantMessage, @@ -56,6 +59,7 @@ export const variantRelations = [ 'facetValues.facet', 'collections', 'taxCategory', + 'channels', ]; export interface ReindexMessageResponse { @@ -167,6 +171,42 @@ export class ElasticsearchIndexerController implements OnModuleInit, OnModuleDes }); } + @MessagePattern(AssignVariantToChannelMessage.pattern) + assignVariantToChannel({ + ctx: rawContext, + productVariantId, + channelId, + }: AssignVariantToChannelMessage['data']): Observable { + const ctx = RequestContext.deserialize(rawContext); + return asyncObservable(async () => { + await this.updateVariantsInternal(ctx, [productVariantId], channelId); + return true; + }); + } + + @MessagePattern(RemoveVariantFromChannelMessage.pattern) + removeVariantFromChannel({ + ctx: rawContext, + productVariantId, + channelId, + }: AssignVariantToChannelMessage['data']): Observable { + const ctx = RequestContext.deserialize(rawContext); + return asyncObservable(async () => { + const productVariant = await this.connection.getEntityOrThrow( + ctx, + ProductVariant, + productVariantId, + { relations: ['product', 'product.channels'] }, + ); + await this.deleteVariantsInternal([productVariant], channelId); + + if (!productVariant.product.channels.find(c => idsAreEqual(c.id, channelId))) { + await this.deleteProductInternal(productVariant.product, channelId); + } + return true; + }); + } + /** * Updates the search index only for the affected entities. */ @@ -724,7 +764,7 @@ export class ElasticsearchIndexerController implements OnModuleInit, OnModuleDes currencyCode: v.currencyCode, description: productTranslation.description, facetIds: this.getFacetIds([v]), - channelIds: v.product.channels.map(c => c.id), + channelIds: v.channels.map(c => c.id), facetValueIds: this.getFacetValueIds([v]), collectionIds: v.collections.map(c => c.id.toString()), collectionSlugs: v.collections.map(c => c.slug), diff --git a/packages/elasticsearch-plugin/src/plugin.ts b/packages/elasticsearch-plugin/src/plugin.ts index 0230c52bba..2fa95cf882 100644 --- a/packages/elasticsearch-plugin/src/plugin.ts +++ b/packages/elasticsearch-plugin/src/plugin.ts @@ -11,6 +11,7 @@ import { PluginCommonModule, ProductChannelEvent, ProductEvent, + ProductVariantChannelEvent, ProductVariantEvent, TaxRateModificationEvent, Type, @@ -295,6 +296,22 @@ export class ElasticsearchPlugin implements OnVendureBootstrap { } }); + this.eventBus.ofType(ProductVariantChannelEvent).subscribe(event => { + if (event.type === 'assigned') { + return this.elasticsearchIndexService.assignVariantToChannel( + event.ctx, + event.productVariant.id, + event.channelId, + ); + } else { + return this.elasticsearchIndexService.removeVariantFromChannel( + event.ctx, + event.productVariant.id, + event.channelId, + ); + } + }); + const collectionModification$ = this.eventBus.ofType(CollectionModificationEvent); const closingNotifier$ = collectionModification$.pipe(debounceTime(50)); collectionModification$ diff --git a/packages/elasticsearch-plugin/src/types.ts b/packages/elasticsearch-plugin/src/types.ts index f7fc986d64..6643a88882 100644 --- a/packages/elasticsearch-plugin/src/types.ts +++ b/packages/elasticsearch-plugin/src/types.ts @@ -178,6 +178,13 @@ export interface ProductChannelMessageData { productId: ID; channelId: ID; } + +export type VariantChannelMessageData = { + ctx: SerializedRequestContext; + productVariantId: ID; + channelId: ID; +}; + export interface UpdateAssetMessageData { ctx: SerializedRequestContext; asset: JsonCompatible>; @@ -210,6 +217,12 @@ export class AssignProductToChannelMessage extends WorkerMessage { static readonly pattern = 'RemoveProductFromChannel'; } +export class AssignVariantToChannelMessage extends WorkerMessage { + static readonly pattern = 'AssignVariantToChannel'; +} +export class RemoveVariantFromChannelMessage extends WorkerMessage { + static readonly pattern = 'RemoveVariantFromChannel'; +} export class UpdateAssetMessage extends WorkerMessage { static readonly pattern = 'UpdateAsset'; } @@ -235,6 +248,8 @@ type UpdateAssetJobData = NamedJobData<'update-asset', UpdateAssetMessageData>; type DeleteAssetJobData = NamedJobData<'delete-asset', UpdateAssetMessageData>; type AssignProductToChannelJobData = NamedJobData<'assign-product-to-channel', ProductChannelMessageData>; type RemoveProductFromChannelJobData = NamedJobData<'remove-product-from-channel', ProductChannelMessageData>; +type AssignVariantToChannelJobData = NamedJobData<'assign-variant-to-channel', VariantChannelMessageData>; +type RemoveVariantFromChannelJobData = NamedJobData<'remove-variant-from-channel', VariantChannelMessageData>; export type UpdateIndexQueueJobData = | ReindexJobData | UpdateProductJobData @@ -245,7 +260,9 @@ export type UpdateIndexQueueJobData = | UpdateAssetJobData | DeleteAssetJobData | AssignProductToChannelJobData - | RemoveProductFromChannelJobData; + | RemoveProductFromChannelJobData + | AssignVariantToChannelJobData + | RemoveVariantFromChannelJobData; type CustomStringMapping = CustomMappingDefinition; type CustomStringMappingNullable = CustomMappingDefinition>;